public interface tcITResourceDefinitionOperationsIntf extends tcUtilityOperationsIntf
Modifier and Type | Method and Description |
---|---|
Thor.API.tcResultSet |
getITResourceDefinition(java.util.Map phAttributeList)
Returns the IT Resource definition(s) that match the provided attribute list.
|
Thor.API.tcResultSet |
getITResourceDefinitionParameters(long plITResourceDefinitionKey)
Returns the IT Resource parameter(s) for the specified IT Resource definition.
|
void |
updateITResourceDefinitionName(long itResourceDefinitionKey,
java.util.Map attributes)
Updates the specified IT Resource type definition instance.
|
close, getName, setCountry, setLanguage, setVariant
Thor.API.tcResultSet getITResourceDefinition(java.util.Map phAttributeList) throws tcAPIException, tcAPIException
phAttributeList
- A Map
of name-value pairs. The Map
key should contain metadata codes and the Map
value should contain the respective search criteria. Here is a list of metadata codes to use: tcResultSet
containing the following IT Resource definition information: tcAPIException
Thor.API.tcResultSet getITResourceDefinitionParameters(long plITResourceDefinitionKey) throws tcITResourceDefinitionNotFoundException, tcAPIException, tcAPIException
plITResourceDefinitionKey
- The key of the IT Resource definition.tcResultSet
that contains the parameters for this IT Resource definition. Here is a list of metadata codes to use: tcITResourceDefinitionNotFoundException
tcAPIException
void updateITResourceDefinitionName(long itResourceDefinitionKey, java.util.Map attributes) throws tcITResourceDefinitionNotFoundException, tcAPIException, tcInvalidAttributeException, tcAPIException
itResourceDefinitionKey
- The key of the IT Resource type definition instanceattributes
- A map of name-value pairs, each entry holding an attribute-value pair to set/modify for this IT Resource type definition. The Attribute names are the String column codes (from the Xellerate metadata). The Attribute Values are the String attributes of the columns to set. tcITResourceDefinitionNotFoundException
- If the specified IT Resource type definition instance not foundtcAPIException
- Thrown if an error occurs while retrieving the data about unassigned groups from the databasetcInvalidAttributeException
- If one or more of the attributes in the map are invalid attributes of the specified IT Resource type definition instance