Thor.API.Operations
Interface tcObjectOperationsIntf


public interface tcObjectOperationsIntf


Method Summary
 void addAdministrator(long plObjectKey, long plGroupKey, boolean pbWrite, boolean pbDelete)
          Adds a group to the list of groups that have administrative access over the specified object.
 void addAdministrators(long plObjectKey, long[] plGroupKeys, boolean[] pbWrite, boolean[] pbDelete)
          Adds groups to the list of groups that have administrative access over the specified object.
 void addAuthorizer(long plObjectKey, long plGroupKey)
          Adds a group to the list of groups that have authorization access over the specified object.
 void addAuthorizers(long plObjectKey, long[] plGroupKeys)
          Adds a group to the list of groups that have authorization access over the specified object.
 void addDependency(long plObjectKey, long plDependsOnObjectKey)
          Creates a dependency for an object.
 void decreaseGroupPriority(long plObjectKey, long plGroupKey)
          This method is used to decrease the priority of a group authorizer for a specific Resource Object.
 void disableAppsForOrganizations(long[] paObjectInstanceKeys, long[] plOrganizationKeys)
          Disables the resource instances for specified organizations.
 void disableAppsForUsers(long[] paObjectInstanceKeys, long[] plUserKeys)
          Disables the resource instances for specified users.
 void enableAppsForOrganizations(long[] paObjectInstanceKeys, long[] plOrganizationKeys)
          Enables the resource instances for specified organizations.
 void enableAppsForUsers(long[] paObjectInstanceKeys, long[] plUserKeys)
          Enables the resource instances for specified users.
 Thor.API.tcResultSet findObjects(java.util.Map phAttributeList)
          Returns a list of objects (in the form of a tcResultSet) that match the provided attribute list.
 Thor.API.tcResultSet findProvisionableObjects(java.util.Map moAttributeMap)
          Returns a list of objects (in the form of a tcResultSet) that match the provided attribute list, are provisionable, and order for users.
 Thor.API.tcResultSet findProvisionableObjectsForOrganizations(long[] orgKeys)
          find all objects that are allowed to be provisioned to an organization .
 Thor.API.tcResultSet findProvisionableObjectsForOrganizations(long[] orgKeys, java.util.Map attributes)
          find all objects that are allowed to be provisioned to an organization .
 Thor.API.tcResultSet findProvisionableObjectsForUser(long plUsrKey, java.util.Map phAttributeList)
          find all objects that are allowed to be provisioned to a user .
 Thor.API.tcResultSet getAdministrators(long plObjectKey)
          Gets a list of all the groups that have administrative access over the specified object.
 Thor.API.tcResultSet getAssociatedOrganizations(long objectKey, java.util.Map attributeMap)
          This method is used to get the list of organizations for whom the specified object is being provisioned.
 Thor.API.tcResultSet getAssociatedUsers(long objectKey, java.util.Map attributeMap)
          This method is used to get the list of users which are associated with a specified object(Provisioned, Disabled, Enabled, etc).
 Thor.API.tcResultSet getAuthorizers(long plObjectKey)
          Gets a list of all the groups that have authorization access over the specified object.
 Thor.API.tcResultSet getDependencies(long plObjectKey)
          Gets a list of all the objects that this object depends on (requires to be provisioned before it can be provisioned).
 java.lang.String[] getObjectTypes()
          Gets a list of all the object types that are defined within Xellerate.
 Thor.API.tcResultSet getProcessesForObject(long objectKey)
          Returns the all the process definitions asoociated with a given object
 boolean getPwdPolicy(java.lang.String plObjectKey)
          To check Resource Object form with password field has any Password policy applied.
 Thor.API.tcResultSet getServiceAccountList(long objectKey, java.util.Map filterMap)
          This method is used to get the details of all service accounts provisioned for this resource.
 Thor.API.tcResultSet getUnassignedAdministrators(long plObjectKey)
          Gets a list of all the groups that logged in user is managing
 Thor.API.tcResultSet getUnassignedAuthorizers(long plObjectKey)
          Gets a list of all the groups that logged in user is managing
 void increaseGroupPriority(long plObjectKey, long plGroupKey)
          This method is used to increase the priority of a group authorizer for a specific Resource Object.
 void removeAdministrator(long plObjectKey, long plGroupKey)
          Removes a group from the list of groups that have administrative access over the specified object.
 void removeAdministrators(long plObjectKey, long[] plGroupKeys)
          Removes groups from the list of groups that have administrative access over the specified object.
 void removeAuthorizer(long plObjectKey, long plGroupKey)
          Removes a group from the list of groups that have authorization access over the specified object.
 void removeAuthorizers(long plObjectKey, long[] plGroupKeys)
          Removes groups from the list of groups that have authorization access over the specified object.
 void removeDependency(long plObjectKey, long plDependsOnObjectKey)
          Removes a dependency for an object.
 void revokeAppsForOrganizations(long[] paObjectInstanceKeys, long[] plOrganizationKeys)
          Revokes the resource instances for the specified organizations.
 void revokeAppsForUsers(long[] paObjectInstanceKeys, long[] plUserKeys)
          Revokes the resource instances for specified users.
 void updateAdministrator(long plObjectKey, long plGroupKey, boolean pbWrite, boolean pbDelete)
          Updates the access permissions an administrative group has over the specified object.
 void updateAdministrators(long plObjectKey, long[] plGroupKeys, boolean[] pbWrites, boolean[] pbDeletes)
          Updates the access permissions an administrative group has over the specified object.
 

Method Detail

findObjects

public Thor.API.tcResultSet findObjects(java.util.Map phAttributeList)
                                 throws Thor.API.Exceptions.tcAPIException,
                                        tcAPIException
Returns a list of objects (in the form of a tcResultSet) that match the provided attribute list.

Parameters:
phAttributeList - A Map of name-value pairs, each pair 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 (%).
Returns:
A tcResultSet containing multiple rows, each holding information about the object
Throws:
tcAPIException

getAuthorizers

public Thor.API.tcResultSet getAuthorizers(long plObjectKey)
                                    throws Thor.API.Exceptions.tcAPIException,
                                           Thor.API.Exceptions.tcObjectNotFoundException,
                                           tcAPIException
Gets a list of all the groups that have authorization access over the specified object.

Parameters:
plObjectKey - String holding the Object Key (corresponds to value in the OBJ_KEY column)
Returns:
A tcResultSet, each row holding information about a group.
Throws:
tcAPIException
tcObjectNotFoundException

addAuthorizer

public void addAuthorizer(long plObjectKey,
                          long plGroupKey)
                   throws Thor.API.Exceptions.tcAPIException,
                          Thor.API.Exceptions.tcObjectNotFoundException,
                          Thor.API.Exceptions.tcGroupNotFoundException,
                          tcAPIException
Adds a group to the list of groups that have authorization access over the specified object.

Parameters:
plObjectKey - String holding the Object Key (corresponds to value in the OBJ_KEY column)
plGroupKey - String holding the Group Key (corresponds to value in the UGP_KEY column)
Throws:
tcAPIException
tcObjectNotFoundException
tcGroupNotFoundException

removeAuthorizer

public void removeAuthorizer(long plObjectKey,
                             long plGroupKey)
                      throws Thor.API.Exceptions.tcAPIException,
                             Thor.API.Exceptions.tcObjectNotFoundException,
                             Thor.API.Exceptions.tcGroupNotFoundException,
                             tcAPIException
Removes a group from the list of groups that have authorization access over the specified object.

Parameters:
plObjectKey - String holding the Object Key (corresponds to value in the OBJ_KEY column)
plGroupKey - String holding the Group Key (corresponds to value in the UGP_KEY column)
Throws:
tcAPIException
tcObjectNotFoundException
tcGroupNotFoundException

getAdministrators

public Thor.API.tcResultSet getAdministrators(long plObjectKey)
                                       throws Thor.API.Exceptions.tcAPIException,
                                              Thor.API.Exceptions.tcObjectNotFoundException,
                                              tcAPIException
Gets a list of all the groups that have administrative access over the specified object.

Parameters:
plObjectKey - String holding the Object Key (corresponds to value in the OBJ_KEY column)
Returns:
A tcResultSet, each row holding information about a group.
Throws:
tcAPIException
tcObjectNotFoundException

addAdministrator

public void addAdministrator(long plObjectKey,
                             long plGroupKey,
                             boolean pbWrite,
                             boolean pbDelete)
                      throws Thor.API.Exceptions.tcAdminNotFoundException,
                             Thor.API.Exceptions.tcAPIException,
                             Thor.API.Exceptions.tcObjectNotFoundException,
                             Thor.API.Exceptions.tcGroupNotFoundException,
                             tcAPIException
Adds a group to the list of groups that have administrative access over the specified object.

Parameters:
plObjectKey - String holding the Object Key (corresponds to value in the OBJ_KEY column)
plGroupKey - String holding the Group Key (corresponds to value in the UGP_KEY column)
pbWrite - Whether the group has write access to the object
pbDelete - Whether the group has delete access to the object
Throws:
tcAdminNotFoundException
tcAPIException
tcObjectNotFoundException
tcGroupNotFoundException

updateAdministrator

public void updateAdministrator(long plObjectKey,
                                long plGroupKey,
                                boolean pbWrite,
                                boolean pbDelete)
                         throws Thor.API.Exceptions.tcAdminNotFoundException,
                                Thor.API.Exceptions.tcAPIException,
                                Thor.API.Exceptions.tcObjectNotFoundException,
                                Thor.API.Exceptions.tcGroupNotFoundException,
                                tcAPIException
Updates the access permissions an administrative group has over the specified object.

Parameters:
plObjectKey - String holding the Object Key
plGroupKey - String holding the Group Key
pbWrite - Whether the group has write access to the object
pbDelete - Whether the group has delete access to the object
Throws:
tcAdminNotFoundException
tcAPIException
tcObjectNotFoundException
tcGroupNotFoundException

removeAdministrator

public void removeAdministrator(long plObjectKey,
                                long plGroupKey)
                         throws Thor.API.Exceptions.tcAPIException,
                                Thor.API.Exceptions.tcAdminNotFoundException,
                                Thor.API.Exceptions.tcObjectNotFoundException,
                                Thor.API.Exceptions.tcGroupNotFoundException,
                                tcAPIException
Removes a group from the list of groups that have administrative access over the specified object.

Parameters:
plObjectKey - String holding the Object Key (corresponds to value in the OBJ_KEY column)
plGroupKey - String holding the Group Key (corresponds to value in the UGP_KEY column)
Throws:
tcAPIException
tcAdminNotFoundException
tcObjectNotFoundException
tcGroupNotFoundException

getDependencies

public Thor.API.tcResultSet getDependencies(long plObjectKey)
                                     throws Thor.API.Exceptions.tcAPIException,
                                            Thor.API.Exceptions.tcObjectNotFoundException,
                                            tcAPIException
Gets a list of all the objects that this object depends on (requires to be provisioned before it can be provisioned).

Parameters:
plObjectKey - String holding the Object Key (corresponds to value in the OBJ_KEY column)
Returns:
A tcResultSet, each row holding information about objects.
Throws:
tcAPIException
tcObjectNotFoundException

addDependency

public void addDependency(long plObjectKey,
                          long plDependsOnObjectKey)
                   throws Thor.API.Exceptions.tcAPIException,
                          Thor.API.Exceptions.tcCycleDetectedException,
                          Thor.API.Exceptions.tcObjectNotFoundException,
                          tcAPIException
Creates a dependency for an object.

