Package Thor.API.Operations
Interface tcFormDefinitionOperationsIntf
- All Superinterfaces:
tcUtilityOperationsIntf
-
Method Summary
Modifier and TypeMethodDescriptionThor.API.tcResultSetactivateFormVersion(long plFormKey, int pnFormVersion) Sets the specified version of the specified form as the active version of that form.voidaddAdministrator(long plFormKey, long plGroupKey, boolean pbWrite, boolean pbDelete) Adds a group as having administrative control over a formvoidaddFormDataFlow(long plProcessKey, long plObjectKey, String sourceName, String targetName) Adds a new data flow mappinglongaddFormField(long plFormKey, int pnFormVersion, String psFieldName, String psFieldType, String psVariantType, int pnFieldLength, int pnOrder, String psDefaultValue, String pbProfileEnabled, boolean pbSecure) Updates information about the specified field of a form.longaddFormField(long plFormKey, int pnFormVersion, String psFieldBackendName, String psFieldName, String psFieldType, String psVariantType, int pnFieldLength, int pnOrder, String psDefaultValue, String pbProfileEnabled, boolean pbSecure) Internal API to control back-end name.voidaddFormFieldProperty(long plFormFieldKey, String psPropertyName, String psPropertyValue) Adds the specified property with specified value to the form's fieldvoidaddReconDataFlow(long plProcessKey, long plObjectKey, String sourceKey, String targetName, boolean isKeyField) Adds a new reconciliation data flow mappingvoidaddReconDataFlow(long plProcessKey, long plObjectKey, String sourceKey, String targetName, boolean isKeyField, boolean isCaseInsensitive) Adds a new reconciliation data flow mappingvoidassignToObject(long plFormKey, long plObjectKey) Assign the specified form to an object.voidattachChildFormToParentForm(long parentSdkKey, int parentVersion, long childSdkKey, int childVersion) Attaches a child form to a parent form.voidcreateForm(Map phAttributeList) Create a new form.voidcreateNewVersion(long plFormKey, int pnFormVersion, String psVersionLabel) Creates a new version of the specified form (in the form of a tcResultSet).voiddeleteFormFieldProperty(long plFormFieldKey, String psPropertyName) Deletes the specified property from the specified form's fieldvoideditReconDataFlow(long plProcessKey, long plObjectKey, String sourceKey, boolean isKeyField) Edits an existing reconciliation data flow mapping to change the key field mapping informationvoideditReconDataFlow(long plProcessKey, long plObjectKey, String sourceKey, boolean isKeyField, boolean iskeyCaseInsensitiveField) Edits an existing reconciliation data flow mapping to change the key field mapping informationvoideditReconDataFlow(long plProcessKey, long plObjectKey, String sourceKey, int isKeyField, int iskeyCaseInsensitiveField) Edits an existing reconciliation data flow mapping to change the key field mapping informationThor.API.tcResultSetReturns a list of forms (in the form of a tcResultSet) that match the provided attribute list, and are object forms.Thor.API.tcResultSetfindFormVersion(long plFormKey, String psLabel) Returns version information about the specified form (in the form of a tcResultSet).Thor.API.tcResultSetgetAdministrators(long plFormKey) Returns administration information about the specified form (in the form of a tcResultSet).Thor.API.tcResultSetgetDataFlow(long plObjectKey) Returns data flow information about the specified object (in the form of a tcResultSet).Thor.API.tcResultSetgetDataFlowForProcess(long plProcessKey) Returns data flow information about the specified process (in the form of a tcResultSet).Thor.API.tcResultSetgetFormFieldLookupValues(long plFormFieldKey) Returns a list of lookup values (in the form of a tcResultSet) tgetFormFieldPropertyValue(long plFormFieldKey, String psPropertyName) Gets the value of the specified property of the specified form's fieldThor.API.tcResultSetgetFormFields(long plFormKey, int plVersion) Returns information about the user-defined and system fields of a specified form (in the form of a tcResultSet).Thor.API.tcResultSetgetFormFields(String plFormName, int plVersion) Returns information about the user-defined and system fields of a specified form (in the form of a tcResultSet).Thor.API.tcResultSetgetFormFieldsAttestation(long plFormKey, long plFormUDFKey) Returns information about the user-defined and system fields of a specified form (in the form of a tcResultSet).String[]Returns a list of form field types defined in the Xellerate system.Thor.API.tcResultSetgetFormVersions(long plFormKey) Returns version information about the specified form (in the form of a tcResultSet).getITResourceServerType(long plFormFieldKey) Returns the ITResourceServerType from the specified form's fieldgetLookupPropertyType(long plFormFieldKey) Returns the property type of the specified form field.Thor.API.tcResultSetgetObjects(long plFormKey) Gets a list of all the objects that use this form.Thor.API.tcResultSetgetReconDataFlowForProcess(long plProcessKey) Returns reconciliation data flow information about the specified process (in the form of a tcResultSet).getUDFLabelForCode(String metaDataCode) Returns the label defined for the UDF field.voidremoveAdministrator(long plFormKey, long plGroupKey) Removes a group from having administrative control over a form.voidremoveFormDataFlowMapping(long plProcessKey, String sourceName, String targetName) Remove an existing data flow mappingvoidremoveFormField(long plFormFieldKey) Removes the specified field of a form.voidremoveFromObject(long plFormKey, long plObjectKey) Removes the specified form from an object.voidremoveReconDataFlowMapping(long plProcessKey, long plObjectKey, String sourceKey) Remove an existing reconciliation data flow mappingvoidsetFormFieldLookupValues(long plFormFieldKey, String[] pasLookupValues) Sets the list of lookup values associated with a field that has a lookup attached to it.voidupdateAdministrator(long plFormKey, long plGroupKey, boolean pbWrite, boolean pbDelete) Updates the access an administrative group has over a form definition.voidupdateAndActivateFormHierarchy(long childSdkKey, int childVersion) Update and activate child form version.voidupdateFormField(long plFormFieldKey, Map phAttributes) Updates information about the specified field of a form.voidupdateFormFieldProperty(long plFormFieldKey, String psPropertyName, String psPropertyValue) Updates the specified property with specified value to the form's fieldMethods inherited from interface Thor.API.Base.tcUtilityOperationsIntf
close, getName, setCountry, setLanguage, setVariant
-
Method Details
-
activateFormVersion
Thor.API.tcResultSet activateFormVersion(long plFormKey, int pnFormVersion) throws tcAPIException, tcFormNotFoundException, tcVersionNotDefinedException, tcAPIException Sets the specified version of the specified form as the active version of that form.- Parameters:
plFormKey- The key for the form definitionpnFormVersion- The version to make active- Returns:
- a tcResultSet that match the provided attribute list.
- Throws:
tcAPIExceptiontcFormNotFoundExceptiontcVersionNotDefinedException
-
addAdministrator
void addAdministrator(long plFormKey, long plGroupKey, boolean pbWrite, boolean pbDelete) throws tcAPIException, tcFormNotFoundException, tcGroupNotFoundException, tcAPIException Adds a group as having administrative control over a form- Parameters:
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- Throws:
tcAPIExceptiontcFormNotFoundExceptiontcGroupNotFoundException
-
addFormField
long addFormField(long plFormKey, int pnFormVersion, String psFieldName, String psFieldType, String psVariantType, int pnFieldLength, int pnOrder, String psDefaultValue, String pbProfileEnabled, boolean pbSecure) throws tcAPIException, tcFormNotFoundException, tcInvalidAttributeException, tcAddFieldFailedException, tcAPIException Updates information about the specified field of a form.- Parameters:
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.- Returns:
- The key of the form field definition
- Throws:
tcAPIExceptiontcFormNotFoundExceptiontcInvalidAttributeExceptiontcAddFieldFailedException
-
addFormField
long addFormField(long plFormKey, int pnFormVersion, String psFieldBackendName, String psFieldName, String psFieldType, String psVariantType, int pnFieldLength, int pnOrder, String psDefaultValue, String pbProfileEnabled, boolean pbSecure) throws tcAPIException, tcFormNotFoundException, tcInvalidAttributeException, tcAddFieldFailedException, tcAPIException Internal API to control back-end name. Backend name will be generated based on supplied backend name. DO NOT USE this API . Its Preferable to use the other API where backend name is auto generated based on field label. Updates information about the specified field of a form.- Parameters:
plFormKey- The key for the form definitionpnFormVersion- Denotes whether field would be a required field for the form.psFieldBackendName- The backend name of the field in database.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.- Returns:
- The key of the form field definition
- Throws:
tcAPIExceptiontcFormNotFoundExceptiontcInvalidAttributeExceptiontcAddFieldFailedException
-
assignToObject
void assignToObject(long plFormKey, long plObjectKey) throws tcAPIException, tcFormNotFoundException, tcObjectNotFoundException, tcProcessFormException, tcObjectFormAssignedException, tcAPIException Assign the specified form to an object. This is only valid for assigning object forms to objects.- Parameters:
plFormKey- The key for the form definitionplObjectKey- The key for the object to assign the form to- Throws:
tcAPIExceptiontcFormNotFoundExceptiontcObjectNotFoundExceptiontcProcessFormExceptiontcObjectFormAssignedException
-
createForm
Create a new form.- Parameters:
phAttributeList- The descriptive name of the form- Throws:
tcAPIExceptiontcInvalidNameException
-
createNewVersion
void createNewVersion(long plFormKey, int pnFormVersion, String psVersionLabel) throws tcAPIException, tcFormNotFoundException, tcVersionNotDefinedException, tcAPIException Creates a new version of the specified form (in the form of a tcResultSet).- Parameters:
plFormKey- The key for the form definitionpnFormVersion- The version to base the new version onpsVersionLabel- The label of new version to be defined- Throws:
tcAPIExceptiontcFormNotFoundExceptiontcVersionNotDefinedException
-
findForms
Returns a list of forms (in the form of a tcResultSet) that match the provided attribute list, and are object forms. It returns both type of Object and Process forms.- Parameters:
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_%");- Returns:
- A tcResultSet containing multiple rows, each holding information about the forms
- Throws:
tcAPIException
-
getAdministrators
Thor.API.tcResultSet getAdministrators(long plFormKey) throws tcAPIException, tcFormNotFoundException, tcAPIException Returns administration information about the specified form (in the form of a tcResultSet).- Parameters:
plFormKey- The key for the form definition- Returns:
- A tcResultSet containing multiple rows, each holding information about the groups that have access to adminster the form
- Throws:
tcAPIExceptiontcFormNotFoundException
-
getFormFieldLookupValues
Thor.API.tcResultSet getFormFieldLookupValues(long plFormFieldKey) throws tcAPIException, tcFormFieldNotFoundException, tcNotLookupFieldException, tcAPIException Returns a list of lookup values (in the form of a tcResultSet) t- Parameters:
plFormFieldKey- The Key of the form field- Returns:
- tcResultSet in which each row holds details about the lookup values
- Throws:
tcAPIExceptiontcFormFieldNotFoundExceptiontcNotLookupFieldException
-
getLookupPropertyType
String getLookupPropertyType(long plFormFieldKey) throws tcFormFieldNotFoundException, tcNotLookupFieldException, tcAPIException, tcAPIException Returns the property type of the specified form field.- Parameters:
plFormFieldKey- The Key of the form field. Note that this field must be of type LookupField or ComboBox.- Returns:
- The property type associated with the specified form field. One of the following two types will be returned:
- Lookup Code
- Lookup Query
- Throws:
tcFormFieldNotFoundExceptiontcNotLookupFieldExceptiontcAPIException
-
getFormFieldsAttestation
Thor.API.tcResultSet getFormFieldsAttestation(long plFormKey, long plFormUDFKey) throws tcAPIException, tcFormNotFoundException, tcAPIException Returns information about the user-defined and system fields of a specified form (in the form of a tcResultSet). Each record in the result set holds information about one field of the form. LookupCode column in resultset has lookup code value property set against form field if at all it is defined.- Parameters:
plFormKey- The key for the form definitionplFormUDFKey- The key for the form's user-defined fields- Returns:
- A tcResultSet containing multiple rows, each holding information about a field of the form
- Throws:
tcAPIExceptiontcFormNotFoundException- Since:
- 9.1.0.0
-
getFormFields
Thor.API.tcResultSet getFormFields(long plFormKey, int plVersion) throws tcAPIException, tcFormNotFoundException, tcAPIException Returns information about the user-defined and system fields of a specified form (in the form of a tcResultSet). Each record in the result set holds information about one field of the form. LookupCode column in resultset has lookup code value property set against form field if at all it is defined.- Parameters:
plFormKey- The key for the form definitionplVersion- The version for the form definition- Returns:
- A tcResultSet containing multiple rows, each holding information about a field of the form
- Throws:
tcAPIExceptiontcFormNotFoundException
-
getFormFields
Thor.API.tcResultSet getFormFields(String plFormName, int plVersion) throws tcAPIException, tcFormNotFoundException, tcAPIException Returns information about the user-defined and system fields of a specified form (in the form of a tcResultSet). Each record in the result set holds information about one field of the form. LookupCode column in resultset has lookup code value property set against form field if at all it is defined.- Parameters:
plFormName- The name for the form definitionplVersion- The version for the form definition- Returns:
- A tcResultSet containing multiple rows, each holding information about a field of the form
- Throws:
tcAPIExceptiontcFormNotFoundException
-
getFormFieldTypes
Returns a list of form field types defined in the Xellerate system.- Returns:
- An array of strings, each string a valid field type.
- Throws:
tcAPIException
-
getFormVersions
Thor.API.tcResultSet getFormVersions(long plFormKey) throws tcAPIException, tcFormNotFoundException, tcAPIException Returns version information about the specified form (in the form of a tcResultSet).- Parameters:
plFormKey- The key for the form definition- Returns:
- A tcResultSet containing multiple rows, each holding information about a version of the form (version number, status)
- Throws:
tcAPIExceptiontcFormNotFoundException
-
getObjects
Thor.API.tcResultSet getObjects(long plFormKey) throws tcAPIException, tcFormNotFoundException, tcProcessFormException, tcAPIException Gets a list of all the objects that use this form.- Parameters:
plFormKey- Value holding the Form Key (corresponds to value in theSDK_KEYcolumn)- Returns:
- A
tcResultSet, each row holding information about an object that uses this form. - Throws:
tcAPIExceptiontcFormNotFoundExceptiontcProcessFormException
-
removeAdministrator
void removeAdministrator(long plFormKey, long plGroupKey) throws tcAdminNotFoundException, tcAPIException, tcFormNotFoundException, tcGroupNotFoundException, tcAPIException Removes a group from having administrative control over a form.- Parameters:
plFormKey- The key for the form definitionplGroupKey- The key for the group- Throws:
tcAdminNotFoundExceptiontcAPIExceptiontcFormNotFoundExceptiontcGroupNotFoundException
-
removeFormField
void removeFormField(long plFormFieldKey) throws tcAPIException, tcFormFieldNotFoundException, tcDeleteNotAllowedException, tcAPIException Removes the specified field of a form.- Parameters:
plFormFieldKey- The key for the form field definition- Throws:
tcAPIExceptiontcFormFieldNotFoundExceptiontcDeleteNotAllowedException
-
setFormFieldLookupValues
void setFormFieldLookupValues(long plFormFieldKey, String[] pasLookupValues) throws tcAPIException, tcFormFieldNotFoundException, tcNotLookupFieldException, tcAPIException Sets the list of lookup values associated with a field that has a lookup attached to it. This would be the whole set, so internally, Xellerate would compare this list to what is already there, and add or remove from the list as required.- Parameters:
plFormFieldKey- The key for the form field definitionpasLookupValues- An array of strings where each string is an element in the lookup.- Throws:
tcAPIExceptiontcFormFieldNotFoundExceptiontcNotLookupFieldException
-
updateAdministrator
void updateAdministrator(long plFormKey, long plGroupKey, boolean pbWrite, boolean pbDelete) throws tcAdminNotFoundException, tcAPIException, tcFormNotFoundException, tcGroupNotFoundException, tcAPIException Updates the access an administrative group has over a form definition.- Parameters:
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- Throws:
tcAdminNotFoundExceptiontcAPIExceptiontcFormNotFoundExceptiontcGroupNotFoundException
-
updateFormField
void updateFormField(long plFormFieldKey, Map phAttributes) throws tcAPIException, tcFormFieldNotFoundException, tcInvalidAttributeException, tcUpdateNotAllowedException, tcAPIException Updates information about the specified field of a form.- Parameters:
plFormFieldKey- The key for the form field definitionphAttributes- The list of attributes that need to be updated alongwith the updated value- Throws:
tcAPIExceptiontcFormFieldNotFoundExceptiontcInvalidAttributeExceptiontcUpdateNotAllowedException
-
removeFromObject
void removeFromObject(long plFormKey, long plObjectKey) throws tcAPIException, tcFormNotFoundException, tcObjectNotFoundException, tcProcessFormException, tcObjectFormNotAssignedException, tcAPIException Removes the specified form from an object. This is only valid for object forms.- Parameters:
plFormKey- The key for the form definitionplObjectKey- The key for the object to assign the form to- Throws:
tcAPIExceptiontcFormNotFoundExceptiontcObjectNotFoundExceptiontcProcessFormExceptiontcObjectFormNotAssignedException
-
addFormFieldProperty
void addFormFieldProperty(long plFormFieldKey, String psPropertyName, String psPropertyValue) throws tcAPIException, tcFormFieldNotFoundException, tcPropertyNotFoundException, tcInvalidAttributeException, tcPropertyAlreadyAssignedException, tcAddFormFieldPropertyFailedException, tcAPIException Adds the specified property with specified value to the form's field- Parameters:
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- Throws:
tcAPIExceptiontcFormFieldNotFoundExceptiontcPropertyNotFoundExceptiontcInvalidAttributeExceptiontcPropertyAlreadyAssignedExceptiontcAddFormFieldPropertyFailedException
-
deleteFormFieldProperty
void deleteFormFieldProperty(long plFormFieldKey, String psPropertyName) throws tcAPIException, tcFormFieldNotFoundException, tcPropertyNotFoundException, tcPropertyNotAssignedException, tcDeleteNotAllowedException, tcAPIException Deletes the specified property from the specified form's field- Parameters:
plFormFieldKey- The key for the form definitionpsPropertyName- The name of the property to be assigned to the form field- Throws:
tcAPIExceptiontcFormFieldNotFoundExceptiontcPropertyNotFoundExceptiontcPropertyNotAssignedExceptiontcDeleteNotAllowedException
-
updateFormFieldProperty
void updateFormFieldProperty(long plFormFieldKey, String psPropertyName, String psPropertyValue) throws tcAPIException, tcFormFieldNotFoundException, tcPropertyNotFoundException, tcPropertyNotAssignedException, tcInvalidAttributeException, tcUpdateNotAllowedException, tcAPIException Updates the specified property with specified value to the form's field- Parameters:
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- Throws:
tcAPIExceptiontcFormFieldNotFoundExceptiontcPropertyNotFoundExceptiontcPropertyNotAssignedExceptiontcInvalidAttributeExceptiontcUpdateNotAllowedException
-
getFormFieldPropertyValue
String getFormFieldPropertyValue(long plFormFieldKey, String psPropertyName) throws tcAPIException, tcFormFieldNotFoundException, tcPropertyNotFoundException, tcAPIException Gets the value of the specified property of the specified form's field- Parameters:
plFormFieldKey- The key for the form definitionpsPropertyName- The name of the property whose value is to be retrieved- Returns:
- Value of the specified property. If the specified property name is Required or Visible Field and they do not have values, a default value will be returned. The default values are:
truefor Visible Field propertyfalsefor Required property
- Throws:
tcAPIExceptiontcFormFieldNotFoundExceptiontcPropertyNotFoundException
-
findFormVersion
Thor.API.tcResultSet findFormVersion(long plFormKey, String psLabel) throws tcAPIException, tcFormNotFoundException, tcInvalidAttributeException, tcAPIException Returns version information about the specified form (in the form of a tcResultSet).- Parameters:
plFormKey- The key for the form definitionpsLabel- The label of the form version- Returns:
- A tcResultSet containing row holding information about a version of the form
- Throws:
tcAPIExceptiontcFormNotFoundExceptiontcInvalidAttributeException
-
getITResourceServerType
String getITResourceServerType(long plFormFieldKey) throws tcAPIException, tcPropertyNotFoundException, tcAPIException Returns the ITResourceServerType from the specified form's field- Parameters:
plFormFieldKey- The key for the form definition- Throws:
tcAPIExceptiontcPropertyNotFoundException
-
getDataFlow
Thor.API.tcResultSet getDataFlow(long plObjectKey) throws tcAPIException, tcObjectNotFoundException, tcAPIException Returns data flow information about the specified object (in the form of a tcResultSet).- Parameters:
plObjectKey- The key for the Object- Returns:
- A tcResultSet containing multiple rows, each holding information about the data flow defined
- Throws:
tcAPIExceptiontcObjectNotFoundException
-
getDataFlowForProcess
Thor.API.tcResultSet getDataFlowForProcess(long plProcessKey) throws tcAPIException, tcProcessNotFoundException, tcAPIException Returns data flow information about the specified process (in the form of a tcResultSet).- Parameters:
plProcessKey- The key for the Object- Returns:
- A tcResultSet containing multiple rows, each holding information about the data flow defined
- Throws:
tcAPIExceptiontcProcessNotFoundException- Since:
- 9.1.0.0
-
addFormDataFlow
void addFormDataFlow(long plProcessKey, long plObjectKey, String sourceName, String targetName) throws tcAPIException, tcProcessNotFoundException, tcObjectNotFoundException, tcAPIException Adds a new data flow mapping- Parameters:
plProcessKey- The process keyplObjectKey- The object keysourceFieldName- The source Field/Table nametargetFieldName- The target Field/Table name- Throws:
tcAPIExceptiontcProcessNotFoundExceptiontcObjectNotFoundException- Since:
- 9.1.0.0
-
removeFormDataFlowMapping
void removeFormDataFlowMapping(long plProcessKey, String sourceName, String targetName) throws tcAPIException, tcProcessNotFoundException, tcAPIException Remove an existing data flow mapping- Parameters:
plProcessKey- The process keysourceFieldName- The source Field/Table nametargetFieldName- The target Field/Table name- Throws:
tcAPIExceptiontcProcessNotFoundException- Since:
- 9.1.0.0
-
getReconDataFlowForProcess
Thor.API.tcResultSet getReconDataFlowForProcess(long plProcessKey) throws tcAPIException, tcProcessNotFoundException, tcAPIException Returns reconciliation data flow information about the specified process (in the form of a tcResultSet).- Parameters:
plProcessKey- The key for the Object- Returns:
- A tcResultSet containing multiple rows, each holding information about the reconciliation data flow defined
- Throws:
tcAPIExceptiontcProcessNotFoundException- Since:
- 9.1.0.0
-
addReconDataFlow
void addReconDataFlow(long plProcessKey, long plObjectKey, String sourceKey, String targetName, boolean isKeyField) throws tcAPIException, tcProcessNotFoundException, tcObjectNotFoundException, tcAPIException Adds a new reconciliation data flow mapping- Parameters:
plProcessKey- The process keyplObjectKey- The object keysourceName- The source Reconciliation field key (orf_key)targetName- The target Field/Table nameisKeyField- The boolean represnting whether key field or not- Throws:
tcAPIExceptiontcProcessNotFoundExceptiontcObjectNotFoundException- Since:
- 9.1.0.0
-
addReconDataFlow
void addReconDataFlow(long plProcessKey, long plObjectKey, String sourceKey, String targetName, boolean isKeyField, boolean isCaseInsensitive) throws tcAPIException, tcProcessNotFoundException, tcObjectNotFoundException, tcAPIException Adds a new reconciliation data flow mapping- Parameters:
plProcessKey- The process keyplObjectKey- The object keysourceName- The source Reconciliation field key (orf_key)targetName- The target Field/Table nameisKeyField- The boolean represnting whether key field or notisCaseInsensitive- The boolean represnting whether key field case insensitive or not- Throws:
tcAPIExceptiontcProcessNotFoundExceptiontcObjectNotFoundException- Since:
- 9.1.0.0
-
editReconDataFlow
void editReconDataFlow(long plProcessKey, long plObjectKey, String sourceKey, boolean isKeyField) throws tcAPIException, tcProcessNotFoundException, tcObjectNotFoundException, tcAPIException Edits an existing reconciliation data flow mapping to change the key field mapping information- Parameters:
plProcessKey- The process keyplObjectKey- The object keysourceKey- The source Reconciliation field key (orf_key)isKeyField- The boolean representing whether key field or not- Throws:
tcAPIExceptiontcProcessNotFoundExceptiontcObjectNotFoundException- Since:
- 9.1.0.0
-
editReconDataFlow
void editReconDataFlow(long plProcessKey, long plObjectKey, String sourceKey, boolean isKeyField, boolean iskeyCaseInsensitiveField) throws tcAPIException, tcProcessNotFoundException, tcObjectNotFoundException, tcAPIException Edits an existing reconciliation data flow mapping to change the key field mapping information- Parameters:
plProcessKey- The process keyplObjectKey- The object keysourceKey- The source Reconciliation field key (orf_key)isKeyField- The boolean representing whether key field or notiskeyCaseInsensitiveField- The boolean representing whether key is case insensitive or not- Throws:
tcAPIExceptiontcProcessNotFoundExceptiontcObjectNotFoundException- Since:
- 9.1.0.0
-
editReconDataFlow
void editReconDataFlow(long plProcessKey, long plObjectKey, String sourceKey, int isKeyField, int iskeyCaseInsensitiveField) throws tcAPIException, tcProcessNotFoundException, tcObjectNotFoundException, tcAPIException Edits an existing reconciliation data flow mapping to change the key field mapping information- Parameters:
plProcessKey- The process keyplObjectKey- The object keysourceKey- The source Reconciliation field key (orf_key)isKeyField- The int representing whether key field or not. The "1" stands for: the field is the key field. The "0" stands for: the field is not the key field. Any other value will not modify the value in the database.iskeyCaseInsensitiveField- The int representing whether key is case insensitive or not. The "1" stands for: the field is the case insensitve key field. The "0" stands for: the field is the case sensitive key field which is the default behavior. Any other value will not modify the value in the database.- Throws:
tcAPIExceptiontcProcessNotFoundExceptiontcObjectNotFoundException- Since:
- 9.1.0.0
-
removeReconDataFlowMapping
void removeReconDataFlowMapping(long plProcessKey, long plObjectKey, String sourceKey) throws tcAPIException, tcProcessNotFoundException, tcObjectNotFoundException, tcAPIException Remove an existing reconciliation data flow mapping- Parameters:
plProcessKey- The process keyplObjectKey- The object keysourceKey- The source reconciliation field key (orf_key)- Throws:
tcAPIExceptiontcProcessNotFoundExceptiontcObjectNotFoundException- Since:
- 9.1.0.0
-
getUDFLabelForCode
Returns the label defined for the UDF field. It takes an input as the meta data column code defined for the field- Parameters:
metaDataCode- Lookup MetaData Code- Returns:
- String Column label for the field
- Throws:
tcAPIException- Since:
- 9.1.0.0
-
attachChildFormToParentForm
void attachChildFormToParentForm(long parentSdkKey, int parentVersion, long childSdkKey, int childVersion) throws tcFormNotFoundException, tcAPIException Attaches a child form to a parent form. The parent form version should not be active (i.e. it should be a new version) and the child form version should be active.- Parameters:
parentSdkKey- The parent form definition keyparentVersion- The parent form version - should NOT be activechildSdkKey- The child form definition keychildVersion- The child form version - should be active- Throws:
tcAPIExceptiontcFormNotFoundException- Since:
- 11.1.2.0.0
-
updateAndActivateFormHierarchy
void updateAndActivateFormHierarchy(long childSdkKey, int childVersion) throws tcFormNotFoundException, tcAPIException Update and activate child form version. The child form version should not be active.- Parameters:
childSdkKey- The child form definition keychildVersion- The child form version - latest but not active- Throws:
tcAPIExceptiontcFormNotFoundException- Since:
- 11.1.2.0.0
-