|
Java SDK r12.5 SP 8 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AccessTaskProvider
Lets you create or retrieve access tasks in the current Identity Manager environment.
This and all Identity Manager providers are retrieved throughProviderAccessor
.
Task
.
AccessTaskProvider
are accessed for reading purposes only. However, on occassion, business logic task handlers
and event listeners may need to modify objects retrieved through
AccessTaskProvider
.
AccessTaskProvider
, call
modifyObject()
. The changes are then immediately persisted to the data store. No Identity Manager
events are generated, and no workflow approvals, auditing, or security checks are performed.
Method Summary | |
---|---|
AccessTask |
createAccessTask(java.lang.String friendlyName,
java.lang.String tag,
java.lang.String category,
java.lang.String application,
ActionType action,
ObjectType object)
Creates an access task, accepting the default values for a number of its configuration parameters. |
AccessTask |
createAccessTask(java.lang.String friendlyName,
java.lang.String description,
java.lang.String category,
java.lang.String application,
java.lang.String workflowID,
java.lang.String tag,
ActionType action,
ObjectType object,
boolean system,
boolean auditable,
boolean provisionable,
boolean workflowable,
boolean external,
boolean hidden,
boolean publicTask,
boolean webserviceTask,
java.lang.String url)
Creates an access task with the attributes passed in. |
AccessTask |
findAccessTask(java.lang.String friendlyName)
Retrieves the specified access task, using the task's friendly name. |
java.util.Vector |
findAccessTasksInScope(TSContext tsCtx)
Retrieves the set of access tasks which are in scope for the current task executed by the current administrator. |
java.util.Vector |
findAccessTasksInScope(TSContext tsCtx,
AccessTaskFilter additional)
Retrieves the set of access tasks which are in scope for the current task executed by the current administrator. |
AccessTask |
findByTag(java.lang.String tag)
Retrieves the specified access task, using the task's tag name. |
java.util.Vector |
getAccessApplicationNames()
Retrieves the names of all the applications associated with access tasks in this environment. |
java.util.Vector |
getAccessRolesUsingAccessTask(AccessTask task)
Retrieves the access roles that contain the specified access task. |
AccessTask |
getAccessTask(java.lang.String uniqueName)
Retrieves the specified access task, using the task's unique name. |
java.util.Vector |
getAccessTaskCategories()
Retrieves the unique names of access task categories in this environment. |
java.util.Vector |
getAccessTasks()
Retrieves all the access tasks in the Identity Manager environment. |
java.util.Vector |
getAccessTasksForApplication(java.lang.String applicationName)
Retrieves the access tasks associated with the specified application. |
java.util.Vector |
getAdministratorsTasks(User admin)
Return a Vector of all Access Tasks this user is authorized to run |
java.util.Vector |
searchAccessTasks(TaskObjectQuery query)
Searches for a subset of the access tasks in the Identity Manager environment. |
Method Detail |
---|
AccessTask createAccessTask(java.lang.String friendlyName, java.lang.String tag, java.lang.String category, java.lang.String application, ActionType action, ObjectType object) throws com.netegrity.sdk.apiutil.SmApiException
Creates an access task, accepting the default values for a number of its configuration parameters.
This method accepts the following default configuration values:true
false
createAccessTask()
.
friendlyName
- The friendly name for the task
(must not be null
).tag
- The task tag.category
- The task category (can be null
).application
- The application associated with the task
(can be null
).action
- The type of action performed by the task.object
- The type of object directly affected by
the task.
com.netegrity.sdk.apiutil.SmApiException
AccessTask createAccessTask(java.lang.String friendlyName, java.lang.String description, java.lang.String category, java.lang.String application, java.lang.String workflowID, java.lang.String tag, ActionType action, ObjectType object, boolean system, boolean auditable, boolean provisionable, boolean workflowable, boolean external, boolean hidden, boolean publicTask, boolean webserviceTask, java.lang.String url) throws com.netegrity.sdk.apiutil.SmApiException
Creates an access task with the attributes passed in.
friendlyName
- The friendly name for the task
(must not be null
).description
- The description of the task
(can be null
).category
- The task category (can be null
).application
- The application associated with the task
(can be null
).workflowID
- The workflowID for this AccessTask (can be null)tag
- The task tag.action
- The type of action performed by the task.object
- The type of object directly affected by
the task.system
- Reserved for future use.auditable
- true
if the task is eligble for auditing.
Auditable tasks can be included in reports.provisionable
- true
if the task is eligible for provisioning.workflowable
- true
if the task is eligible for workflow control.external
- true
if the task is an external task.
An external task is executed by an application other
than Identity Manager.hidden
- true
if the task is a hidden task. A hidden task
is not displayed in menus. You typically enable this feature
when the task is only invoked through a URL or another task.publicTask
- true
if the task is a public task. A public task
is one that a user can invoke without first having to log in.webserviceTask
- true
if the task is available through the
Identity Manager Task Execution Web Service (TEWS). TEWS allows
a third-party application to submit a remote task request to
Identity Manager.url
- The URL associated with this task. A URL is typicaly used by
external tasks to provide a UI link (can be null
).
com.netegrity.sdk.apiutil.SmApiException
Task.FieldId
AccessTask getAccessTask(java.lang.String uniqueName) throws SmApiException, NoSuchObjectException
Retrieves the specified access task, using the task's unique name.
uniqueName
- The unique name of the access task to retrieve.
NoSuchObjectException
- if the object cannot be found.
SmApiException
AccessTask findAccessTask(java.lang.String friendlyName) throws SmApiException, NoSuchObjectException
Retrieves the specified access task, using the task's friendly name.
friendlyName
- The friendly name of the access task to retrieve.
NoSuchObjectException
- if the object cannot be found.
SmApiException
AccessTask findByTag(java.lang.String tag) throws SmApiException, NoSuchObjectException
Retrieves the specified access task, using the task's tag name.
tag
- The tag name of the access task to retrieve.
NoSuchObjectException
- if the object cannot be found.
SmApiException
java.util.Vector getAccessTasks() throws SmApiException
Retrieves all the access tasks in the Identity Manager environment.
SmApiException
java.util.Vector searchAccessTasks(TaskObjectQuery query) throws com.netegrity.sdk.apiutil.SmApiException
Searches for a subset of the access tasks in the Identity Manager environment.
query
- The search filter.
com.netegrity.sdk.apiutil.SmApiException
java.util.Vector getAccessTasksForApplication(java.lang.String applicationName) throws SmApiException
Retrieves the access tasks associated with the specified application.
applicationName
- The application to search for (case sensitive).
If null
or an empty string is passed,
the method retrieves all access tasks that are not
associated.with the application.
SmApiException
java.util.Vector getAccessRolesUsingAccessTask(AccessTask task) throws SmApiException
Retrieves the access roles that contain the specified access task.
task
- The access task in question.
SmApiException
java.util.Vector getAccessTaskCategories() throws SmApiException
Retrieves the unique names of access task categories in this environment.
SmApiException
java.util.Vector getAccessApplicationNames() throws SmApiException
Retrieves the names of all the applications associated with access tasks in this environment.
SmApiException
java.util.Vector findAccessTasksInScope(TSContext tsCtx) throws SmApiException
Retrieves the set of access tasks which are in scope for the current task executed by the current administrator.
SmApiException
java.util.Vector findAccessTasksInScope(TSContext tsCtx, AccessTaskFilter additional) throws SmApiException
additional
- A filter of additional constraints on the search. All constraints are anded with each other and with the scope rules.
SmApiException
java.util.Vector getAdministratorsTasks(User admin) throws SmApiException
admin
- - This user
SmApiException
|
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 |