|
Java SDK r12.5 SP 8 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BLTHContext
Provides access to information and services in the current task session. Information and services include:
IMContext
information about the current task.
get...
methods for accessing managed objects in the task session.
ProviderAccessor
object for direct access
to the managed objects in the data store.
IMPersistentContext
methods for
passing data between business logic task handlers executed for a
given task. The persisted data is abandoned after all
business logic task handlers for the task have been executed.
BLTHContext get...
method that retrieves a managed object will
return null
in either of the following circumstances:getUser()
returns a User
object, but getAdminRole()
and
getAdminTask()
return null
.
BLTHContext
methods return a ResultsContainer
of objects that are associated with the subject of the current task. For example,
getUsersGroups()
returns the group assignments for the User
object that is the subject of a Create User or Modify User task.
BLTHContext
into
each method it calls in BLTHAdapter
.
Method Summary | |
---|---|
AccessRole |
getAccessRole()
Retrieves the AccessRole
object involved in the current task. |
ResultsContainer |
getAccessRoleAdmins()
Retrieves the administrators who are assigned to the access role involved in the current task. |
ResultsContainer |
getAccessRoleMembers()
Retrieves the members of the access role involved in the current task. |
AccessTask |
getAccessTask()
Retrieves the AccessTask
object involved in the current task. |
AdminRole |
getAdminRole()
Retrieves the AdminRole
object involved in the current task. |
ResultsContainer |
getAdminRoleAdmins()
Retrieves the administrators who are assigned to the admin role involved in the current task. |
ResultsContainer |
getAdminRoleMembers()
Retrieves the members of the admin role involved in the current task. |
AdminTask |
getAdminTask()
Retrieves the AdminTask
object that is the primary object (subject) of the current task. |
java.util.Vector |
getDeletedGroups()
Retrieves the Group
objects deleted in the current task. |
java.util.Vector |
getDeletedOrgs()
Retrieves the Organization
objects deleted in the current task. |
java.util.Vector |
getDeletedUsers()
Retrieves the User
objects deleted in the current task. |
java.util.Vector |
getDisabledUsers()
Retrieves the User
objects disabled in the current task. |
java.util.Vector |
getEnabledUsers()
Retrieves the User
objects enabled in the current task. |
Group |
getGroup()
Retrieves the Group
object involved in the current task. |
ResultsContainer |
getGroupAdmins()
Retrieves the administrators who are being assigned privileges to manage the group involved in the current task, or whose privileges for managing the group are being revoked. |
ResultsContainer |
getGroupMembers()
Retrieves the members being added to or removed from the group involved in the current task. |
Organization |
getOrg()
Retrieves the Organization
object involved in the current task. |
ProvisioningRole |
getProvisioningRole()
Retrieves the ProvisioningRole
object involved in the current task. |
ResultsContainer |
getProvisioningRoleAdmins()
Retrieves the administrators who are assigned to the provisioning role involved in the current task. |
ResultsContainer |
getProvisioningRoleMembers()
Retrieves the members of the provisioning role involved in the current task. |
AdminTask |
getTask()
Return the currently executing AdminTask |
java.util.Vector |
getTaskTabHandlers()
|
User |
getUser()
Retrieves the User
object involved in the current task. |
ResultsContainer |
getUsersAssignedAccessRoles()
Retrieves the access roles that the user involved in the current task is being assigned to or removed from. |
ResultsContainer |
getUsersAssignedAdminRoles()
Retrieves the admin roles that the user involved in the current task is being assigned to or removed from. |
ResultsContainer |
getUsersAssignedProvisioningRoles()
Retrieves the provisioning roles that the user involved in the current task is being assigned to or removed from. |
ResultsContainer |
getUsersGrantableAccessRoles()
Retrieves the access roles that the user who is involved in the current task can grant. |
ResultsContainer |
getUsersGrantableAdminRoles()
Retrieves the admin roles that the user who is involved in the current task can grant. |
ResultsContainer |
getUsersGrantableProvisioningRoles()
Retrieves the provisioning roles that the user who is involved in the current task can grant. |
ResultsContainer |
getUsersGroups()
Retrieves the groups that the user involved in the current task is being assigned to or removed from. |
boolean |
isObjectBeingCreated()
Determines whether an object is being created for the current task. |
boolean |
isTaskReadOnly()
Determines whether the current task is read-only. |
Methods inherited from interface com.netegrity.imapi.IMPersistentContext |
---|
getPersistentData, setPersistentData |
Methods inherited from interface com.netegrity.imapi.IMContext |
---|
getAuxDataRoot, getLocalizer, getLocalizer, getSessionAttribute, removeSessionAttribute, setSessionAttribute |
Methods inherited from interface com.netegrity.imapi.Logger |
---|
logDebugMessage, logErrorMessage, logInfoMessage, logWarningMessage |
Method Detail |
---|
boolean isTaskReadOnly()
User
object, but a View User task cannot.
isTaskReadOnly
in interface TaskInfo
true
if the task is read-only, or false
otherwise.boolean isObjectBeingCreated() throws java.lang.Exception
true
if an object is being created, or false
otherwise.
java.lang.Exception
User getUser()
User
object involved in the current task.
User
object
involved in the current task, or null
if none exists or if the administrator who is executing
the task does not have privileges for this object.Organization getOrg()
Organization
object involved in the current task.
Organization
object
involved in the current task, or null
if none exists or if the administrator who is executing
the task does not have privileges for this object.Group getGroup()
Group
object involved in the current task.
Group
object
involved in the current task, or null
if none exists or if the administrator who is executing
the task does not have privileges for this object.AdminRole getAdminRole()
AdminRole
object involved in the current task.
AdminRole
object
involved in the current task, or null
if none exists or if the administrator who is executing
the task does not have privileges for this object.AccessRole getAccessRole()
AccessRole
object involved in the current task.
AccessRole
object
involved in the current task, or null
if none exists or if the administrator who is executing
the task does not have privileges for this object.ProvisioningRole getProvisioningRole() throws java.lang.Exception
ProvisioningRole
object involved in the current task.
ProvisioningRole
object
involved in the current task, or null
if none exists or if the administrator who is executing
the task does not have privileges for this object.
java.lang.Exception
AdminTask getAdminTask()
AdminTask
object that is the primary object (subject) of the current task.
Warning: this task overrides TaskInfo.getAdminTask()
which
returns the currently executing AdminTask
.
Use getTask()
instead.
getAdminTask
in interface TaskInfo
AdminTask
object
involved in the current task, or null
if none exists or if the administrator who is executing
the task does not have privileges for this object.AccessTask getAccessTask()
AccessTask
object involved in the current task.
AccessTask
object
involved in the current task, or null
if none exists or if the administrator who is executing
the task does not have privileges for this object.java.util.Vector getDeletedOrgs() throws java.lang.Exception
Organization
objects deleted in the current task.
Organization
objects
deleted in the current task, or null
if none was deleted or if the administrator who is executing
the task does not have privileges for this object.
java.lang.Exception
java.util.Vector getDeletedGroups() throws java.lang.Exception
Group
objects deleted in the current task.
Group
objects
deleted in the current task, or null
if none was deleted or if the administrator who is executing
the task does not have privileges for this object.
java.lang.Exception
java.util.Vector getDisabledUsers() throws java.lang.Exception
User
objects disabled in the current task.
User
objects
disabled in the current task, or null
if none was disabled or if the administrator who is executing
the task does not have privileges for this object.
java.lang.Exception
java.util.Vector getEnabledUsers() throws java.lang.Exception
User
objects enabled in the current task.
User
objects
enabled in the current task, or null
if none was enabled or if the administrator who is executing
the task does not have privileges for this object.
java.lang.Exception
java.util.Vector getDeletedUsers() throws java.lang.Exception
User
objects deleted in the current task.
User
objects
deleted in the current task, or null
if none was deleted or if the administrator who is executing
the task does not have privileges for this object.
java.lang.Exception
ResultsContainer getAdminRoleAdmins() throws java.lang.Exception
ResultsContainer
.
null
if none exist or if the administrator who is executing
the task does not have privileges for this object.
java.lang.Exception
ResultsContainer getAccessRoleAdmins() throws java.lang.Exception
ResultsContainer
.
null
if none exist or if the administrator who is executing
the task does not have privileges for this object.
java.lang.Exception
ResultsContainer getProvisioningRoleAdmins() throws java.lang.Exception
ResultsContainer
.
null
if none exist or if the administrator who is executing
the task does not have privileges for this object.
java.lang.Exception
ResultsContainer getAdminRoleMembers() throws java.lang.Exception
ResultsContainer
.
null
if none exist or if the administrator who is executing
the task does not have privileges for this object.
java.lang.Exception
ResultsContainer getAccessRoleMembers() throws java.lang.Exception
ResultsContainer
.
null
if none exist or if the administrator who is executing
the task does not have privileges for this object.
java.lang.Exception
ResultsContainer getProvisioningRoleMembers() throws java.lang.Exception
ResultsContainer
.
null
if none exist or if the administrator who is executing
the task does not have privileges for this object.
java.lang.Exception
ResultsContainer getUsersGrantableAdminRoles() throws java.lang.Exception
ResultsContainer
.
null
if none exist or if the
administrator who is executing the task does not
have privileges for this object.
java.lang.Exception
ResultsContainer getUsersGrantableAccessRoles() throws java.lang.Exception
ResultsContainer
.
null
if none exist or if the
administrator who is executing the task does not
have privileges for this object.
java.lang.Exception
ResultsContainer getUsersGrantableProvisioningRoles() throws java.lang.Exception
ResultsContainer
.
null
if none exist or if the
administrator who is executing the task does not
have privileges for this object.
java.lang.Exception
ResultsContainer getUsersAssignedAdminRoles() throws java.lang.Exception
ResultsContainer
.
null
if none exist or if the
administrator who is executing the task does not
have privileges for this object.
java.lang.Exception
ResultsContainer getUsersAssignedAccessRoles() throws java.lang.Exception
ResultsContainer
.
null
if none exist or if the
administrator who is executing the task does not
have privileges for this object.
java.lang.Exception
ResultsContainer getUsersAssignedProvisioningRoles() throws java.lang.Exception
ResultsContainer
.
null
if none exist or if the
administrator who is executing the task does not
have privileges for this object.
java.lang.Exception
ResultsContainer getUsersGroups() throws java.lang.Exception
ResultsContainer
.
null
if none exist or if the
administrator who is executing the task does not
have privileges for this object.
java.lang.Exception
ResultsContainer getGroupAdmins() throws java.lang.Exception
ResultsContainer
.
null
if none exist or if the
administrator who is executing the task does not
have privileges for this object.
java.lang.Exception
ResultsContainer getGroupMembers() throws java.lang.Exception
ResultsContainer
.
null
if none exist or if the
administrator who is executing the task does not
have privileges for this object.
java.lang.Exception
java.util.Vector getTaskTabHandlers() throws java.lang.Exception
TabHandler
objects associated with the current task.
java.lang.Exception
AdminTask getTask()
AdminTask
AdminTask
|
Java SDK r12.5 SP 8 06/13/2011 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |