|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Method Summary | |
long |
addObjectFormChildData(long plChildFormDefinitionKey,
long plObjectInstanceKey,
java.util.Map phAttributeList)
Adds object data to the child form that is associated with an instance of an object in the system. |
long |
addObjectFormChildData(long plChildFormDefinitionKey,
long plObjectInstanceKey,
java.util.Map phAttributeList,
boolean startProvisioning)
Adds object data to the child form that is associated with an instance of an object in the system. |
long |
addProcessFormChildData(long plChildFormDefinitionKey,
long plProcessInstanceKey,
java.util.Map phAttributeList)
Adds process data to the child form that is associated with an instance of a process in the system. |
int |
getActiveVersion(long plFormDefinitionKey)
Returns the active version of the form specified. |
Thor.API.tcResultSet |
getChildFormDefinition(long plParentFormDefinitionKey,
int pnParentFormVersion)
Returns information about the child form(s) of the specified parent form. |
Thor.API.tcResultSet |
getObjectFormChildData(long plChildFormDefinitionKey,
long plObjectInstanceKey)
Returns the object data that is saved in a child form and associated with an instance of an object in the system. |
Thor.API.tcResultSet |
getObjectFormData(long plObjectInstanceKey)
Returns the object data associated with an instance of an object in the system. |
long |
getObjectFormDefinitionKey(long plObjectInstanceKey)
Returns the form definition key associated with an instance of an object in the system. |
int |
getObjectFormVersion(long plObjectInstanceKey)
Returns the form version with which the object instance was saved. |
Thor.API.tcResultSet |
getProcessFormChildData(long plChildFormDefinitionKey,
long plProcessInstanceKey)
Returns the process data that is saved in a child form and associated with an instance of a process in the system. |
Thor.API.tcResultSet |
getProcessFormData(long plProcessInstanceKey)
Returns the process data associated with an instance of a process in the system. |
Thor.API.tcResultSet |
getProcessFormDataInViewMode(long plProcessInstanceKey)
Returns the process data associated with an instance of a process in the system. |
long |
getProcessFormDefinitionKey(long plProcessInstanceKey)
Returns the form definition key associated with an instance of a process in the system. |
int |
getProcessFormVersion(long plProcessInstanceKey)
Returns the form version with which the process instance was saved. |
Thor.API.tcResultSet |
prepopulateObjectForm(long plUserKey,
long plFormDefinitionKey,
java.util.Map phFormValues)
Pre-populates the object form's data based on pre-population rules and adapters. |
Thor.API.tcResultSet |
prepopulateProcessForm(long plProcessInstanceKey,
long plFormDefinitionKey,
java.util.Map phFormValues)
Pre-populates the process form's data based on pre-population rules and adapters. |
void |
removeObjectFormChildData(long plChildFormDefinitionKey,
long plChildFormPrimaryKey)
Removes object data from the child form that is associated with an instance of an object in the system. |
void |
removeProcessFormChildData(long plChildFormDefinitionKey,
long plChildFormPrimaryKey)
Removes process data from the child form that is associated with an instance of a process in the system. |
void |
setObjectFormData(long plObjectInstanceKey,
java.util.Map phAttributeList)
Sets the object data associated with an instance of an object in the system. |
void |
setObjectFormData(long plObjectInstanceKey,
java.util.Map phAttributeList,
boolean startProvisioning)
Sets the object data associated with an instance of an object in the system. |
void |
setProcessFormData(long plProcessInstanceKey,
java.util.Map phAttributeList)
Sets the process data associated with an instance of a process in the system. |
void |
updateObjectFormChildData(long plChildFormDefinitionKey,
long plChildFormPrimaryKey,
java.util.Map phAttributeList)
Updates object data on the child form that is associated with an instance of an object in the system. |
void |
updateProcessFormChildData(long plChildFormDefinitionKey,
long plChildFormPrimaryKey,
java.util.Map phAttributeList)
Updates process data on the child form that is associated with an instance of a process in the system. |
| Method Detail |
public Thor.API.tcResultSet getObjectFormData(long plObjectInstanceKey)
throws Thor.API.Exceptions.tcObjectNotFoundException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
plObjectInstanceKey - The key of the object instance in the system.
tcObjectNotFoundException
tcFormNotFoundException
tcAPIException
public void setObjectFormData(long plObjectInstanceKey,
java.util.Map phAttributeList)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcInvalidValueException,
Thor.API.Exceptions.tcRequiredDataMissingException,
Thor.API.Exceptions.tcObjectNotFoundException,
Thor.API.Exceptions.tcFormNotFoundException,
tcAPIException
plObjectInstanceKey - The key of the object instance in the system.phAttributeList - An array of tcMapping objects, each used to specify the attribute name-value pairs to be used to save data to the form
tcAPIException
tcInvalidValueException
tcRequiredDataMissingException
tcObjectNotFoundException
tcFormNotFoundException
public void setObjectFormData(long plObjectInstanceKey,
java.util.Map phAttributeList,
boolean startProvisioning)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcInvalidValueException,
Thor.API.Exceptions.tcRequiredDataMissingException,
Thor.API.Exceptions.tcObjectNotFoundException,
Thor.API.Exceptions.tcFormNotFoundException,
tcAPIException
plObjectInstanceKey - The key of the object instance in the system.phAttributeList - An array of tcMapping objects, each used to specify the attribute name-value pairs to be used to save data to the form
tcAPIException
tcInvalidValueException
tcRequiredDataMissingException
tcObjectNotFoundException
tcFormNotFoundException
public Thor.API.tcResultSet getProcessFormDataInViewMode(long plProcessInstanceKey)
throws Thor.API.Exceptions.tcNotAtomicProcessException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcProcessNotFoundException,
tcAPIException
plProcessInstanceKey - The key of the process instance in the system.
tcNotAtomicProcessException
tcFormNotFoundException
tcAPIException
tcProcessNotFoundException
public Thor.API.tcResultSet getProcessFormData(long plProcessInstanceKey)
throws Thor.API.Exceptions.tcNotAtomicProcessException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcProcessNotFoundException,
tcAPIException
plProcessInstanceKey - The key of the process instance in the system.
tcNotAtomicProcessException
tcFormNotFoundException
tcAPIException
tcProcessNotFoundException
public void setProcessFormData(long plProcessInstanceKey,
java.util.Map phAttributeList)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcInvalidValueException,
Thor.API.Exceptions.tcNotAtomicProcessException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcRequiredDataMissingException,
Thor.API.Exceptions.tcProcessNotFoundException,
tcAPIException
plProcessInstanceKey - The key of the process instance in the system.phAttributeList - An array of tcMapping objects, each used to specify the attribute name-value pairs to be used to save data to the form
tcAPIException - an error code of DOBJ.USR_PASSWORD_DOES_NOT_MATCH_POLICY might be set within this exception. If that's the case, one or many password policy rules were not met for password field in the form.
tcInvalidValueException
tcNotAtomicProcessException
tcFormNotFoundException
tcRequiredDataMissingException
tcProcessNotFoundException
public long getObjectFormDefinitionKey(long plObjectInstanceKey)
throws Thor.API.Exceptions.tcObjectNotFoundException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
plObjectInstanceKey - The key of the object instance in the system.
tcObjectNotFoundException
tcFormNotFoundException
tcAPIException
public long getProcessFormDefinitionKey(long plProcessInstanceKey)
throws Thor.API.Exceptions.tcProcessNotFoundException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
plProcessInstanceKey - The key of the object instance in the system.
tcProcessNotFoundException
tcFormNotFoundException
tcAPIException
public int getActiveVersion(long plFormDefinitionKey)
throws Thor.API.Exceptions.tcVersionNotDefinedException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
plFormDefinitionKey - The form definition key.
tcVersionNotDefinedException
tcFormNotFoundException
tcAPIException
public int getProcessFormVersion(long plProcessInstanceKey)
throws Thor.API.Exceptions.tcNotAtomicProcessException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcVersionNotFoundException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
plProcessInstanceKey - The key of the process instance in the system.
tcNotAtomicProcessException
tcFormNotFoundException
tcVersionNotFoundException
tcAPIException
public int getObjectFormVersion(long plObjectInstanceKey)
throws Thor.API.Exceptions.tcObjectNotFoundException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcVersionNotFoundException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
plObjectInstanceKey - The key of the object instance in the system.
tcObjectNotFoundException
tcFormNotFoundException
tcVersionNotFoundException
tcAPIException
public Thor.API.tcResultSet getChildFormDefinition(long plParentFormDefinitionKey,
int pnParentFormVersion)
throws Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcVersionNotDefinedException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
plParentFormDefinitionKey - The key for the parent form definition.pnParentFormVersion - The version of the parent form to get children for.
tcResultSet with each row containing information about a child of the parent form. Information returned includes the child form definition key, child form version, child table name, and child form description.
tcFormNotFoundException
tcVersionNotDefinedException
tcAPIException
public Thor.API.tcResultSet getObjectFormChildData(long plChildFormDefinitionKey,
long plObjectInstanceKey)
throws Thor.API.Exceptions.tcObjectNotFoundException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
plChildFormDefinitionKey - The key for the child form definition.plObjectInstanceKey - The key of the object instance in the system.
tcResultSet with each row containing object data from the child form for the specified object instance.
tcObjectNotFoundException
tcFormNotFoundException
tcAPIException
public Thor.API.tcResultSet getProcessFormChildData(long plChildFormDefinitionKey,
long plProcessInstanceKey)
throws Thor.API.Exceptions.tcProcessNotFoundException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
plChildFormDefinitionKey - The key for the child form definition.plProcessInstanceKey - The key of the process instance in the system.
tcResultSet with each row containing process data from the child form for the specified process instance.
tcProcessNotFoundException
tcFormNotFoundException
tcAPIException
public long addObjectFormChildData(long plChildFormDefinitionKey,
long plObjectInstanceKey,
java.util.Map phAttributeList)
throws Thor.API.Exceptions.tcObjectNotFoundException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcRequiredDataMissingException,
Thor.API.Exceptions.tcInvalidValueException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
plChildFormDefinitionKey - The key for the child form definition.plObjectInstanceKey - The key of the object instance in the system.phAttributeList - A map of name-value pairs, each entry representing an attribute to be set in the child form. Note that the attributes must correspond with the version of the child form associated with the object instance.
tcObjectNotFoundException
tcFormNotFoundException
tcRequiredDataMissingException
tcInvalidValueException
tcAPIException
public long addObjectFormChildData(long plChildFormDefinitionKey,
long plObjectInstanceKey,
java.util.Map phAttributeList,
boolean startProvisioning)
throws Thor.API.Exceptions.tcObjectNotFoundException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcRequiredDataMissingException,
Thor.API.Exceptions.tcInvalidValueException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
plChildFormDefinitionKey - The key for the child form definition.plObjectInstanceKey - The key of the object instance in the system.phAttributeList - A map of name-value pairs, each entry representing an attribute to be set in the child form. Note that the attributes must correspond with the version of the child form associated with the object instance.
tcObjectNotFoundException
tcFormNotFoundException
tcRequiredDataMissingException
tcInvalidValueException
tcAPIException
public long addProcessFormChildData(long plChildFormDefinitionKey,
long plProcessInstanceKey,
java.util.Map phAttributeList)
throws Thor.API.Exceptions.tcProcessNotFoundException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcRequiredDataMissingException,
Thor.API.Exceptions.tcInvalidValueException,
Thor.API.Exceptions.tcNotAtomicProcessException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
plChildFormDefinitionKey - The key for the child form definition.plProcessInstanceKey - The key of the process instance in the system.phAttributeList - A map of name-value pairs, each entry representing an attribute to be set in the child form. Note that the attributes must correspond with the version of the child form associated with the process instance.
tcProcessNotFoundException
tcFormNotFoundException
tcRequiredDataMissingException
tcInvalidValueException
tcNotAtomicProcessException
tcAPIException - an error code of DOBJ.USR_PASSWORD_DOES_NOT_MATCH_POLICY might be set within this exception. If that's the case, one or many password policy rules were not met for password field in the form.
public void removeObjectFormChildData(long plChildFormDefinitionKey,
long plChildFormPrimaryKey)
throws Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcFormEntryNotFoundException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
plChildFormDefinitionKey - The key for the child form definition.plChildFormPrimaryKey - The primary key of the child table entry to be removed.
tcFormNotFoundException
tcFormEntryNotFoundException
tcAPIException
public void removeProcessFormChildData(long plChildFormDefinitionKey,
long plChildFormPrimaryKey)
throws Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcFormEntryNotFoundException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
plChildFormDefinitionKey - The key for the child form definition.plChildFormPrimaryKey - The primary key of the child table entry to be removed.
tcFormNotFoundException
tcFormEntryNotFoundException
tcAPIException
public void updateObjectFormChildData(long plChildFormDefinitionKey,
long plChildFormPrimaryKey,
java.util.Map phAttributeList)
throws Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcFormEntryNotFoundException,
Thor.API.Exceptions.tcInvalidValueException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
plChildFormDefinitionKey - The key for the child form definition.plChildFormPrimaryKey - The primary key of the child table entry to be updated.phAttributeList - A map of name-value pairs, each entry representing an attribute to be updated in the child form. Note that the attributes must correspond with the version of the child form associated with the object instance.
tcFormNotFoundException
tcFormEntryNotFoundException
tcInvalidValueException
tcAPIException
public void updateProcessFormChildData(long plChildFormDefinitionKey,
long plChildFormPrimaryKey,
java.util.Map phAttributeList)
throws Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcFormEntryNotFoundException,
Thor.API.Exceptions.tcInvalidValueException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
plChildFormDefinitionKey - The key for the child form definition.plChildFormPrimaryKey - The primary key of the child table entry to be updated.phAttributeList - A map of name-value pairs, each entry representing an attribute to be updated in the child form. Note that the attributes must correspond with the version of the child form associated with the process instance.
tcFormNotFoundException
tcFormEntryNotFoundException
tcInvalidValueException
tcAPIException - an error code of DOBJ.USR_PASSWORD_DOES_NOT_MATCH_POLICY might be set within this exception. If that's the case, one or many password policy rules were not met for password field in the form.
public Thor.API.tcResultSet prepopulateObjectForm(long plUserKey,
long plFormDefinitionKey,
java.util.Map phFormValues)
throws Thor.API.Exceptions.tcUserNotFoundException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
plUserKey - The user key of the requester.plFormDefinitionKey - The key of the object form's definition.phFormValues - A Map containing all the fields of the object form with their existing values.
tcResultSet containing all the fields and values of the object form. The fields that have associated pre-population rules and adapters will have their calculated value. All other fields will maintain their value from phFormValues.
tcUserNotFoundException
tcFormNotFoundException
tcAPIException
public Thor.API.tcResultSet prepopulateProcessForm(long plProcessInstanceKey,
long plFormDefinitionKey,
java.util.Map phFormValues)
throws Thor.API.Exceptions.tcProcessNotFoundException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
plProcessInstanceKey - The key of the process instance in the system.plFormDefinitionKey - The key of the process form's definition.phFormValues - A Map containing all the fields of the process form with their existing values.
tcResultSet containing all the fields and values of the process form. The fields that have associated pre-population rules and adapters will have their calculated value in the tcResultSet. The fields without an associated rule and adapter will maintain their value from phFormValues.
tcProcessNotFoundException
tcFormNotFoundException
tcAPIException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||