public class PDReport extends PDDocs
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
fDOCSPAGE |
static java.lang.String |
fPAGESDOC |
static java.lang.String |
REPTABNAME |
fACL, fDOCDATE, fDOCTYPE, fLOCKEDBY, fMIMETYPE, fNAME, fPARENTID, fPDID, fPURGEDATE, fREPOSIT, fSTATUS, fSTATUS_DEL, fSTATUS_LASTDEL, fTITLE, fVERSION, XML_CONTENT
AllowedChars, fPDAUTOR, fPDDATE, SYN_ADD, SYN_DEL, SYN_PARENT, SYN_SEP, SYN_THES, XML_Attr, XML_Field, XML_Group, XML_GroupMembers, XML_ListAttr, XML_Metadata, XML_OPDList, XML_OPDObject, XML_User, XML_UserMembers
Constructor and Description |
---|
PDReport(DriverGeneric pDrv)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<java.lang.String> |
GenerateRep(java.lang.String pIdParent,
Cursor pListDocs,
java.util.Vector pVectRec,
int pRecsPag,
int pPagsDoc,
java.lang.String OSFolder)
generates a report with the current PDId
|
java.util.ArrayList<java.lang.String> |
GenerateRep(java.lang.String pIdParent,
Cursor pCurElems,
java.util.Vector pVectRec,
int pRecsPag,
int pPagsDoc,
java.lang.String OSFolder,
int MaxResults)
generates a report with the current PDId
|
java.lang.StringBuilder |
GenerateRepString(java.lang.String pIdParent,
Cursor pListDocs,
java.util.Vector pVectRec)
Generates a list of report generated
|
int |
getDocsPerPage()
Returns number of docs per page
|
Cursor |
GetListReports()
Return a Cursor of visible Reports
|
int |
getPagesPerFile()
Returns the number of pages per files
|
static java.lang.String |
getTableName()
return the name of the table used to store the metadata for this object
static equivalent method
|
void |
Install()
Creates the table needed for the class
|
assignValues, CancelCheckout, ChangeACL, Checkin, Checkout, ConvertJavaDoc, delete, ExportXML, GenerateId, getACL, getAll, getDocDate, getDocType, getFile, getFileOpt, getFileVer, getFileVerOpt, GetIdChild, getListContainedDocs, getLockedBy, getMimeType, getName, getParentId, getPDId, getPurgeDate, getRecord, getRecordStruct, getRecordStructPDDocs, getRecordStructVer, getRecSum, getReposit, getStatus, getStream, getStreamB64, getStreamDel, getStreamVer, getStreamVerB64, getTabName, getTabNameVer, getTitle, getUrl, getUrlVer, getVersion, ImportXMLNode, ImportXMLNode, insert, IsUrl, ListDeleted, ListDeletedBefore, ListVersions, Load, LoadCurrent, LoadDeleted, LoadFull, LoadVersion, Move, NextDoc, ProcessXMLAbby, ProcessXMLKofax, ProcesXMLNode, Purge, Search, Search, SearchV, setACL, setDocDate, setDocType, setFile, setLockedBy, setMimeType, setName, setParentId, setPDId, setPurgeDate, setReposit, setStatus, setStream, setTitle, toHtml, toXML, UnDelete, update
CheckName, Clear, EndXML, getDrv, getPDAutor, getPDDate, SearchLike, SearchLikeDesc, SearchQBE, SearchSelect, SearchSelectV, setDrv, StartXML, String2BD, toXML, unInstall
public static final java.lang.String REPTABNAME
public static final java.lang.String fDOCSPAGE
public static final java.lang.String fPAGESDOC
public PDReport(DriverGeneric pDrv) throws PDException
pDrv
- Generic sesion to be usedPDException
- in any errorpublic java.util.ArrayList<java.lang.String> GenerateRep(java.lang.String pIdParent, Cursor pListDocs, java.util.Vector pVectRec, int pRecsPag, int pPagsDoc, java.lang.String OSFolder) throws PDException
pIdParent
- Parent of the "cursor". Can be nullpListDocs
- Cursor with the list of docs (Alternative to pVectRec)pVectRec
- Vectos of Record with list of documents (Alternative to pListDocs)pRecsPag
- Number oc record by pagepPagsDoc
- Number of pages by ArchiveOSFolder
- Folder for saving reportsPDException
- in any errorpublic java.util.ArrayList<java.lang.String> GenerateRep(java.lang.String pIdParent, Cursor pCurElems, java.util.Vector pVectRec, int pRecsPag, int pPagsDoc, java.lang.String OSFolder, int MaxResults) throws PDException
pIdParent
- Parent of the "cursor". Can be nullpCurElems
- Cursor with the list of docs (Alternative to pVectRec)pVectRec
- Vectos of Record with list of documents (Alternative to pCurElems)pRecsPag
- Number oc record by pagepPagsDoc
- Number of pages by ArchiveOSFolder
- Folder for saving reportsMaxResults
- Más number of results to obtainPDException
- in any errorpublic static java.lang.String getTableName()
public Cursor GetListReports() throws PDException
PDException
- in any errorpublic int getDocsPerPage() throws PDException
PDException
- in any errorpublic int getPagesPerFile() throws PDException
PDException
- in any errorpublic void Install() throws PDException
Install
in class ObjPD
PDException
- in any errorpublic java.lang.StringBuilder GenerateRepString(java.lang.String pIdParent, Cursor pListDocs, java.util.Vector pVectRec) throws PDException
pIdParent
- Id of FolderpListDocs
- Cursor with docs (alternative)pVectRec
- Vector with record of docs (alternative)PDException
- in any error