public class PDTasksExec extends PDTasksDef
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
fNEXTDATE |
static java.lang.String |
fPDID |
fACTIVE, fCATEGORY, fDESCRIPTION, fFILTER, fMODETIM, fNAME, fOBJTYPE, fPARAM, fPARAM2, fPARAM3, fPARAM4, fTASK_CUSTOMDOC, fTASK_CUSTOMFOLD, fTASK_DELETE_OLD_DOC, fTASK_DELETE_OLD_FOLD, fTASK_DOCSREPORT, fTASK_EXPORT, fTASK_FOLDSREPORT, fTASK_IMPORT, fTASK_LOCALSYNC, fTASK_MAXCRON, fTASK_PURGEDOC, fTRANSACT, fTYPE
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 |
---|
PDTasksExec(DriverGeneric Drv)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
assignValues(Record Rec)
Assign new values to the TaskExec object
|
void |
Execute()
Executes the task defined in current object
Beware that can be VERY DANGEROUS and DELETE THOUsands OF oBJECTS
|
Cursor |
GenCur()
Generates a Cursor with the set of elements defined in configuration
|
java.lang.String |
GenerateId()
Generates an unique identifier
|
java.util.Date |
getNextDate() |
java.lang.String |
getPDId() |
Record |
getRecord()
Returns a record with the current values
|
static java.lang.String |
getTableName()
Static method that returns the name of TaskExec table in DDBB
|
java.lang.String |
getTabName()
Returns the name of TaskExec table in DDBB
|
void |
setNextDate(java.util.Date NextDate) |
void |
setPDId(java.lang.String PDId) |
getCategory, getDescription, getListAllTypeTask, getListTypeTask, getName, getObjFilter, getObjType, getParam, getParam2, getParam3, getParam4, getTaskUser, getType, isActive, isTransact, Search, setActive, setCategory, setDescription, setName, setObjFilter, setObjType, setParam, setParam2, setParam3, setParam4, setTaskUser, setTransact, setType, StartTaskGenerator, StopTaskGenerator
CheckName, Clear, delete, EndXML, getAll, getDrv, getPDAutor, getPDDate, insert, Install, Load, ProcesXMLNode, SearchLike, SearchLikeDesc, SearchQBE, SearchSelect, SearchSelectV, setDrv, StartXML, String2BD, toXML, unInstall, update
public static final java.lang.String fPDID
public static final java.lang.String fNEXTDATE
public PDTasksExec(DriverGeneric Drv) throws PDException
Drv
- OpenProdoc driver-session for access to DDBBPDException
- in any errorpublic void assignValues(Record Rec) throws PDException
assignValues
in class PDTasksDef
Rec
- Record of TaskExec type with new valuesPDException
- in any errorpublic Record getRecord() throws PDException
getRecord
in class PDTasksDef
PDException
- in any errorpublic java.lang.String getTabName()
getTabName
in class ObjPD
public static java.lang.String getTableName()
public java.lang.String getPDId()
public void setPDId(java.lang.String PDId)
PDId
- the PDId to setpublic java.lang.String GenerateId()
public void Execute() throws PDException
PDException
- in any errorpublic Cursor GenCur() throws PDException
PDException
- In any errorpublic java.util.Date getNextDate()
public void setNextDate(java.util.Date NextDate)
NextDate
- the NextDate to set