Parameters:
plObjectKey - String holding the Object Key (corresponds to value in the OBJ_KEY column) to add a dependency to
plDependsOnObjectKey - The Object key of the object it depends on
Throws:
tcAPIException
tcCycleDetectedException
tcObjectNotFoundException

removeDependency

public void removeDependency(long plObjectKey,
                             long plDependsOnObjectKey)
                      throws Thor.API.Exceptions.tcAPIException,
                             Thor.API.Exceptions.tcObjectNotFoundException,
                             tcAPIException
Removes a dependency for an object.

Parameters:
plObjectKey - String holding the Object Key (corresponds to value in the OBJ_KEY column) to remove the dependency for
plDependsOnObjectKey - The Object key of the object it depends on
Throws:
tcAPIException
tcObjectNotFoundException

getObjectTypes

public java.lang.String[] getObjectTypes()
                                  throws Thor.API.Exceptions.tcAPIException,
                                         tcAPIException
Gets a list of all the object types that are defined within Xellerate.

Returns:
An array of strings, each string an object type defined in Xellerate.
Throws:
tcAPIException

increaseGroupPriority

public void increaseGroupPriority(long plObjectKey,
                                  long plGroupKey)
                           throws Thor.API.Exceptions.tcAPIException,
                                  tcAPIException
This method is used to increase the priority of a group authorizer for a specific Resource Object. The highest priority is 1 and the lowest priority is N.

Parameters:
plObjectKey - This is the resource object key
plGroupKey - This is the key of a group that is part of the group authorizer list for the given Resource Object.
Throws:
tcAPIException

decreaseGroupPriority

public void decreaseGroupPriority(long plObjectKey,
                                  long plGroupKey)
                           throws Thor.API.Exceptions.tcAPIException,
                                  tcAPIException
This method is used to decrease the priority of a group authorizer for a specific Resource Object. The highest priority is 1 and the lowest priority is N.

Parameters:
plObjectKey - This is the resource object key
plGroupKey - This is the key of a group that is part of the group authorizer list for the given Resource Object.
Throws:
tcAPIException

getAssociatedUsers

public Thor.API.tcResultSet getAssociatedUsers(long objectKey,
                                               java.util.Map attributeMap)
                                        throws Thor.API.Exceptions.tcObjectNotFoundException,
                                               Thor.API.Exceptions.tcAPIException,
                                               tcAPIException
This method is used to get the list of users which are associated with a specified object(Provisioned, Disabled, Enabled, etc). If no filter is specified, it returns all the users who are associated with this object.

Parameters:
objectKey - This is the resource object key
Throws:
tcAPIException
tcObjectNotFoundException
Since:
8.0

getAssociatedOrganizations

public Thor.API.tcResultSet getAssociatedOrganizations(long objectKey,
                                                       java.util.Map attributeMap)
                                                throws Thor.API.Exceptions.tcObjectNotFoundException,
                                                       Thor.API.Exceptions.tcAPIException,
                                                       tcAPIException
This method is used to get the list of organizations for whom the specified object is being provisioned. If not filter is specified, it returns all the organizations who are associated with this object in any way

Parameters:
objectKey - This is the resource object key
Throws:
tcAPIException
tcObjectNotFoundException
Since:
8.0

findProvisionableObjectsForUser

public Thor.API.tcResultSet findProvisionableObjectsForUser(long plUsrKey,
                                                            java.util.Map phAttributeList)
                                                     throws Thor.API.Exceptions.tcAPIException,
                                                            tcAPIException
find all objects that are allowed to be provisioned to a user .

Parameters:
plUsrKey - User Key
Throws:
tcAPIException

findProvisionableObjectsForOrganizations

public Thor.API.tcResultSet findProvisionableObjectsForOrganizations(long[] orgKeys)
                                                              throws Thor.API.Exceptions.tcOrganizationNotFoundException,
                                                                     Thor.API.Exceptions.tcBulkException,
                                                                     Thor.API.Exceptions.tcAPIException,
                                                                     tcAPIException
find all objects that are allowed to be provisioned to an organization .

Parameters:
orgKeys - Organization Keys
Throws:
tcAPIException
Thor.API.Exceptions.tcOrganizationNotFoundException
Thor.API.Exceptions.tcBulkException

findProvisionableObjectsForOrganizations

public Thor.API.tcResultSet findProvisionableObjectsForOrganizations(long[] orgKeys,
                                                                     java.util.Map attributes)
                                                              throws Thor.API.Exceptions.tcOrganizationNotFoundException,
                                                                     Thor.API.Exceptions.tcBulkException,
                                                                     Thor.API.Exceptions.tcAPIException,
                                                                     tcAPIException
find all objects that are allowed to be provisioned to an organization .

Parameters:
orgKeys - Organization Keys
attributes - is the attribute map to filter the result set
Throws:
tcAPIException
Thor.API.Exceptions.tcOrganizationNotFoundException
Thor.API.Exceptions.tcBulkException

removeAdministrators

public void removeAdministrators(long plObjectKey,
                                 long[] plGroupKeys)
                          throws Thor.API.Exceptions.tcAPIException,
                                 Thor.API.Exceptions.tcAdminNotFoundException,
                                 Thor.API.Exceptions.tcObjectNotFoundException,
                                 Thor.API.Exceptions.tcGroupNotFoundException,
                                 tcAPIException
Removes groups from the list of groups that have administrative access over the specified object.

Parameters:
plObjectKey - String holding the Object Key (corresponds to value in the OBJ_KEY column)
Throws:
tcAPIException
tcAdminNotFoundException
tcObjectNotFoundException
tcGroupNotFoundException

updateAdministrators

public void updateAdministrators(long plObjectKey,
                                 long[] plGroupKeys,
                                 boolean[] pbWrites,
                                 boolean[] pbDeletes)
                          throws Thor.API.Exceptions.tcAdminNotFoundException,
                                 Thor.API.Exceptions.tcAPIException,
                                 Thor.API.Exceptions.tcObjectNotFoundException,
                                 Thor.API.Exceptions.tcGroupNotFoundException,
                                 tcAPIException
Updates the access permissions an administrative group has over the specified object.

Parameters:
plObjectKey - String holding the Object Key
Throws:
tcAdminNotFoundException
tcAPIException
tcObjectNotFoundException
tcGroupNotFoundException

addAdministrators

public void addAdministrators(long plObjectKey,
                              long[] plGroupKeys,
                              boolean[] pbWrite,
                              boolean[] pbDelete)
                       throws Thor.API.Exceptions.tcAdminNotFoundException,
                              Thor.API.Exceptions.tcAPIException,
                              Thor.API.Exceptions.tcObjectNotFoundException,
                              Thor.API.Exceptions.tcGroupNotFoundException,
                              tcAPIException
Adds groups to the list of groups that have administrative access over the specified object.

Parameters:
plObjectKey - String holding the Object Key (corresponds to value in the OBJ_KEY column)
plGroupKeys - holding the Group Key (corresponds to value in the UGP_KEY column)
Throws:
tcAdminNotFoundException
tcAPIException
tcObjectNotFoundException
tcGroupNotFoundException

addAuthorizers

public void addAuthorizers(long plObjectKey,
                           long[] plGroupKeys)
                    throws Thor.API.Exceptions.tcAPIException,
                           Thor.API.Exceptions.tcObjectNotFoundException,
                           Thor.API.Exceptions.tcGroupNotFoundException,
                           tcAPIException
Adds a group to the list of groups that have authorization access over the specified object.

Parameters:
plObjectKey - String holding the Object Key (corresponds to value in the OBJ_KEY column)
plGroupKeys - holding the Group Keys (corresponds to value in the UGP_KEY column)
Throws:
tcAPIException
tcObjectNotFoundException
tcGroupNotFoundException

removeAuthorizers

public void removeAuthorizers(long plObjectKey,
                              long[] plGroupKeys)
                       throws Thor.API.Exceptions.tcAPIException,
                              Thor.API.Exceptions.tcObjectNotFoundException,
                              Thor.API.Exceptions.tcGroupNotFoundException,
                              tcAPIException
Removes groups from the list of groups that have authorization access over the specified object.

Parameters:
plObjectKey - holding the Object Key (corresponds to value in the OBJ_KEY column)
plGroupKeys - holding the Group Keys (corresponds to value in the UGP_KEY column)
Throws:
tcAPIException
tcObjectNotFoundException
tcGroupNotFoundException

getUnassignedAdministrators

public Thor.API.tcResultSet getUnassignedAdministrators(long plObjectKey)
                                                 throws Thor.API.Exceptions.tcAPIException,
                                                        Thor.API.Exceptions.tcObjectNotFoundException,
                                                        tcAPIException
Gets a list of all the groups that logged in user is managing

Parameters:
plObjectKey - String holding the Object Key (corresponds to value in the OBJ_KEY column)
Returns:
A tcResultSet, each row holding information about a group.
Throws:
tcAPIException
tcObjectNotFoundException

getUnassignedAuthorizers

public Thor.API.tcResultSet getUnassignedAuthorizers(long plObjectKey)
                                              throws Thor.API.Exceptions.tcAPIException,
                                                     Thor.API.Exceptions.tcObjectNotFoundException,
                                                     tcAPIException
Gets a list of all the groups that logged in user is managing

Parameters:
plObjectKey - holding the Object Key (corresponds to value in the OBJ_KEY column)
Returns:
A tcResultSet, each row holding information about a group.
Throws:
tcAPIException
tcObjectNotFoundException

disableAppsForUsers

public void disableAppsForUsers(long[] paObjectInstanceKeys,
                                long[] plUserKeys)
                         throws Thor.API.Exceptions.tcObjectNotFoundException,
                                Thor.API.Exceptions.tcUserNotFoundException,
                                Thor.API.Exceptions.tcAPIException,
                                Thor.API.Exceptions.tcBulkException,
                                tcAPIException
Disables the resource instances for specified users.

Parameters:
paObjectInstanceKeys - The key of the object instances for users in the system.
plUserKeys - The key of the users.
Throws:
tcObjectNotFoundException
tcUserNotFoundException
tcAPIException
tcBulkException

disableAppsForOrganizations

public void disableAppsForOrganizations(long[] paObjectInstanceKeys,
                                        long[] plOrganizationKeys)
                                 throws Thor.API.Exceptions.tcObjectNotFoundException,
                                        Thor.API.Exceptions.tcOrganizationNotFoundException,
                                        Thor.API.Exceptions.tcAPIException,
                                        Thor.API.Exceptions.tcBulkException,
                                        tcAPIException
Disables the resource instances for specified organizations.

Parameters:
paObjectInstanceKeys - The key of the object instances for organizations in the system.
plOrganizationKeys - The key of the organizations.
Throws:
tcObjectNotFoundException
tcOrganizationNotFoundException
tcAPIException
tcBulkException

enableAppsForUsers

public void enableAppsForUsers(long[] paObjectInstanceKeys,
                               long[] plUserKeys)
                        throws Thor.API.Exceptions.tcObjectNotFoundException,
                               Thor.API.Exceptions.tcUserNotFoundException,
                               Thor.API.Exceptions.tcAPIException,
                               Thor.API.Exceptions.tcBulkException,
                               tcAPIException
Enables the resource instances for specified users.

Parameters:
paObjectInstanceKeys - The key of the object instances for users in the system.
plUserKeys - The key of the users.
Throws:
tcObjectNotFoundException
tcUserNotFoundException
tcAPIException
tcBulkException

enableAppsForOrganizations

public void enableAppsForOrganizations(long[] paObjectInstanceKeys,
                                       long[] plOrganizationKeys)
                                throws Thor.API.Exceptions.tcObjectNotFoundException,
                                       Thor.API.Exceptions.tcOrganizationNotFoundException,
                                       Thor.API.Exceptions.tcAPIException,
                                       Thor.API.Exceptions.tcBulkException,
                                       tcAPIException
Enables the resource instances for specified organizations.

Parameters:
paObjectInstanceKeys - The key of the object instances for organizations in the system.
plOrganizationKeys - The key of the organizations.
Throws:
tcObjectNotFoundException
tcOrganizationNotFoundException
tcAPIException
tcBulkException

revokeAppsForUsers

public void revokeAppsForUsers(long[] paObjectInstanceKeys,
                               long[] plUserKeys)
                        throws Thor.API.Exceptions.tcObjectNotFoundException,
                               Thor.API.Exceptions.tcUserNotFoundException,
                               Thor.API.Exceptions.tcAPIException,
                               Thor.API.Exceptions.tcBulkException,
                               tcAPIException
Revokes the resource instances for specified users.

Parameters:
paObjectInstanceKeys - The key of the object instances for users in the system.
plUserKeys - The key of the users.
Throws:
tcObjectNotFoundException
tcUserNotFoundException
tcAPIException
tcBulkException

revokeAppsForOrganizations

public void revokeAppsForOrganizations(long[] paObjectInstanceKeys,
                                       long[] plOrganizationKeys)
                                throws Thor.API.Exceptions.tcObjectNotFoundException,
                                       Thor.API.Exceptions.tcOrganizationNotFoundException,
                                       Thor.API.Exceptions.tcAPIException,
                                       Thor.API.Exceptions.tcBulkException,
                                       tcAPIException
Revokes the resource instances for the specified organizations.

Parameters:
paObjectInstanceKeys - The key of the object instances for organizations in the system.
plOrganizationKeys - The key of the organizations.
Throws:
tcObjectNotFoundException
tcOrganizationNotFoundException
tcAPIException
tcBulkException

getProcessesForObject

public Thor.API.tcResultSet getProcessesForObject(long objectKey)
                                           throws Thor.API.Exceptions.tcAPIException,
                                                  Thor.API.Exceptions.tcObjectNotFoundException,
                                                  tcAPIException
Returns the all the process definitions asoociated with a given object

Parameters:
objectKey - Resource object Key
Returns:
a result set containing
  • OProcess Definition.Key
  • Process Definition.Name
  • Process Definition.Default Process
  • Process Definition.Type
  • Process.Process Definition.Auto Save
  • Structure Utility.Key
  • Tasks.Auto Prepopulate
Throws:
tcAPIException - If an error occurs while retreving the processes data
tcObjectNotFoundException - If the specified object does not exist in the system
Since:
8.0

getServiceAccountList

public Thor.API.tcResultSet getServiceAccountList(long objectKey,
                                                  java.util.Map filterMap)
                                           throws Thor.API.Exceptions.tcObjectNotFoundException,
                                                  Thor.API.Exceptions.tcAPIException,
                                                  tcAPIException
This method is used to get the details of all service accounts provisioned for this resource. If no filter is specified, it returns all the service accounts.

Parameters:
objectKey - This is the resource object key
Throws:
tcAPIException
tcObjectNotFoundException
Since:
8.0

findProvisionableObjects

public Thor.API.tcResultSet findProvisionableObjects(java.util.Map moAttributeMap)
                                              throws Thor.API.Exceptions.tcAPIException,
                                                     tcAPIException
Returns a list of objects (in the form of a tcResultSet) that match the provided attribute list, are provisionable, and order for users.

Returns:
A tcResultSet containing multiple rows, each holding information about the object
Throws:
tcAPIException
Since:
8.0

getPwdPolicy

public boolean getPwdPolicy(java.lang.String plObjectKey)
                     throws Thor.API.Exceptions.tcAPIException,
                            tcAPIException
To check Resource Object form with password field has any Password policy applied.

Returns:
boolean
Throws:
tcAPIException
Since:
8.0


Copyright © 1991, 2006 Oracle. All rights reserved.