Package Thor.API.Operations
Interface GCOperationsIntf
- All Superinterfaces:
tcUtilityOperationsIntf
-
Method Summary
Modifier and TypeMethodDescriptioncheckResourceObject
(String connectorName) This method return the entity name of the resourceboolean
connectorLookup
(String connectorName) Connector Lookup for Connector Name UniquenessThor.API.tcResultSet
findConnectorDefinitions
(Map phAttributeList) Returns a list of connectors that match the provided attribute list.formValidationResults
(HashMap formNames) This method is used to consume the output of the GC Form screen and check for each of the selected values of form names, if they exist in OIM DBgetColumnNames
(String tableName) This API returns the column names of a table that will be used in a lookup query associated to a lookup fieldThis method return the default date format which is used in OIM for ReconciliationgetFieldValues
(String selection) This API returns the column names of a table that will be used in a lookup query associated to a lookup fieldThis API returns a list of tasks that need to be added to the process definition for user field updatesboolean
boolean
isValidFieldProperty
(String propertyName, String propertyValue) This API returns the information if a lookup field is validcom.thortech.xl.gc.vo.designtime.GenericAdapter
long
saveConnectorDefinition
(com.thortech.xl.gc.vo.designtime.GenericAdapter adapter) void
Methods inherited from interface Thor.API.Base.tcUtilityOperationsIntf
close, getName, setCountry, setLanguage, setVariant
-
Method Details
-
formValidationResults
This method is used to consume the output of the GC Form screen and check for each of the selected values of form names, if they exist in OIM DB- Parameters:
formNames
- <Key: Dataset Name ("AccountData", in case of parent), Value: Selected name>- Returns:
- <Key: Dataset Name ("AccountData", in case of parent), Value: Boolean result (user should do Boolean.getBoolean() while retrieving values)>
- Throws:
tcAPIException
-
setParentVersion
- Throws:
tcAPIException
tcAPIException
-
lookup
com.thortech.xl.gc.vo.designtime.GenericAdapter lookup(String connectorName) throws tcAPIException, tcAPIException - Throws:
tcAPIException
tcAPIException
-
saveConnectorDefinition
long saveConnectorDefinition(com.thortech.xl.gc.vo.designtime.GenericAdapter adapter) throws tcAPIException, tcAPIException - Throws:
tcAPIException
tcAPIException
-
connectorLookup
Connector Lookup for Connector Name Uniqueness- Parameters:
connectorName
-- Returns:
- gcExists
- Throws:
tcAPIException
-
findConnectorDefinitions
Thor.API.tcResultSet findConnectorDefinitions(Map phAttributeList) throws tcAPIException, tcAPIException Returns a list of connectors that match the provided attribute list.- Parameters:
phAttributeList
- AMap
of attribute-value pairs with each entry containing criteria to find users. TheMap
key should contain aString
representation of the metadata codes and/or user-defined columns. The metadata codes are listed below in the contents of the returned tcResultSet. TheMap
value can contain aString
representation of the criteria to find the desired requests. Note that theMap
values can include wild cards(%). String connectorName = (String) moAttributeMap.get("Connector Definition.Name"); String provConnectorType = (String) moAttributeMap.get("Connector Definition.Provision Type"); String reconConnectorType = (String) moAttributeMap.get("Connector Definition.Provision Transport Type"); String reconFormatType = (String) moAttributeMap.get("Connector Definition.Provision Payload Format"); String reconTransportType = (String) moAttributeMap.get("Connector Definition.Reconciliation Type"); String provFormatType = (String) moAttributeMap.get("Connector Definition.Reconciliation Transport Type"); String provTransportType = (String) moAttributeMap.get("Connector Definition.Reconciliation Payload Format");- Returns:
- A
tcResultSet
that contains user-defined columns as well as the following user-related information:- Connector Definition.Name
- Connector Definition.Provision Type
- Connector Definition.Provision Transport Type
- Connector Definition.Provision Payload Format
- Connector Definition.Reconciliation Type
- Connector Definition.Reconciliation Transport Type
- Connector Definition.Reconciliation Payload Format
- Throws:
tcAPIException
-
checkResourceObject
This method return the entity name of the resource- Parameters:
String
- connectorName- Returns:
- EntityName
- Throws:
tcAPIException
tcAPIException
- Since:
- 9.1.0.0
-
getDefaultDateFormat
This method return the default date format which is used in OIM for Reconciliation- Parameters:
String
- connectorName- Returns:
- EntityName
- Throws:
tcAPIException
tcAPIException
- Since:
- 9.1.0.0
-
getUserFieldUpdtedTasks
This API returns a list of tasks that need to be added to the process definition for user field updates- Returns:
- hashmap with key as meta data column code for the column and value as the hashmap with column name and task to be added
- Throws:
tcAPIException
tcAPIException
-
isValidFieldProperty
boolean isValidFieldProperty(String propertyName, String propertyValue) throws tcAPIException, tcAPIException This API returns the information if a lookup field is valid- Returns:
- boolean result of validity of a lookup field
- Throws:
tcAPIException
tcAPIException
- Since:
- 9.1.0.0
-
getColumnNames
This API returns the column names of a table that will be used in a lookup query associated to a lookup field- Returns:
- List Collection of a Names of columns of a tables as Strings
- Throws:
tcAPIException
tcAPIException
- Since:
- 9.1.0.0
-
getFieldValues
This API returns the column names of a table that will be used in a lookup query associated to a lookup field- Returns:
- List Collection of a Names of columns of a tables as Strings
- Throws:
tcAPIException
tcAPIException
- Since:
- 9.1.0.0
-
isGTCAutoImport
- Throws:
tcAPIException
tcAPIException
-