public class CmsImportUserThread extends A_CmsReportThread
m_report| Modifier | Constructor and Description |
|---|---|
protected |
CmsImportUserThread(CmsObject cms,
java.lang.String ou,
java.util.List<CmsUser> userList,
java.util.List<java.lang.String> groups,
java.util.List<CmsRole> roles,
boolean sendmail)
public constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getReportUpdate()
Returns the part of the report that is ready for output.
|
protected boolean |
isAlreadyAvailable(java.lang.String userName)
Checks if the given user name is already available inside the current ou.
|
void |
run() |
addError, getCms, getError, getErrors, getLastEntryTime, getLogChannel, getReport, getReportUpdate, getRuntime, getUUID, hasError, initHtmlReport, initOldHtmlReport, isDoomedactiveCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitstartprotected CmsImportUserThread(CmsObject cms, java.lang.String ou, java.util.List<CmsUser> userList, java.util.List<java.lang.String> groups, java.util.List<CmsRole> roles, boolean sendmail)
cms - CmsObjectou - ou nameuserList - List of user to importgroups - groups to add user toroles - roles to add user tosendmail - send mail to user?public java.lang.String getReportUpdate()
A_CmsReportThreadgetReportUpdate in class A_CmsReportThreadA_CmsReportThread.getReportUpdate()public void run()
run in interface java.lang.Runnablerun in class java.lang.ThreadThread.run()protected boolean isAlreadyAvailable(java.lang.String userName)
userName - the user name to checktrue if the user name is already available, otherwise return false