|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Method Summary | |
void |
addAdministrator(long plGroupKey,
long plAdminGroupKey,
boolean pbWrite,
boolean pbDelete)
Adds a group to have administrative control over the specified group |
void |
addAdministrators(long plGroupKey,
long[] palAdminGroupKeys,
boolean[] pbWrite,
boolean[] pbDelete)
Adds a list of groups to have administrative control over the specified group |
void |
addForm(long plGroupKey,
long plWinKey,
long plParentKey,
int sequence,
int nestlevel)
Adds a form to a given group |
void |
addForms(long plGroupKey,
long[] palWinKeys,
long[] palParentKeys,
int[] sequence,
int[] nestlevel)
Adds a set of form to a given group |
void |
addMemberGroup(long plGroupKey,
long plMemberGroupKey)
Adds a group as a member to the specified group. |
void |
addMemberGroups(long plGroupKey,
long[] palMemberGroupKeys)
Adds a list of user groups as members to the specified group. |
void |
addMembershipRule(long plGroupKey,
long plRuleKey)
Adds the Membership Rule to a given group |
void |
addMembershipRules(long groupKey,
long[] ruleKeys)
Adds a list of Membership Rules to a given group |
void |
addMemberUser(long plGroupKey,
long plUserKey)
Adds the specified user to the specified group. |
void |
addMemberUsers(long plGroupKey,
long[] paUserKeys)
Adds the specified users to the specified group. |
void |
addMenuItem(long plGroupKey,
long plWinKey)
Adds a menu item to the specified group |
void |
addMenuItems(long groupKey,
long[] winKeys)
Adds a list of menu items to the specified group |
void |
addObjectPermission(long plGroupKey,
long plDobKey,
boolean insertAllow,
boolean updateAllow,
boolean deleteAllow)
Adds an object permission to a given group |
void |
addObjectPermissions(long groupKey,
long[] dobKeys,
boolean[] insertAllow,
boolean[] updateAllow,
boolean[] deleteAllow)
Adds object permissions to a given group |
void |
addProvisionPolicies(long groupKey,
long[] policykeys)
Adds a list of Provision Policies to the specified group |
void |
addProvisionPolicy(long plGroupKey,
long plPolicyKey)
Adds a Provision Policy to a given group |
void |
addReports(long groupKey,
long[] reportKeys)
Adds a list of reports to the specified group |
long |
createGroup(java.util.Map phAttributes)
Create a group with the list of specified attributes. |
void |
decreaseMemberGroupPriority(long plGroupKey,
long plMemberGroupKey)
Decrease the priority of a group member in the specified group |
void |
decreaseMemberUserPriority(long plGroupKey,
long plUserKey)
Decrease the priority of a user member in the specified group |
void |
deleteGroup(long groupKey)
Deletes a group from the Xellerate |
void |
deleteGroups(long[] groupKeys)
Deletes a set of groups from the array of group keys |
Thor.API.tcResultSet |
findGroups(java.util.Map phAttributeList)
Returns a list of groups (in the form of tcResultSet) that match the provided attribute list. |
Thor.API.tcResultSet |
findGroups(java.util.Map phAttributeList,
java.lang.String permission)
Returns a list of groups (in the form of tcResultSet) that match the provided attribute list based on permission. |
Thor.API.tcResultSet |
findUnAssignedGroups(java.util.Map phAttributeList,
long plUserKey)
Returns a list of groups (in the form of tcResultSet) that match the provided attribute list. |
Thor.API.tcResultSet |
getAdministrators(long plGroupKey)
Gets a list of the groups that have administrative control over the specified group |
Thor.API.tcResultSet |
getAllForms()
Returns all the forms available |
Thor.API.tcResultSet |
getAllMemberGroups(long plGroupKey)
Gets a list of the groups that are a member of this group by direct and indirect inclusion. |
com.thortech.xl.orb.dataaccess.tcDataSetData |
getAllMemberGroupsData(long plGroupKey)
Gets a list of the groups that are a member of this group by direct and indirect inclusion. |
Thor.API.tcResultSet |
getAllMembers(long plGroupKey)
Gets a list of all users and groups that are member of the specified group by direct inclusion. |
Thor.API.tcResultSet |
getAllMembershipRules()
Returns all the available Membership Rules in Xellerate |
Thor.API.tcResultSet |
getAllMemberUsers(long plGroupKey)
Gets a list of all the users that are a member of this group, by direct or indirect inclusion. |
Thor.API.tcResultSet |
getAllMemberUsers(long plGroupKey,
int startRow,
int pageSize,
java.lang.String order,
boolean ascendingOrder)
Gets a list of all the users that are a member of this group, by direct or indirect inclusion. |
Thor.API.tcResultSet |
getAllMemberUsersAndGroups(long groupKey)
Gets a list of all users and groups that are members of the specified group by direct and indirect inclusion. |
Thor.API.tcResultSet |
getAllMenuItems()
Returns all available Menu Items that can be assigned to a group |
Thor.API.tcResultSet |
getAllObjectPermissions()
Returns all available Object Permissions in the system |
Thor.API.tcResultSet |
getAllParentGroups(long groupKey)
Gets a list of the groups that are a parent of this group by direct and indirect inclusion. |
Thor.API.tcResultSet |
getAllProvisionPolicies()
Returns all the available Provision Policies that can be assigned to groups |
Thor.API.tcResultSet |
getAssignedForms(long groupKey)
Returns the assigned forms for a given group |
Thor.API.tcResultSet |
getAssignedMembershipRules(long groupKey)
Returns all the assigned Membership Rules for a given group |
Thor.API.tcResultSet |
getAssignedMenuItems(long groupKey)
Returns all the assigned Menu Items for a given group |
Thor.API.tcResultSet |
getAssignedObjectPermissions(long groupKey)
Get all assigned Object Permission for the given group |
Thor.API.tcResultSet |
getAssignedProvisionPolicies(long groupKey)
Returns all the assign Provision Policies from a given group |
Thor.API.tcResultSet |
getAssignedReports(long plGroupKey)
Returns all the assigned Reports for a given group |
Thor.API.tcResultSet |
getMemberGroups(long plGroupKey)
Gets a list of the groups that are a member of this group by direct inclusion. |
Thor.API.tcResultSet |
getMemberUsers(long plGroupKey)
Gets a list of the users that are a member of this group by direct inclusion. |
Thor.API.tcResultSet |
getUnassignedAdministrators(long plGroupKey)
Gets a list of the groups that are not assigned as the administrator groups of a specified group |
Thor.API.tcResultSet |
getUnassignedForms(long groupKey)
Returns the unassigned forms for a given group |
Thor.API.tcResultSet |
getUnassignedMemberGroups(long groupKey,
java.util.Map attributeMap)
Gets a list of the groups that are not assigned as member groups of the given group |
Thor.API.tcResultSet |
getUnassignedMembershipRules(long groupKey)
Returns all the unassigned Membership Rules for a given group |
Thor.API.tcResultSet |
getUnassignedMemberUsers(long groupKey,
java.util.Map attributeMap)
Gets a list of the users that are not assigned as members of the given group |
Thor.API.tcResultSet |
getUnassignedMenuItems(long groupKey)
Returns all the unassigned Menu Items for a given group |
Thor.API.tcResultSet |
getUnassignedObjectPermissions(long groupKey)
Get all unassigned Object Permission for the given group |
Thor.API.tcResultSet |
getUnassignedProvisionPolicies(long groupKey)
Returns all the unassigned Provision Policies from a given group |
Thor.API.tcResultSet |
getUnassignedReports(long plGroupKey)
Returns all the unassigned Reports for a given group |
void |
increaseMemberGroupPriority(long plGroupKey,
long plMemberGroupKey)
Increase the priority of a group member in the specified group |
void |
increaseMemberUserPriority(long plGroupKey,
long plUserKey)
Increase the priority of a user member in the specified group |
void |
removeAdministrator(long plGroupKey,
long plAdminGroupKey)
Removes a group from having administrative control over the specified group |
void |
removeAdministrators(long plGroupKey,
long[] palAdminGroupKeys)
Removes a list of groups from having administrative control over a specified group |
void |
removeAllMembers(long plGroupKey)
Removes all member users and sub groups of the specified group |
void |
removeForm(long plGroupKey,
long plWinKey)
Removes a specific form from a group |
void |
removeForms(long groupKey,
long[] winKeys)
Removes a list of specified forms from a group These are the forms a user in the specified group can see when logged into the java client |
void |
removeMemberGroup(long plGroupKey,
long plMemberGroupKey)
Removes the specified member group from the specified group. |
void |
removeMemberGroups(long plGroupKey,
long[] palMemberGroupKeys)
Removes a list of user group members from the specified group. |
void |
removeMembershipRule(long plGroupKey,
long plRuleKey)
Removes a Membership Rule from a group |
void |
removeMembershipRules(long groupKey,
long[] ruleKeys)
Removes a list of Membership Rules from a group |
void |
removeMemberUser(long plGroupKey,
long plUserKey)
Removes the specified user from the specified group. |
void |
removeMemberUsers(long plGroupKey,
long[] paUserKeys)
Removes the specified users from the specified group. |
void |
removeMenuItem(long plGroupKey,
long plWinKey)
Removes the given menu item from a given group |
void |
removeMenuItems(long groupKey,
long[] winKeys)
Removes a list of menu items from the specified group |
void |
removeObjectPermission(long plGroupKey,
long plObjectPermissionKey)
Removes assigned Object Permission from the group |
void |
removeObjectPermissions(long groupKey,
long[] dobKeys)
Removes assigned Object Permissions from the group |
void |
removeProvisionPolicies(long groupKey,
long[] policyKeys)
Removes a list of assigned Provision Policies from the specified group |
void |
removeProvisionPolicy(long plGroupKey,
long plPolicyKey)
Removes an assigned Provision Policy from the group |
void |
removeReports(long groupKey,
long[] reportKeys)
Removes a list of reports from the specified group |
void |
setMemberGroupPriority(long plGroupKey,
long plMemberGroupKey,
int pnPriority)
Set the priority of a group member in the specified group |
void |
setMemberUserPriority(long plGroupKey,
long plUserKey,
int pnPriority)
Set the priority of a user member in the specified group |
void |
updateAdministrator(long plGroupKey,
long plAdminGroupKey,
boolean pbWrite,
boolean pbDelete)
Updates the administrative access a group has over the specified group |
void |
updateAdministrators(long plGroupKey,
long[] palAdminGroupKeys,
boolean[] pbWrite,
boolean[] pbDelete)
Updates the administrative access for a list of groups over the specified group |
void |
updateGroup(Thor.API.tcResultSet poGroupResultSet,
java.util.Map phAttributeList)
Updates a group in Xellerate. |
void |
updateObjectPermission(long groupKey,
long dobKey,
java.util.Map attribute)
Updates the object permission for the allow fields: insert, update, delete |
void |
updateObjectPermissions(long groupKey,
com.thortech.xl.vo.DataObjectPermissions[] dataObjectPermissions)
Updates the object permission of the given adminisrtators of the object for the allow fields: insert, update, delete |
| Method Detail |
public void addAdministrator(long plGroupKey,
long plAdminGroupKey,
boolean pbWrite,
boolean pbDelete)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcAdminNotFoundException,
Thor.API.Exceptions.tcAdminGroupInvalidException,
tcAPIException
plGroupKey - - The key of the groupplAdminGroupKey - - The key of the admin grouppbWrite - - Whether the group has write access to the grouppbDelete - - Whether the group has delete access to the group
tcAPIException - thrown if errors occur in the data set OR while saving
tcGroupNotFoundException - thrown if plGroupKey does not exist
tcAdminNotFoundException - thrown if plAdminGroupKey does not exist
tcAdminGroupInvalidException - thrown if administrator is not allowed to be added
public void addAdministrators(long plGroupKey,
long[] palAdminGroupKeys,
boolean[] pbWrite,
boolean[] pbDelete)
throws Thor.API.Exceptions.tcAdminNotFoundException,
Thor.API.Exceptions.tcAdminGroupInvalidException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcBulkException,
tcAPIException
plGroupKey - - The key of the grouppalAdminGroupKeys - - The keys of the admin groupspbWrite - - Whether the admin groups to have write access over the specified grouppbDelete - - Whether the admin groups to have delete access over the specified group
tcAdminNotFoundException - thrown if one or many palAdminGroupKeys do not exist
tcAdminGroupInvalidException - thrown if administrator is not allowed to be updated
tcGroupNotFoundException - thrown if plGroupKey does not exist
tcAPIException - thrown if errors occur in the data set OR while saving
tcBulkException
public void addMemberGroup(long plGroupKey,
long plMemberGroupKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcInvalidMemberGroupException,
Thor.API.Exceptions.tcMemberGroupNotFoundException,
tcAPIException
plGroupKey - - The key of the group to add the member toplMemberGroupKey - - The key of the group to add as a member
tcAPIException - thrown if data set errors occur OR while saving
tcGroupNotFoundException - thrown if plGroupKey does not exist
tcInvalidMemberGroupException - thrown if member is not allowed to be added to the group
tcMemberGroupNotFoundException - thrown if plMemberGroupKey does not exist
public void addMemberGroups(long plGroupKey,
long[] palMemberGroupKeys)
throws Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcInvalidMemberGroupException,
Thor.API.Exceptions.tcMemberGroupNotFoundException,
Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcBulkException,
tcAPIException
plGroupKey - - The key of the group to add members topalMemberGroupKeys - - The keys of the member groups to be added
tcGroupNotFoundException - thrown if plGroupKey does not exist
tcInvalidMemberGroupException - thrown if member is not allowed to be added to the group
tcMemberGroupNotFoundException - thrown if one or many palMemberGroupKeys do not exist
tcAPIException - thrown if data set errors occur OR while saving
tcBulkException
public void addMemberUser(long plGroupKey,
long plUserKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcUserNotFoundException,
tcAPIException
plGroupKey - - The key of the group to add the user toplUserKey - - The key of the user to add
tcAPIException - thrown if data set errors occur OR while saving
tcGroupNotFoundException - thrown if plGroupKey does not exist
tcUserNotFoundException - thrown if plUserKey does not exist
public void addMemberUsers(long plGroupKey,
long[] paUserKeys)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcUserNotFoundException,
tcAPIException
plGroupKey - - The key of the group to add the user topaUserKeys - - The key of the user to add
tcAPIException - thrown if data set errors occur OR while saving
tcGroupNotFoundException - thrown if plGroupKey does not exist
tcUserNotFoundException - thrown if plUserKey does not exist
public long createGroup(java.util.Map phAttributes)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcDuplicateGroupException,
Thor.API.Exceptions.tcInvalidAttributeException,
tcAPIException
phAttributes - - The attributes to set for the new group being created
tcAPIException - thrown if errors occur while saving
tcDuplicateGroupException - thrown if Group Name already exists
tcInvalidAttributeException - thrown if a group key is provided as an attribute
public void decreaseMemberGroupPriority(long plGroupKey,
long plMemberGroupKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcMemberGroupNotFoundException,
tcAPIException
plGroupKey - - The key of the parent groupplMemberGroupKey - - The key of the member group
tcAPIException - thrown if data set errors occur OR while saving OR member group doesn't correspong to group
tcGroupNotFoundException - thrown if plGroupKey does not exist
tcMemberGroupNotFoundException - thrown if plMemberGroupKey does not exist
public void decreaseMemberUserPriority(long plGroupKey,
long plUserKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcUserNotFoundException,
Thor.API.Exceptions.tcGroupNotFoundException,
tcAPIException
plGroupKey - - The key of the groupplUserKey - - The key of the user
tcAPIException - thrown if data set errors occur OR while saving OR user doesn't correspong to group
tcUserNotFoundException - thrown if plUserKey does not exist
tcGroupNotFoundException - thrown if plGroupKey does not exist
public Thor.API.tcResultSet findGroups(java.util.Map phAttributeList)
throws Thor.API.Exceptions.tcAPIException,
tcAPIException
phAttributeList - - 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 (%).
tcAPIException - thrown if data set errors occur
public Thor.API.tcResultSet findGroups(java.util.Map phAttributeList,
java.lang.String permission)
throws Thor.API.Exceptions.tcAPIException,
tcAPIException
phAttributeList - - 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 (*).permission - - the value of permission could be Read, Write or Delete.
tcAPIException - thrown if data set errors occur
public Thor.API.tcResultSet getAdministrators(long plGroupKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
tcAPIException
plGroupKey - - The key of the group
tcAPIException - thrown if data set errors occur
tcGroupNotFoundException - thrown if plGroupKey does not exist
public Thor.API.tcResultSet getUnassignedMemberUsers(long groupKey,
java.util.Map attributeMap)
throws Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
tcGroupNotFoundException - thrown if plGroupKey does not exist
tcAPIException - thrown if data set errors occur
public Thor.API.tcResultSet getUnassignedMemberGroups(long groupKey,
java.util.Map attributeMap)
throws Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
tcGroupNotFoundException - thrown if plGroupKey does not exist
tcAPIException - thrown if data set errors occur
public Thor.API.tcResultSet getUnassignedAdministrators(long plGroupKey)
throws Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
plGroupKey - - The key of the group
tcGroupNotFoundException - thrown if plGroupKey does not exist
tcAPIException - thrown if data set errors occur
public Thor.API.tcResultSet getAllMemberUsers(long plGroupKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
tcAPIException
plGroupKey - - The key of the group
tcAPIException - thrown if data set errors occur
tcGroupNotFoundException - thrown if plGroupKey does not exist
public Thor.API.tcResultSet getAllMemberUsers(long plGroupKey,
int startRow,
int pageSize,
java.lang.String order,
boolean ascendingOrder)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
tcAPIException
plGroupKey - - The key of the groupstartRow - - The starting row of the resultpageSize - - The end row of the resultorder - - The order in which the result set is based since only a subset of the whole matching set is return, the caller will not be able to sort accurately with only that subset.ascendingOrder - - a boolean value if the sorting is to be ascending or descending
tcAPIException - thrown if data set errors occur
tcGroupNotFoundException - thrown if plGroupKey does not exist
public Thor.API.tcResultSet getMemberGroups(long plGroupKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
tcAPIException
plGroupKey - - The key of the group
tcAPIException - thrown if data set errors occur
tcGroupNotFoundException - thrown if plGroupKey does not exist
public Thor.API.tcResultSet getAllMemberGroups(long plGroupKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
tcAPIException
plGroupKey - - The key of the group
tcAPIException - thrown if data set errors occur
tcGroupNotFoundException - thrown if plGroupKey does not exist
public com.thortech.xl.orb.dataaccess.tcDataSetData getAllMemberGroupsData(long plGroupKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
tcAPIException
plGroupKey - - The key of the group
tcAPIException - thrown if data set errors occur
tcGroupNotFoundException - thrown if plGroupKey does not exist
public Thor.API.tcResultSet getAllParentGroups(long groupKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
tcAPIException
groupKey - - The key of the group
tcAPIException - thrown if data set errors occur
tcGroupNotFoundException - thrown if plGroupKey does not exist
public Thor.API.tcResultSet getMemberUsers(long plGroupKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
tcAPIException
plGroupKey - - The key of the group
tcAPIException - thrown if data set errors occur
tcGroupNotFoundException - thrown if plGroupKey does not exist
public void increaseMemberGroupPriority(long plGroupKey,
long plMemberGroupKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcMemberGroupNotFoundException,
tcAPIException
plGroupKey - - The key of the parent groupplMemberGroupKey - - The key of the member group
tcAPIException - thrown if data set errors occur OR while saving OR member group doesn't correspong to group
tcGroupNotFoundException - thrown if plGroupKey does not exist
tcMemberGroupNotFoundException - thrown if plMemberGroupKey does not exist
public void increaseMemberUserPriority(long plGroupKey,
long plUserKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcUserNotFoundException,
tcAPIException
plGroupKey - - The key of the groupplUserKey - - The key of the user
tcAPIException - thrown if data set errors occur OR while saving OR User does not correspond to group
tcGroupNotFoundException - thrown if plGroupKey does not exist
tcUserNotFoundException - thrown if plUserKey does not exist
public void removeAdministrator(long plGroupKey,
long plAdminGroupKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcAdminNotFoundException,
tcAPIException
plGroupKey - - The key of the groupplAdminGroupKey - - The key of the admin group
tcAPIException - thrown if data set errors occur OR while saving OR Group key doesn't correspond to Administrator Group key
tcGroupNotFoundException - thrown if plGroupKey does not exist
tcAdminNotFoundException - thrown if plAdminGroupKey does not exist
public void removeAdministrators(long plGroupKey,
long[] palAdminGroupKeys)
throws Thor.API.Exceptions.tcAdminNotFoundException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcBulkException,
tcAPIException
plGroupKey - - The key of the grouppalAdminGroupKeys - - The keys of the admin groups
tcAdminNotFoundException - thrown if one or many palAdminGroupKeys do not exist
tcGroupNotFoundException - thrown if plGroupKey does not exist
tcAPIException - thrown if data set errors occur OR while saving OR Group key doesn't correspond to Administrator Group keys
tcBulkException
public void removeMemberGroup(long plGroupKey,
long plMemberGroupKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcMemberGroupNotFoundException,
tcAPIException
plGroupKey - - The key of the group to remove the member group fromplMemberGroupKey - - The key of the member group to remove
tcAPIException - thrown if data set errors occur OR while saving OR Group key doesn't correspond to Member Group key
tcGroupNotFoundException - thrown if plGroupKey does not exist
tcMemberGroupNotFoundException - thrown if plMemberGroupKey does not exist
public void removeMemberGroups(long plGroupKey,
long[] palMemberGroupKeys)
throws Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcInvalidMemberGroupException,
Thor.API.Exceptions.tcMemberGroupNotFoundException,
Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcBulkException,
tcAPIException
plGroupKey - - The key of the group to remove the members frompalMemberGroupKeys - - The keys of the member groups to remove
tcGroupNotFoundException - thrown if plGroupKey does not exist
tcInvalidMemberGroupException - thrown if member is not allowed to remove from the group
tcMemberGroupNotFoundException - thrown if one or many palMemberGroupKeys do not exist
tcAPIException - thrown if data set errors occur OR while saving
tcBulkException
public void removeMemberUser(long plGroupKey,
long plUserKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcUserNotFoundException,
tcAPIException
plGroupKey - - The key of the group to remove the user fromplUserKey - - The key of the user to remove
tcAPIException - thrown if data set errors occur OR while saving OR Group and User keys do not correspond
tcGroupNotFoundException - thrown if plGroupKey does not exist
tcUserNotFoundException - thrown if plUserKey does not exist
public void removeMemberUsers(long plGroupKey,
long[] paUserKeys)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcUserNotFoundException,
tcAPIException
plGroupKey - - The key of the group to remove the user frompaUserKeys - - The keys of the users to remove
tcAPIException - thrown if data set errors occur OR while saving OR Group and User keys do not correspond
tcGroupNotFoundException - thrown if plGroupKey does not exist
tcUserNotFoundException - thrown if plUserKey does not exist
public void setMemberGroupPriority(long plGroupKey,
long plMemberGroupKey,
int pnPriority)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcMemberGroupNotFoundException,
tcAPIException
plGroupKey - - The key of the parent groupplMemberGroupKey - - The key of the member grouppnPriority - - The priority number to set
tcAPIException - thrown if data set errors occur OR while saving OR Group key doesn't correspond to Member Group key
tcGroupNotFoundException - thrown if plGroupKey does not exist
tcMemberGroupNotFoundException - thrown if plMemberGroupKey does not exist
public void setMemberUserPriority(long plGroupKey,
long plUserKey,
int pnPriority)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcUserNotFoundException,
tcAPIException
plGroupKey - - The key of the groupplUserKey - - The key of the userpnPriority - - The new priority number to set
tcAPIException - thrown if data set errors occur OR while saving OR Group and User keys do not correspond
tcGroupNotFoundException - thrown if plGroupKey does not exist
tcUserNotFoundException - thrown if plUserKey does not exist
public void updateAdministrator(long plGroupKey,
long plAdminGroupKey,
boolean pbWrite,
boolean pbDelete)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcAdminNotFoundException,
tcAPIException
plGroupKey - - The key of the groupplAdminGroupKey - - The key of the admin grouppbWrite - - Whether the group has write access to the grouppbDelete - - Whether the group has delete access to the group
tcAPIException - thrown if data set errors occur OR while saving OR plGroupKey does not correspond with plAdminGroupKey
tcGroupNotFoundException - thrown if plGroupKey does not exist
tcAdminNotFoundException - thrown if plAdminGroupKey does not exist
public void updateAdministrators(long plGroupKey,
long[] palAdminGroupKeys,
boolean[] pbWrite,
boolean[] pbDelete)
throws Thor.API.Exceptions.tcAdminNotFoundException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcBulkException,
tcAPIException
plGroupKey - - The key of the grouppalAdminGroupKeys - - List of keys of the admin groupspbWrite - - Whether the admin groups to have write access over the specified grouppbDelete - - Whether the admin groups to have delete access over the specified group
tcAdminNotFoundException - thrown if one or many palAdminGroupKeys do not exist
tcGroupNotFoundException - thrown if plGroupKey does not exist
tcAPIException - thrown if data set errors occur OR while saving OR plGroupKey does not correspond with palAdminGroupKeys
tcBulkException
public void updateGroup(Thor.API.tcResultSet poGroupResultSet,
java.util.Map phAttributeList)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
tcAPIException
poGroupResultSet - A result set containing at the minimum the group key and the row version of the group record to update. Note that if the result set contains multiple groups, only the first group within the result set will be updated.phAttributeList - A map of name-value pairs, each entry holding an attribute-value pair to set/modify for this group. The Attribute names are the String column codes (from the Xellerate metadata). The Attribute Values are the String attributes of the columns to set. User defined fields may be included in this attribute list as well.
tcAPIException
tcGroupNotFoundException
public void addForm(long plGroupKey,
long plWinKey,
long plParentKey,
int sequence,
int nestlevel)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcFormNotFoundException,
tcAPIException
plGroupKey - is the group key to add the form toplWinKey - is the form key that we want to addplParentKey - is the parent form keysequence - is the sequence for this formnestlevel - is the level nested for this form
tcAPIException
tcGroupNotFoundException
tcFormNotFoundException
public void addForms(long plGroupKey,
long[] palWinKeys,
long[] palParentKeys,
int[] sequence,
int[] nestlevel)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcBulkException,
tcAPIException
plGroupKey - is the group key to add the form topalWinKeys - is the form key that we want to addpalParentKeys - is the parent form keysequence - is the sequence for this formnestlevel - is the level nested for this form
tcAPIException
tcGroupNotFoundException
tcFormNotFoundException
tcBulkException
public void removeForm(long plGroupKey,
long plWinKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcFormNotFoundException,
tcAPIException
plGroupKey - the group key to remove the formplWinKey - the form key
tcAPIException
tcGroupNotFoundException
tcFormNotFoundException
public void removeForms(long groupKey,
long[] winKeys)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcBulkException,
tcAPIException
groupKey - the group key to remove the forms fromwinKeys - the form keys to be removed
tcAPIException
tcGroupNotFoundException
tcFormNotFoundException
tcBulkException
public Thor.API.tcResultSet getAssignedForms(long groupKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
tcAPIException
groupKey - the group key to get the forms
tcAPIException
tcGroupNotFoundException
public Thor.API.tcResultSet getUnassignedForms(long groupKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
tcAPIException
groupKey - the group key to get the forms
tcAPIException
tcGroupNotFoundException
public Thor.API.tcResultSet getAllForms()
throws Thor.API.Exceptions.tcAPIException,
tcAPIException
tcAPIException
public void addMenuItem(long plGroupKey,
long plWinKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcFormNotFoundException,
tcAPIException
plGroupKey - the group keyplWinKey - the menu item key
tcAPIException
tcGroupNotFoundException
tcFormNotFoundException
public void addMenuItems(long groupKey,
long[] winKeys)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcBulkException,
tcAPIException
groupKey - the group key to which the menu items to be addedwinKeys - the menu item keys to be added
tcAPIException
tcGroupNotFoundException
tcFormNotFoundException
tcBulkException
public void removeMenuItem(long plGroupKey,
long plWinKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcFormNotFoundException,
tcAPIException
plGroupKey - the group keyplWinKey - the menu item key
tcAPIException
tcGroupNotFoundException
tcFormNotFoundException
public void removeMenuItems(long groupKey,
long[] winKeys)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcFormNotFoundException,
Thor.API.Exceptions.tcBulkException,
tcAPIException
groupKey - the group key from which the menu items to be removedwinKeys - the menu item keys to be removed
tcAPIException
tcGroupNotFoundException
tcFormNotFoundException
tcBulkException
public Thor.API.tcResultSet getAssignedMenuItems(long groupKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
tcAPIException
groupKey - the group key
tcAPIException
tcGroupNotFoundException
public Thor.API.tcResultSet getUnassignedMenuItems(long groupKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
tcAPIException
groupKey - the group key
tcAPIException
tcGroupNotFoundException
public Thor.API.tcResultSet getAllMenuItems()
throws Thor.API.Exceptions.tcAPIException,
tcAPIException
tcAPIException
public void addProvisionPolicy(long plGroupKey,
long plPolicyKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcPolicyNotFoundException,
tcAPIException
plGroupKey - the group keyplPolicyKey - the Policy key
tcAPIException
tcGroupNotFoundException
tcPolicyNotFoundException
public void addProvisionPolicies(long groupKey,
long[] policykeys)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcPolicyNotFoundException,
Thor.API.Exceptions.tcBulkException,
tcAPIException
groupKey - the group keypolicykeys - the Policy keys to be added
tcAPIException
tcGroupNotFoundException
tcPolicyNotFoundException
tcBulkException
public void removeProvisionPolicy(long plGroupKey,
long plPolicyKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcPolicyNotFoundException,
tcAPIException
plGroupKey - the group keyplPolicyKey - the policy key
tcAPIException
tcGroupNotFoundException
tcPolicyNotFoundException
public void removeProvisionPolicies(long groupKey,
long[] policyKeys)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcPolicyNotFoundException,
Thor.API.Exceptions.tcBulkException,
tcAPIException
groupKey - the group keypolicyKeys - the policy keys to be removed
tcAPIException
tcGroupNotFoundException
tcPolicyNotFoundException
tcBulkException
public Thor.API.tcResultSet getAssignedProvisionPolicies(long groupKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
tcAPIException
groupKey - the group key
tcAPIException
tcGroupNotFoundException
public Thor.API.tcResultSet getUnassignedProvisionPolicies(long groupKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
tcAPIException
groupKey - the group key
tcAPIException
tcGroupNotFoundException
public Thor.API.tcResultSet getAllProvisionPolicies()
throws Thor.API.Exceptions.tcAPIException,
tcAPIException
tcAPIException
public void addMembershipRule(long plGroupKey,
long plRuleKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcRuleNotFoundException,
tcAPIException
plGroupKey - the group keyplRuleKey - the Membership Rule to assign
tcAPIException
tcGroupNotFoundException
tcRuleNotFoundException
public void addMembershipRules(long groupKey,
long[] ruleKeys)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcRuleNotFoundException,
Thor.API.Exceptions.tcBulkException,
tcAPIException
groupKey - the group keyruleKeys - the Membership Rules to assign
tcAPIException
tcGroupNotFoundException
tcRuleNotFoundException
tcBulkException
public void removeMembershipRule(long plGroupKey,
long plRuleKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcRuleNotFoundException,
tcAPIException
plGroupKey - the group keyplRuleKey - the Membership Rule to remove
tcAPIException
tcGroupNotFoundException
tcRuleNotFoundException
public void removeMembershipRules(long groupKey,
long[] ruleKeys)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcRuleNotFoundException,
Thor.API.Exceptions.tcBulkException,
tcAPIException
groupKey - the group keyruleKeys - the Membership Rules to remove
tcAPIException
tcGroupNotFoundException
tcRuleNotFoundException
tcBulkException
public Thor.API.tcResultSet getAssignedMembershipRules(long groupKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
tcAPIException
groupKey - the group key
tcAPIException
tcGroupNotFoundException
public Thor.API.tcResultSet getUnassignedMembershipRules(long groupKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
tcAPIException
groupKey - the group key
tcAPIException
tcGroupNotFoundException
public Thor.API.tcResultSet getAllMembershipRules()
throws Thor.API.Exceptions.tcAPIException,
tcAPIException
tcAPIException
public void addObjectPermission(long plGroupKey,
long plDobKey,
boolean insertAllow,
boolean updateAllow,
boolean deleteAllow)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcDataObjectNotFoundException,
tcAPIException
plGroupKey - the group keyplDobKey - the Object Data keyinsertAllow - if it is allowed insertupdateAllow - if it is allowed updatedeleteAllow - if it is allowed delete
tcAPIException
tcGroupNotFoundException
tcDataObjectNotFoundException
public void addObjectPermissions(long groupKey,
long[] dobKeys,
boolean[] insertAllow,
boolean[] updateAllow,
boolean[] deleteAllow)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcDataObjectNotFoundException,
Thor.API.Exceptions.tcBulkException,
tcAPIException
groupKey - the group keydobKeys - the Object Permission keysinsertAllow - if it is allowed insertupdateAllow - if it is allowed updatedeleteAllow - if it is allowed delete
tcAPIException
tcGroupNotFoundException
tcDataObjectNotFoundException
tcBulkException
public void removeObjectPermission(long plGroupKey,
long plObjectPermissionKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcDataObjectNotFoundException,
tcAPIException
plGroupKey - the group keyplObjectPermissionKey - the Object Permission key (dob_key)
tcAPIException
tcGroupNotFoundException
tcDataObjectNotFoundException
public void removeObjectPermissions(long groupKey,
long[] dobKeys)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcDataObjectNotFoundException,
Thor.API.Exceptions.tcBulkException,
tcAPIException
groupKey - the group keydobKeys - the Object Permission keys
tcAPIException
tcGroupNotFoundException
tcDataObjectNotFoundException
tcBulkException
public Thor.API.tcResultSet getAssignedObjectPermissions(long groupKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
tcAPIException
groupKey - the group key
tcAPIException
tcGroupNotFoundException
public Thor.API.tcResultSet getUnassignedObjectPermissions(long groupKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
tcAPIException
groupKey - the group key
tcAPIException
tcGroupNotFoundException
public Thor.API.tcResultSet getAllObjectPermissions()
throws Thor.API.Exceptions.tcAPIException,
tcAPIException
tcAPIException
public void updateObjectPermission(long groupKey,
long dobKey,
java.util.Map attribute)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcDataObjectNotFoundException,
tcAPIException
groupKey - the group keydobKey - the object permission keyattribute - the attribute list for the insert, update, delete allow
tcAPIException
tcGroupNotFoundException
tcDataObjectNotFoundException
public void deleteGroup(long groupKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
tcAPIException
groupKey - key of the group to be deleted
tcAPIException
tcGroupNotFoundException
public void deleteGroups(long[] groupKeys)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
tcAPIException
groupKeys - is an array of group keys to delete
tcAPIException
tcGroupNotFoundException
public Thor.API.tcResultSet getAllMembers(long plGroupKey)
throws Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
plGroupKey - - The key of the group
tcGroupNotFoundException - thrown if plGroupKey does not exist
tcAPIException - thrown if data set errors occur
public void removeAllMembers(long plGroupKey)
throws Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
plGroupKey - - The key of the group
tcGroupNotFoundException - thrown if plGroupKey does not exist
tcAPIException - thrown if data set errors occur
public void updateObjectPermissions(long groupKey,
com.thortech.xl.vo.DataObjectPermissions[] dataObjectPermissions)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcDataObjectNotFoundException,
Thor.API.Exceptions.tcBulkException,
tcAPIException
groupKey - the group key
tcAPIException
tcGroupNotFoundException
tcDataObjectNotFoundException
Thor.API.Exceptions.tcBulkException
public Thor.API.tcResultSet findUnAssignedGroups(java.util.Map phAttributeList,
long plUserKey)
throws Thor.API.Exceptions.tcAPIException,
tcAPIException
phAttributeList - - 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 (%).plUserKey - Value holding the User Key (corresponds to value in the USR_KEY column)
tcAPIException - thrown if data set errors occur
public Thor.API.tcResultSet getAssignedReports(long plGroupKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
tcAPIException
plGroupKey - the group key
tcAPIException
tcGroupNotFoundException
public Thor.API.tcResultSet getUnassignedReports(long plGroupKey)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
tcAPIException
plGroupKey - the group key
tcAPIException
tcGroupNotFoundException
public void addReports(long groupKey,
long[] reportKeys)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcBulkException,
tcAPIException
groupKey - the group key to which the reports to be addedreportKeys - the report keys to be added
tcAPIException
tcGroupNotFoundException
tcBulkException
public void removeReports(long groupKey,
long[] reportKeys)
throws Thor.API.Exceptions.tcAPIException,
Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcBulkException,
tcAPIException
groupKey - the group key from which the reports to be removedreportKeys - the report keys to be removed
tcAPIException
tcGroupNotFoundException
tcBulkException
public Thor.API.tcResultSet getAllMemberUsersAndGroups(long groupKey)
throws Thor.API.Exceptions.tcGroupNotFoundException,
Thor.API.Exceptions.tcAPIException,
tcAPIException
tcGroupNotFoundException - thrown if plGroupKey does not exist
tcAPIException - thrown if data set errors occur
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||