|
Java SDK r12.5 SP 8 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Task
Provides access to the attributes in a Task
managed object through the methods inherited from the base interfaces.
This interface represents an administrative function or a business function.
The managed object interfaces AdminTask
and
AccessTask
extend the Task
interface.
Nested Class Summary | |
---|---|
static class |
Task.FieldId
Contains identifiers for the reserved fields on an access/admin task configuration screen. |
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Field Summary | |
---|---|
static java.lang.String |
APPLICATION
The task object's associated application. |
static java.lang.String |
AUDITABLE
Attribute identifier for the task object's auditable flag. |
static java.lang.String |
CATEGORY
The task object's category value. |
static java.lang.String |
DESCRIPTION
The task object's description. |
static java.lang.String |
EXTERNAL
The task object's external task flag. |
static java.lang.String |
FRIENDLY_NAME
The task object's friendly name. |
static java.lang.String |
METHOD_ID
The ID of the method associated with the task object. |
static java.lang.String |
PROVISIONABLE
The task object's provisionable flag. |
static java.lang.String |
SYSTEM
The task object's system flag -- reserved for future use. |
static java.lang.String |
URL
The task object's external task URL. |
static java.lang.String |
VERSION
The task object's version. |
static java.lang.String |
WEBSERVICE
The task object's Task Execution Web Service (TEWS) flag. |
static java.lang.String |
WORKFLOW_ID
The task object's workflow ID -- for example, CreateUserApproveProcess . |
static java.lang.String |
WORKFLOWABLE
The task object's workflow flag. |
Method Summary | |
---|---|
boolean |
checkScopeOnModify()
Determines whether the system will enforce a subject security check at the end of the task to determine if the subject is still in scope with the modified attributes, etc. |
void |
clearTabs()
Removes all tabs from this task. |
void |
clearTaskHandlerDefinitions()
Deletes all definitions -- typically used by Identity Manager. |
Tab |
createTab(java.lang.String tag,
java.lang.String tabID,
int order)
Adds a new tab for this task. |
TaskHandlerDefinition |
createTaskHandlerDefinition(java.lang.String uniqueName,
java.lang.String desc,
java.lang.String classname,
AttributeValidationRuleType scriptType,
java.lang.String script,
int executionOrder,
java.util.Hashtable userprops)
Creates a task handler definition -- typically used by Identity Manager. |
ActionType |
getActionType()
Retrieves the basic action type (such as Create, Delete, Modify) associated with this task. |
java.lang.String |
getApplication()
Retrieves the unique identifier of the application associated with this task. |
AutoSynchType |
getAutoAccountSynch()
Determines whether automatic synchronization between the user's provisioning roles in the eTrust Admin directory and the associated role definitions in the Identity Manager environment is enabled, and if so, when synchronization occurs. |
AutoSynchType |
getAutoSynch()
Determines whether the task triggers automatic firing of a user synchronization event when this task leaves the pending state. |
int |
getCategory2Order()
Returns the Level 2 category Order for the task |
int |
getCategory3Order()
Returns the Level 3 category Order for the task |
int |
getCategoryOrder()
Returns the Category Order |
PropertyDict |
getConfigPropertyDict()
Get configuration property dictionary To set the configuration property dictionary back use setLinkedDataDict |
ObjectType |
getPrimaryObjectType()
Retrieves the object type (such as Admin Task, Access Role) associated with this task. |
Screen |
getPrimarySearchScreen()
Retrieves the Screen definition for the primary object search screen associated with this task -- typically used by Identity Manager. |
int |
getPriority()
Returns the priority for the task |
java.lang.String |
getReservedField(Task.FieldId id)
Retrieves the value of a reserved field. |
ScopeSecurityType |
getScopeSecurityType()
Alters the scope security type (such as AllObjectsInScope, AllObjects, GroupsAdminOf, ...) associated with this task. |
Tab |
getTab(java.lang.String tab)
Retrieves the specified tab. |
PropertyDict |
getTabControllerConfig()
Returns the tab controller configuration dictionary |
java.lang.String |
getTabControllerTag()
Returns the tab controller for this task |
java.util.Vector |
getTabs()
Retrieves all the tabs for this task. |
java.util.Vector |
getTabs(TabDefinition type)
Retrieves all the tabs of the specified TabDefinition . |
java.lang.String |
getTaskCategory()
Retrieves the category of this task. |
java.lang.String |
getTaskCategory2()
Find out the Level 2 category of the Task associated with this TaskDefinition. |
java.lang.String |
getTaskCategory3()
Find out the Level 3 category of the Task associated with this TaskDefinition. |
java.lang.String |
getTaskDescription()
Retrieves the description of this task. |
TaskHandlerDefinition |
getTaskHandlerDefinition(java.lang.String uniqueName)
Retrieves the specified TaskHandlerDefinition -- typically used by Identity Manager. |
java.util.Vector |
getTaskHandlerDefinitions()
Retrieves all task handler definitions -- typically used by Identity Manager. |
int |
getTaskOrder()
Return the task order associated with this Task. |
java.lang.String |
getTaskTag()
Retrieves the tag associated with this task. |
java.lang.String |
getURL()
Retrieves the external reference (typically a URL) where this task should be sent. |
java.lang.String |
getWorkflowProcess()
Retrieves the workflow process name associated with the task. |
boolean |
isAuditable()
Determines whether the task triggers the auditing feature. |
boolean |
isAutomaticExecution()
Returns the the flag for the automatic execution of the task |
boolean |
isExternal()
Determines whether this task is an external task. |
boolean |
isHidden()
Determines whether this task is a hidden task. |
boolean |
isProvisionable()
Determines whether the task triggers the provisioning feature (if the provisioning software is configured for your site). |
boolean |
isPublic()
Determines whether this task is a public task. |
boolean |
isSystemTask()
Determines whether this task is a system task. |
boolean |
isWebserviceTask()
Determines whether the task is subject to Web Wervice requests. |
boolean |
isWorkflowTask()
Determines whether the task triggers the workflow feature. |
void |
setActionType(ActionType at)
Alters the action type (such as Create, Delete, Modify) associated with this task. |
void |
setApplication(java.lang.String application)
Sets the unique identifier of the application associated with this task. |
void |
setAuditable(boolean system)
Alters the auditing flag for the task. |
void |
setAutoAccountSynch(AutoSynchType synch)
Alters the automatic synchronization flag for the user's eTrust Admin provisioning accounts. |
void |
setAutomaticExecution(boolean autoexec)
Sets the flag for automatic execution of the task |
void |
setAutoSynch(AutoSynchType synch)
Alters the synchronization flag for the task. |
void |
setCategory2Order(int categoryOrder)
Sets the Level 2 category order for the task |
void |
setCategory3Order(int categoryOrder)
Sets the Level 3 category order for the task |
void |
setCategoryOrder(int categoryOrder)
Sets the Category order for the task |
void |
setCheckScopeOnModify(boolean checkScope)
Alters the scope check flag for this task. |
void |
setExternal(boolean external)
Specifies whether the task is an external task. |
void |
setFriendlyName(java.lang.String friendlyName)
Sets the task's friendly name value. |
void |
setHidden(boolean hidden)
Specifies whether the task is a hidden task. |
void |
setPrimaryObjectType(ObjectType type)
Alters the object type (such as Admin Task, Access Role) associated with this task. |
void |
setPrimarySearchScreen(Screen searchScreen)
Associates a Screen definition with this task as the primary object search screen for the task -- typically used by Identity Manager. |
void |
setPriority(int priority)
Sets the priority for the task |
void |
setProvisionable(boolean pro)
Alters the provisioning flag for the task. |
void |
setPublic(boolean publicFlag)
Specifies whether the task is a public task. |
void |
setReservedField(Task.FieldId id,
java.lang.String value)
Sets the value of the specified reserved field, overwriting any existing value. |
void |
setScopeSecurityType(ScopeSecurityType sst)
Alters the scope security type (such as AllObjectsInScope, AllObjects, GroupsAdminOf, ...) associated with this task. |
void |
setSystemTask(boolean system)
Specifies whether the task is a system task. |
void |
setTabControllerConfig(PropertyDict tabControllerConfig)
Sets the tab controller confiuration for this task |
void |
setTabControllerTag(java.lang.String tabControllerTag)
Sets the tab controller for this task |
void |
setTaskCategory(java.lang.String newCategory)
Sets the category of this task. |
void |
setTaskCategory2(java.lang.String newCategory2)
Set the level2 category of the Task associated with this TaskDefinition |
void |
setTaskCategory3(java.lang.String newCategory3)
Set the level 3 category of the Task associated with this TaskDefinition |
void |
setTaskDescription(java.lang.String newDescription)
Sets the description of this task. |
void |
setTaskOrder(int taskOrder)
Alter the task order associated with this Task. |
void |
setTaskTag(java.lang.String tag)
Alters the tag for this task. |
void |
setURL(java.lang.String url)
Sets the external reference (typically a URL) for this task. |
void |
setWebserviceTask(boolean isWebservice)
Alters the Task Execution Web Service (TEWS) flag for the task. |
void |
setWorkflowTaskFlag(boolean wf)
Alters the workflow flag for the task. |
Methods inherited from interface com.netegrity.llsdk6.imsapi.managedobject.ManagedObject |
---|
directAddAttributeValue, directRemoveAttributeValue, equals, fixUniqueNames, getImsDirectory, getImsEnvironment, getObjectType, getOrg, getOrg, getProvider, hashCode, move, persisted |
Methods inherited from interface com.netegrity.llsdk6.imsapi.abstractinterface.NamedObject |
---|
getFriendlyName, getUniqueName, toString |
Methods inherited from interface com.netegrity.llsdk6.imsapi.abstractinterface.ModifiableObject |
---|
modifyObject, modifyObject |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Field Detail |
---|
static final java.lang.String FRIENDLY_NAME
static final java.lang.String DESCRIPTION
static final java.lang.String SYSTEM
static final java.lang.String METHOD_ID
static final java.lang.String CATEGORY
static final java.lang.String WORKFLOW_ID
CreateUserApproveProcess
.
static final java.lang.String VERSION
static final java.lang.String APPLICATION
static final java.lang.String URL
static final java.lang.String EXTERNAL
static final java.lang.String AUDITABLE
static final java.lang.String PROVISIONABLE
static final java.lang.String WORKFLOWABLE
static final java.lang.String WEBSERVICE
Method Detail |
---|
void setFriendlyName(java.lang.String friendlyName)
modifyObject()
.
friendlyName
- The friendly name to set.
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
com.netegrity.llsdk6.imsapi.exception.AttributeNotPresentException
java.lang.String getTaskDescription()
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
com.netegrity.llsdk6.imsapi.exception.AttributeNotPresentException
void setTaskDescription(java.lang.String newDescription)
newDescription
- The new task description.
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
com.netegrity.llsdk6.imsapi.exception.AttributeNotPresentException
boolean isSystemTask()
true
if the task is a system task, or
false
otherwise.
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
com.netegrity.llsdk6.imsapi.exception.AttributeNotPresentException
void setSystemTask(boolean system)
system
- true
if the task is a system task, or
false
otherwise.
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
com.netegrity.llsdk6.imsapi.exception.AttributeNotPresentException
java.lang.String getTaskCategory()
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
com.netegrity.llsdk6.imsapi.exception.AttributeNotPresentException
setTaskCategory(String)
void setTaskCategory(java.lang.String newCategory)
newCategory
- A unique identifier for the new category.
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
com.netegrity.llsdk6.imsapi.exception.AttributeNotPresentException
java.lang.String getApplication()
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
com.netegrity.llsdk6.imsapi.exception.AttributeNotPresentException
void setApplication(java.lang.String application)
application
- Unique identifier for the associated application.
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
com.netegrity.llsdk6.imsapi.exception.AttributeNotPresentException
java.lang.String getWorkflowProcess()
DeletedObjectException
- - If this object represents a Task that has already been deleted
AttributeNotPresentException
- - If this Task was created without requesting the Task.WORKFLOW_ID attribute.boolean isProvisionable()
true
if provisioning is enabled for the task, or false
otherwise.
DeletedObjectException
void setProvisionable(boolean pro)
pro
- true
to enable provisioning for the task, or false
to disable it.
DeletedObjectException
boolean isAuditable()
true
if auditing is enabled for the task, or false
otherwise.
DeletedObjectException
void setAuditable(boolean system)
system
- true
to enable auditing for the task, or false
to disable it.
DeletedObjectException
boolean isWorkflowTask()
true
if workflow is enabled for the task, or false
otherwise.
DeletedObjectException
void setWorkflowTaskFlag(boolean wf)
wf
- true
to enable workflow for the task, or false
to disable it.
DeletedObjectException
boolean isWebserviceTask()
true
if TEWS is enabled for the task, or false
otherwise.
DeletedObjectException
void setWebserviceTask(boolean isWebservice)
isWebservice
- true
to enable TEWS for the task, or false
to disable it.
DeletedObjectException
java.lang.String getURL()
null
.
DeletedObjectException
void setURL(java.lang.String url)
url
- The external reference for this task.
DeletedObjectException
java.lang.String getTaskTag()
void setTaskTag(java.lang.String tag)
tag
- The new tag value
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
- - If this object represents a Task that has already been deletedboolean isExternal()
true
if the task is an external task, or
false
otherwise.
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
void setExternal(boolean external)
external
- The new state of the external task flag.
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
- - If this object represents a Task that has already been deletedboolean isHidden()
true
if the task is a hidden task, or
false
otherwise.
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
void setHidden(boolean hidden)
hidden
- The new state of the hidden task flag
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
- - If this object represents a Task that has already been deletedboolean isPublic()
true
if the task is a public task, or
false
otherwise.
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
void setPublic(boolean publicFlag)
publicFlag
- The new state of the public task flag.
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
- - If this object represents a Task that has already been deletedboolean checkScopeOnModify()
true
or
false
depending on whether the flag is set.void setCheckScopeOnModify(boolean checkScope)
checkScope
- The new state of the scope check flag.ActionType getActionType()
null
.
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
- - If this object represents a Task that has already been deletedvoid setActionType(ActionType at)
at
- The action type to assign to the task.
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
- - If this object represents a Task that has already been deletedScopeSecurityType getScopeSecurityType()
null
.
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
- - If this object represents a Task that has already been deletedvoid setScopeSecurityType(ScopeSecurityType sst)
at
- - The scope security type to assign to the task.
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
- - If this object represents a Task that has already been deletedObjectType getPrimaryObjectType()
null
.
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
- - If this object represents a Task that has already been deletedvoid setPrimaryObjectType(ObjectType type)
type
- The object type to assign to the task.
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
- - If this object represents a Task that has already been deletedjava.lang.String getReservedField(Task.FieldId id)
id
- The field identifier.
void setReservedField(Task.FieldId id, java.lang.String value)
id
- The field identifier.value
- The new field value.java.lang.String getTabControllerTag() throws SmApiException
SmApiException
void setTabControllerTag(java.lang.String tabControllerTag) throws SmApiException
SmApiException
PropertyDict getTabControllerConfig() throws SmApiException
SmApiException
void setTabControllerConfig(PropertyDict tabControllerConfig) throws SmApiException
SmApiException
java.util.Vector getTabs() throws com.netegrity.sdk.apiutil.SmApiException
Vector
based on their order values.
com.netegrity.llsdk6.imsapi.exception.NoSessionException
- - If this Task is not connected to a session (i.e. isConnected() would return false).
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
- - If this Task has already been deleted
com.netegrity.sdk.apiutil.SmApiException
java.util.Vector getTabs(TabDefinition type) throws com.netegrity.sdk.apiutil.SmApiException
TabDefinition
.
Tabs will be ordered within this Vector
based on their order values.
type
- A filter that determines a subset of tabs to return.
com.netegrity.llsdk6.imsapi.exception.NoSessionException
- - If this Task is not connected to a session (i.e. isConnected() would return false).
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
- - If this Task has already been deleted
com.netegrity.sdk.apiutil.SmApiException
Tab getTab(java.lang.String tab) throws com.netegrity.sdk.apiutil.SmApiException
The
- tab tag.
com.netegrity.llsdk6.imsapi.exception.NoSuchObjectException
- - If there is not tab with the specified tag on this task
com.netegrity.llsdk6.imsapi.exception.NoSessionException
- - If this Task is not connected to a session (i.e. isConnected() would return false).
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
- - If this Task has already been deleted
com.netegrity.sdk.apiutil.SmApiException
Tab createTab(java.lang.String tag, java.lang.String tabID, int order) throws com.netegrity.sdk.apiutil.SmApiException
tag
- The unique identifier for this tab within this task.tabID
- The unique identifier for this tab type (that is, tag of tab definition).order
- An integer identifying the order value for this tab object.
No ordering is guaranteed for cases where more than one tab
on a task have the same order number.
com.netegrity.llsdk6.imsapi.exception.NoSessionException
- - If this Task is not connected to a session (i.e. isConnected() would return false).
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
- - If this Task has already been deleted
com.netegrity.sdk.apiutil.SmApiException
void clearTabs() throws SmApiException
SmApiException
void setPrimarySearchScreen(Screen searchScreen) throws SmApiException
searchScreen
- The search screen definition.
SmApiException
Screen getPrimarySearchScreen() throws SmApiException
SmApiException
java.util.Vector getTaskHandlerDefinitions() throws SmApiException
com.netegrity.llsdk6.imsapi.exception.NoSuchObjectException
- if the object can not be found
SmApiException
- For more general problems with the execution of the callvoid clearTaskHandlerDefinitions() throws SmApiException
SmApiException
TaskHandlerDefinition getTaskHandlerDefinition(java.lang.String uniqueName) throws SmApiException, NoSuchObjectException
uniqueName
- A String identifying the task handler to search for
com.netegrity.llsdk6.imsapi.exception.NoSuchObjectException
- if the object can not be found
SmApiException
- For more general problems with the execution of the call
NoSuchObjectException
TaskHandlerDefinition createTaskHandlerDefinition(java.lang.String uniqueName, java.lang.String desc, java.lang.String classname, AttributeValidationRuleType scriptType, java.lang.String script, int executionOrder, java.util.Hashtable userprops) throws SmApiException
uniqueName
- A String identifying the task handlerdesc
- The description for the task handlerclassname
- The fully qualified name of class that implements the task handlerscriptType
- The script type. Could be UNKNOWN, JAVA or JAVASCRIPTscript
- The script itself or nullexecutionOrder
- order of the handler execution
SmApiException
- For more general problems with the execution of the callAutoSynchType getAutoSynch()
AutoSynchType
for more information.
DeletedObjectException
void setAutoSynch(AutoSynchType synch)
synch
- One of the values of AutoSynchType
flag, which are:
AutoSynchType
for more information.
DeletedObjectException
AutoSynchType getAutoAccountSynch()
Determines whether automatic synchronization between the user's provisioning roles in the eTrust Admin directory and the associated role definitions in the Identity Manager environment is enabled, and if so, when synchronization occurs.
Note: This method requires an instance of an eTrust Admin Directory.
DeletedObjectException
void setAutoAccountSynch(AutoSynchType synch)
Alters the automatic synchronization flag for the user's eTrust Admin provisioning accounts.
This method affects synchronization between the user's provisioning roles in the eTrust Admin directory and the associated role definitions in the Identity Manager environment.
synch
- One of the values of the AutoSynchType
flag, which are:
DeletedObjectException
synchChangesWithAccounts()
,
synchProvisioningRolesAddAccounts()
,
synchProvisioningRolesDeleteAccounts()
java.lang.String getTaskCategory2()
Find out the Level 2 category of the Task associated with this TaskDefinition. This method returns a unique identifier for a Subcategory.
void setTaskCategory2(java.lang.String newCategory2)
Set the level2 category of the Task associated with this TaskDefinition
level2category
- A String uniquely identifying the new level2 category.java.lang.String getTaskCategory3()
Find out the Level 3 category of the Task associated with this TaskDefinition. This method returns a unique identifier for a Subcategory.
void setTaskCategory3(java.lang.String newCategory3)
Set the level 3 category of the Task associated with this TaskDefinition
level3category
- A String uniquely identifying the new level3 category.int getTaskOrder()
Return the task order associated with this Task. May not be null.
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
- - If this object represents a Task that has
already been deletedvoid setTaskOrder(int taskOrder)
Alter the task order associated with this Task.
taskOrder
- - An integer value representing the task order to assign to the task
com.netegrity.llsdk6.imsapi.exception.DeletedObjectException
- - If this object represents a Task that has
already been deletedvoid setCategoryOrder(int categoryOrder)
Sets the Category order for the task
categoryOrder
- -the category orderint getCategoryOrder()
Returns the Category Order
void setCategory2Order(int categoryOrder)
Sets the Level 2 category order for the task
categoryOrder
- - the category orderint getCategory2Order()
Returns the Level 2 category Order for the task
void setCategory3Order(int categoryOrder)
Sets the Level 3 category order for the task
categoryOrder
- - the category orderint getCategory3Order()
Returns the Level 3 category Order for the task
void setPriority(int priority) throws SmApiException
Sets the priority for the task
priority
- - the task Priority
SmApiException
int getPriority() throws SmApiException
Returns the priority for the task
SmApiException
void setAutomaticExecution(boolean autoexec) throws SmApiException
Sets the flag for automatic execution of the task
autoexec
- - the flag indicating automatic execution
SmApiException
boolean isAutomaticExecution() throws SmApiException
Returns the the flag for the automatic execution of the task
SmApiException
PropertyDict getConfigPropertyDict() throws SmApiException
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 |