|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Method Summary | |
Thor.API.tcResultSet |
activateFormVersion(long plFormKey,
int pnFormVersion)
Sets the specified version of the specified form as the active version of that form. |
void |
addAdministrator(long plFormKey,
long plGroupKey,
boolean pbWrite,
boolean pbDelete)
Adds a group as having administrative control over a form |
long |
addFormField(long plFormKey,
int pnFormVersion,
java.lang.String psFieldName,
java.lang.String psFieldType,
java.lang.String psVariantType,
int pnFieldLength,
int pnOrder,
java.lang.String psDefaultValue,
java.lang.String pbProfileEnabled,
boolean pbSecure)
Updates information about the specified field of a form. |
void |
addFormFieldProperty(long plFormFieldKey,
java.lang.String psPropertyName,
java.lang.String psPropertyValue)
Adds the specified property with specified value to the form's field |
void |
assignToObject(long plFormKey,
long plObjectKey)
Assign the specified form to an object. |
void |
createForm(java.util.Map phAttributeList)
Create a new form. |
void |
createNewVersion(long plFormKey,
int pnFormVersion,
java.lang.String psVersionLabel)
Creates a new version of the specified form (in the form of a tcResultSet). |
void |
deleteFormFieldProperty(long plFormFieldKey,
java.lang.String psPropertyName)
Deletes the specified property from the specified form's field |
Thor.API.tcResultSet |
findForms(java.util.Map phAttributes)
Returns a list of forms (in the form of a tcResultSet) that match the provided attribute list, and are object forms. |
Thor.API.tcResultSet |
findFormVersion(long plFormKey,
java.lang.String psLabel)
Returns version information about the specified form (in the form of a tcResultSet). |
Thor.API.tcResultSet |
getAdministrators(long plFormKey)
Returns administration information about the specified form (in the form of a tcResultSet). |
Thor.API.tcResultSet |
getDataFlow(long plObjectKey)
Returns data flow information about the specified object (in the form of a tcResultSet). |
Thor.API.tcResultSet |
getFormFieldLookupValues(long plFormFieldKey)
Returns a list of lookup values (in the form of a tcResultSet) t |
java.lang.String |
getFormFieldPropertyValue(long plFormFieldKey,
java.lang.String psPropertyName)
Gets the value of the specified property of the specified form's field |
Thor.API.tcResultSet |
getFormFields(long plFormKey,
int plVersion)
Returns information about the user-defined and system fields of a specified form (in the form of a tcResultSet). |
java.lang.String[] |
getFormFieldTypes()
Returns a list of form field types defined in the Xellerate system. |
Thor.API.tcResultSet |
getFormVersions(long plFormKey)
Returns version information about the specified form (in the form of a tcResultSet). |
java.lang.String |
getITResourceServerType(long plFormFieldKey)
Returns the ITResourceServerType from the specified form's field |
java.lang.String |
getLookupPropertyType(long plFormFieldKey)
Returns the property type of the specified form field. |
Thor.API.tcResultSet |
getObjects(long plFormKey)
Gets a list of all the objects that use this form. |
void |
removeAdministrator(long plFormKey,
long plGroupKey)
Removes a group from having administrative control over a form. |
void |
removeFormField(long plFormFieldKey)
Removes the specified field of a form. |
void |
removeFromObject(long plFormKey,
long plObjectKey)
Removes the specified form from an object. |
void |
setFormFieldLookupValues(long plFormFieldKey,
java.lang.String[] pasLookupValues)
Sets the list of lookup values associated with a field that has a lookup attached to it. |
void |
updateAdministrator(long plFormKey,
long plGroupKey,
boolean pbWrite,
boolean pbDelete)
Updates the access an administrative group has over a form definition. |
void |
updateFormField(long plFormFieldKey,
java.util.Map phAttributes)
Updates information about the specified field of a form. |
void |
updateFormFieldProperty(long plFormFieldKey,
java.lang.String psPropertyName,
java.lang.String psPropertyValue)
Updates the specified property with specified value to the form's field |
| Method Detail |
public Thor.API.tcResultSet activateFormVersion(long plFormKey,
int pnFormVersion)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcVersionNotDefinedException,
tcAPIException
plFormKey - The key for the form definitionpnFormVersion - The version to make active
tcAPIException
tcFormNotFoundException
tcVersionNotDefinedException
public void addAdministrator(long plFormKey,
long plGroupKey,
boolean pbWrite,
boolean pbDelete)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcGroupNotFoundException,
tcAPIException
plFormKey - The key for the form definitionplGroupKey - The key for the grouppbWrite - Whether the group has write access to the form definitionpbDelete - Whether the group has delete access to the form definition
tcAPIException
tcFormNotFoundException
tcGroupNotFoundException
public long addFormField(long plFormKey,
int pnFormVersion,
java.lang.String psFieldName,
java.lang.String psFieldType,
java.lang.String psVariantType,
int pnFieldLength,
int pnOrder,
java.lang.String psDefaultValue,
java.lang.String pbProfileEnabled,
boolean pbSecure)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcInvalidAttributeException,
Thor.API.Exceptions.tcAddFieldFailedException,
tcAPIException
plFormKey - The key for the form definitionpnFormVersion - Denotes whether field would be a required field for the form.psFieldName - The name of the field, used as the label and also to make the column in the databasepsFieldType - The type of the field, which should be one of the values defined by the field type lookuppsVariantType - pnFieldLength - The maximum length of what can be saved in this fieldpnOrder - The order of the field on the formpsDefaultValue - The system level default value for the fieldpbProfileEnabled - Denotes whether the field is profile-enabled or notpbSecure - Denotes whether the field is a senstive field to be stored encrypted in the database.
tcAPIException
tcFormNotFoundException
tcInvalidAttributeException
tcAddFieldFailedException
public void assignToObject(long plFormKey,
long plObjectKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcObjectNotFoundException,
Thor.API.Exceptions.tcProcessFormException,
Thor.API.Exceptions.tcObjectFormAssignedException,
tcAPIException
plFormKey - The key for the form definitionplObjectKey - The key for the object to assign the form to
tcAPIException
tcFormNotFoundException
tcObjectNotFoundException
tcProcessFormException
tcObjectFormAssignedException
public void createForm(java.util.Map phAttributeList)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcInvalidNameException,
tcAPIException
phAttributeList - The descriptive name of the form
tcAPIException
tcInvalidNameException
public void createNewVersion(long plFormKey,
int pnFormVersion,
java.lang.String psVersionLabel)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcVersionNotDefinedException,
tcAPIException
plFormKey - The key for the form definitionpnFormVersion - The version to base the new version onpsVersionLabel - The label of new version to be defined
tcAPIException
tcFormNotFoundException
tcVersionNotDefinedException
public Thor.API.tcResultSet findForms(java.util.Map phAttributes)
throws Thor.API.Exceptions.tcAPIException,
tcAPIException
phAttributes - An array of tcMapping objects, each object holding the attribute-value pairs to match the group against. The Attribute names are the String column codes (from the Xellerate metadata). The Attribute Values are the String attributes to base the search on. The values could include wild cards (%). For example: parameter phAttributes can take the value of variable mhMap where HashMap mhMap = new HashMap(); and we can supply a value to mhMap as: mhMap.put("Structure Utility.Table Name", "UD_%");
tcAPIException
public Thor.API.tcResultSet getAdministrators(long plFormKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcFormNotFoundException,
tcAPIException
plFormKey - The key for the form definition
tcAPIException
tcFormNotFoundException
public Thor.API.tcResultSet getFormFieldLookupValues(long plFormFieldKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcFormFieldNotFoundException,
Thor.API.Exceptions.tcNotLookupFieldException,
tcAPIException
plFormFieldKey - The Key of the form field
tcAPIException
tcFormFieldNotFoundException
tcNotLookupFieldException
public java.lang.String getLookupPropertyType(long plFormFieldKey)
throws Thor.API.Exceptions.tcFormFieldNotFoundException,
Thor.API.Exceptions.tcNotLookupFieldException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
plFormFieldKey - The Key of the form field. Note that this field must be of type LookupField or ComboBox.
tcFormFieldNotFoundException
tcNotLookupFieldException
tcAPIException
public Thor.API.tcResultSet getFormFields(long plFormKey,
int plVersion)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcFormNotFoundException,
tcAPIException
plFormKey - The key for the form definitionplVersion - The version for the form definition
tcAPIException
tcFormNotFoundException
public java.lang.String[] getFormFieldTypes()
throws Thor.API.Exceptions.tcAPIException,
tcAPIException
tcAPIException
public Thor.API.tcResultSet getFormVersions(long plFormKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcFormNotFoundException,
tcAPIException
plFormKey - The key for the form definition
tcAPIException
tcFormNotFoundException
public Thor.API.tcResultSet getObjects(long plFormKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcProcessFormException,
tcAPIException
plFormKey - Value holding the Form Key (corresponds to value in the SDK_KEY column)
tcResultSet, each row holding information about an object that uses this form.
tcAPIException
tcFormNotFoundException
tcProcessFormException
public void removeAdministrator(long plFormKey,
long plGroupKey)
throws Thor.API.Exceptions.tcAdminNotFoundException,
Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcGroupNotFoundException,
tcAPIException
plFormKey - The key for the form definitionplGroupKey - The key for the group
tcAdminNotFoundException
tcAPIException
tcFormNotFoundException
tcGroupNotFoundException
public void removeFormField(long plFormFieldKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcFormFieldNotFoundException,
Thor.API.Exceptions.tcDeleteNotAllowedException,
tcAPIException
plFormFieldKey - The key for the form field definition
tcAPIException
tcFormFieldNotFoundException
tcDeleteNotAllowedException
public void setFormFieldLookupValues(long plFormFieldKey,
java.lang.String[] pasLookupValues)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcFormFieldNotFoundException,
Thor.API.Exceptions.tcNotLookupFieldException,
tcAPIException
plFormFieldKey - The key for the form field definitionpasLookupValues - An array of strings where each string is an element in the lookup.
tcAPIException
tcFormFieldNotFoundException
tcNotLookupFieldException
public void updateAdministrator(long plFormKey,
long plGroupKey,
boolean pbWrite,
boolean pbDelete)
throws Thor.API.Exceptions.tcAdminNotFoundException,
Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcGroupNotFoundException,
tcAPIException
plFormKey - The key for the form definitionplGroupKey - The key for the grouppbWrite - Whether the group has write access to the form definitionpbDelete - Whether the group has delete access to the form definition
tcAdminNotFoundException
tcAPIException
tcFormNotFoundException
tcGroupNotFoundException
public void updateFormField(long plFormFieldKey,
java.util.Map phAttributes)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcFormFieldNotFoundException,
Thor.API.Exceptions.tcInvalidAttributeException,
Thor.API.Exceptions.tcUpdateNotAllowedException,
tcAPIException
plFormFieldKey - The key for the form field definitionphAttributes - The list of attributes that need to be updated alongwith the updated value
tcAPIException
tcFormFieldNotFoundException
tcInvalidAttributeException
tcUpdateNotAllowedException
public void removeFromObject(long plFormKey,
long plObjectKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcObjectNotFoundException,
Thor.API.Exceptions.tcProcessFormException,
Thor.API.Exceptions.tcObjectFormNotAssignedException,
tcAPIException
plFormKey - The key for the form definitionplObjectKey - The key for the object to assign the form to
tcAPIException
tcFormNotFoundException
tcObjectNotFoundException
tcProcessFormException
tcObjectFormNotAssignedException
public void addFormFieldProperty(long plFormFieldKey,
java.lang.String psPropertyName,
java.lang.String psPropertyValue)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcFormFieldNotFoundException,
Thor.API.Exceptions.tcPropertyNotFoundException,
Thor.API.Exceptions.tcInvalidAttributeException,
Thor.API.Exceptions.tcPropertyAlreadyAssignedException,
Thor.API.Exceptions.tcAddFormFieldPropertyFailedException,
tcAPIException
plFormFieldKey - The key for the form definitionpsPropertyName - The name of the property to be assigned to the form fieldpsPropertyValue - The value of the property to be assigned to the form field
tcAPIException
tcFormFieldNotFoundException
tcPropertyNotFoundException
tcInvalidAttributeException
tcPropertyAlreadyAssignedException
tcAddFormFieldPropertyFailedException
public void deleteFormFieldProperty(long plFormFieldKey,
java.lang.String psPropertyName)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcFormFieldNotFoundException,
Thor.API.Exceptions.tcPropertyNotFoundException,
Thor.API.Exceptions.tcPropertyNotAssignedException,
Thor.API.Exceptions.tcDeleteNotAllowedException,
tcAPIException
plFormFieldKey - The key for the form definitionpsPropertyName - The name of the property to be assigned to the form field
tcAPIException
tcFormFieldNotFoundException
tcPropertyNotFoundException
tcPropertyNotAssignedException
tcDeleteNotAllowedException
public void updateFormFieldProperty(long plFormFieldKey,
java.lang.String psPropertyName,
java.lang.String psPropertyValue)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcFormFieldNotFoundException,
Thor.API.Exceptions.tcPropertyNotFoundException,
Thor.API.Exceptions.tcPropertyNotAssignedException,
Thor.API.Exceptions.tcInvalidAttributeException,
Thor.API.Exceptions.tcUpdateNotAllowedException,
tcAPIException
plFormFieldKey - The key for the form definitionpsPropertyName - The name of the property to be assigned to the form fieldpsPropertyValue - The value of the property to be assigned to the form field
tcAPIException
tcFormFieldNotFoundException
tcPropertyNotFoundException
tcPropertyNotAssignedException
tcInvalidAttributeException
tcUpdateNotAllowedException
public java.lang.String getFormFieldPropertyValue(long plFormFieldKey,
java.lang.String psPropertyName)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcFormFieldNotFoundException,
Thor.API.Exceptions.tcPropertyNotFoundException,
tcAPIException
plFormFieldKey - The key for the form definitionpsPropertyName - The name of the property whose value is to be retrieved
true for Visible Field property false for Required property tcAPIException
tcFormFieldNotFoundException
tcPropertyNotFoundException
public Thor.API.tcResultSet findFormVersion(long plFormKey,
java.lang.String psLabel)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcInvalidAttributeException,
tcAPIException
plFormKey - The key for the form definitionpsLabel - The label of the form version
tcAPIException
tcFormNotFoundException
tcInvalidAttributeException
public java.lang.String getITResourceServerType(long plFormFieldKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcPropertyNotFoundException,
tcAPIException
plFormFieldKey - The key for the form definition
tcAPIException
tcPropertyNotFoundException
public Thor.API.tcResultSet getDataFlow(long plObjectKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcObjectNotFoundException,
tcAPIException
plObjectKey - The key for the Object
tcAPIException
tcObjectNotFoundException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||