|
Java SDK r12.5 SP 8 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object LifeCycleImpl com.netegrity.imapi.BLTHAdapter
public abstract class BLTHAdapter
The base class for custom business logic task handlers.
All business logic task handlers must extend this class.
Identity Manager executes a business logic task handler by
calling the methods in this class.
Business logic task handlers validate the information
within a task session. Task session information includes the
managed object that is the subject of the task (for example,
a User
object
is the subject of a Create User task).
Identity Manager passes task session information
into BLTHAdapter
methods through BLTHContext
.
Identity Manager invokes business logic task handlers after the completion of all
logical attribute handler processing. Business logic task handlers therefore will have
access to the logical attribute values and physical attribute values
that the logical attribute handlers may have defined.
Identity Manager invokes business logic task handlers in the following order:
handleStart()
)handleSetSubject()
)handleValidation()
)handleSubmission()
)
Constructor Summary | |
---|---|
BLTHAdapter()
|
Method Summary | |
---|---|
void |
handleSetSubject(BLTHContext blthContext)
Processes task data after selecting a subject from the search result, but before presenting the data to the user. |
void |
handleStart(BLTHContext blthContext)
Initializes or processes task data when the task session is created. |
void |
handleSubmission(BLTHContext blthContext)
Processes task data after a security check has been done and all events are ready to be posted. |
int |
handleTask(BLTHContext blthContext)
Deprecated. Deprecated in Idenity Manager 8.0. |
void |
handleValidation(BLTHContext blthContext)
Processes task data after the user has submitted the task, but before a security check. |
void |
handleValidationBeforeSubmission(BLTHContext blthContext)
Processes task data before the user has submitted the task |
boolean |
shouldExecute(BLTHContext blthContext)
Deprecated. Deprecated in Identity Manager 8.1. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.netegrity.imapi.LifeCycle |
---|
init, init, shutdown, startup, uninit |
Methods inherited from interface com.netegrity.imapi.Logger |
---|
logDebugMessage, logErrorMessage, logInfoMessage, logWarningMessage |
Constructor Detail |
---|
public BLTHAdapter()
Method Detail |
---|
public int handleTask(BLTHContext blthContext) throws java.lang.Exception
shouldExecute()
returns true
.
blthContext
- Business logic task handler context information that
Identity Manager passes into the method.
CONTINUE
to
indicate that execution of this business logic task handler
is complete, and that Identity Manager should execute the next
business logic task handler.
java.lang.Exception
public boolean shouldExecute(BLTHContext blthContext) throws java.lang.Exception
true
, the global handler applies to the task,
and Identity Manager calls handleTask()
to allow the handler to perform its business logic. If the method
returns false
, Identity Manager abandons further calls to
this handler, and invokes the next handler defined in the Identity Manager
Management Console.
shouldExecute()
is called only for global business logic task handlers.
With task-specific handlers, the handler is assumed to apply to the current task,
since it is referenced on the task screen for the task. Thus, Identity Manager calls
handleTask()
for task-specific handlers without
having to call shouldExecute()
.
blthContext
- Business logic task handler context information that
Identity Manager passes into the method.
true
if the global handler's validation logic should be
executed for the task, or false
otherwise.
java.lang.Exception
public void handleStart(BLTHContext blthContext) throws java.lang.Exception
blthContext
- Business logic task handler context information that
Identity Manager passes into the method.
java.lang.Exception
public void handleSetSubject(BLTHContext blthContext) throws java.lang.Exception
blthContext
- Business logic task handler context information that
Identity Manager passes into the method.
java.lang.Exception
public void handleValidation(BLTHContext blthContext) throws java.lang.Exception
blthContext
- Business logic task handler context information that
Identity Manager passes into the method.
java.lang.Exception
public void handleSubmission(BLTHContext blthContext) throws java.lang.Exception
blthContext
- Business logic task handler context information that
Identity Manager passes into the method.
java.lang.Exception
public void handleValidationBeforeSubmission(BLTHContext blthContext) throws java.lang.Exception
blthContext
- Business logic task handler context information that Identity Manager passes into the method.
java.lang.Exception
|
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 |