|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.idm.util.progress.ProgressReporter
oracle.idm.util.progress.ProgressProcessor
oracle.idm.provisioning.tools.BulkProvStatusUpdate
public class BulkProvStatusUpdate
This class provides the necessary API to bulk update user provisioning status
Field Summary |
---|
Fields inherited from class oracle.idm.util.progress.ProgressProcessor |
---|
ABORTED, CANCELED, FINISHED, progressEventDurationInfo, progressEventLocalizedMessage, progressEventMessage, progressEventName, progressEventPercentInfo, progressEventProgressInfo, progressEventStateInfo, progressEventStatusInfo, progressEventStepInfo, progressEventThrowable, RESTORED, RESUMED, STARTED, STOPPED, SUSPENDED, TIMEDOUT, transitions |
Constructor Summary | |
---|---|
BulkProvStatusUpdate(javax.naming.ldap.LdapContext ldapCtx, java.lang.String realmName, Application[] apps, java.lang.String status, java.lang.String statusDesc) Constructor |
Method Summary | |
---|---|
boolean |
getContinueOnFailure() Getter for the continueOnFailure property. |
protected java.lang.String |
getProgressEventMessage() Creates progress event message. |
protected PercentInfo |
getProgressEventPercentInfo() Creates progress event percent info. |
protected StepInfo |
getProgressEventStepInfo() Creates progress event step info. |
static void |
main(java.lang.String[] args) Unit Test Driver program |
protected void |
process(boolean quiet) The main driver method that does the bulk update of the provisioning status of the user. |
void |
resume() Resume processing |
void |
setContinueOnFailure(boolean continueOnFailure) Setter for the continueOnFailure property. |
void |
start() Start processing, calls process(); |
void |
stop() Stop processing |
void |
suspend() Suspend processing |
Methods inherited from class oracle.idm.util.progress.ProgressProcessor |
---|
abort, block, block, block, canAbort, canCancel, cancel, cancel, canFinish, canReset, canRestore, canResume, canStart, canStop, canSuspend, canTimeout, canTransition, finish, getProgressEvent, getProgressEventDurationInfo, getProgressEventLocalizedMessage, getProgressEventName, getProgressEventProgressInfo, getProgressEventStateInfo, getProgressEventStatusInfo, getProgressEventThrowable, getTransitions, isAborted, isCanceled, isFinal, isFinished, isInitial, isIntermediate, isNext, isPrevious, isReachable, isReset, isRestored, isResumed, isStarted, isStopped, isSuspended, isTimedout, isUnreachable, ping, reset, restore, resume, run, sendProgressEvent, setTransitions, start, stop, suspend, timeout, transition |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BulkProvStatusUpdate(javax.naming.ldap.LdapContext ldapCtx, java.lang.String realmName, Application[] apps, java.lang.String status, java.lang.String statusDesc) throws ProvisioningException
realmName
- The realm into which the bulk provisioning needs to be done. If realm Name is NULL then DEFAULT realm is consideredapp
- the applications for which the bulk provision needs to be doneldapCtx
- the OID to which the entries must be loadedstatus
- the status to used for updatingstatus
- the status desc to be used for updatingProvisioningException
Method Detail |
---|
public void start() throws java.io.IOException, ProvisioningException, java.lang.Exception
start
in class ProgressProcessor
java.io.IOException
ProvisioningException
java.lang.Exception
public void stop()
stop
in class ProgressProcessor
public void suspend()
suspend
in class ProgressProcessor
public void resume()
resume
in class ProgressProcessor
protected void process(boolean quiet) throws java.io.IOException, ProvisioningException
process
in class ProgressProcessor
quiet
- if quiet is true, this method does not throw transition exceptionsjava.io.IOException
- when and I/O erroor occurs i.e while reading the LDIF input stream or writing the bad entries to the output stream.ProvisioningException
- when user creation/provisioning failsprotected java.lang.String getProgressEventMessage()
getProgressEventMessage
in class ProgressProcessor
protected StepInfo getProgressEventStepInfo()
getProgressEventStepInfo
in class ProgressProcessor
protected PercentInfo getProgressEventPercentInfo()
getProgressEventPercentInfo
in class ProgressProcessor
public boolean getContinueOnFailure()
public void setContinueOnFailure(boolean continueOnFailure)
continueOnFailure
- true continue with the next user on failurepublic static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |