public class PersonService extends AppService implements PersonServiceRemote
currentState, dbManager, INIT, liveObjCount, load, LOAD, mxServer, name, RUN, running, stateCmdList, stateList, STOP, urlAPPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGERappenderPrefix, LOGGERNAME_APP, LOGGERNAME_CRONTASK, LOGGERNAME_CRONTASKMGR, LOGGERNAME_DBCONNECTION, LOGGERNAME_DD, LOGGERNAME_DM, LOGGERNAME_DMPREVIEW, LOGGERNAME_EVENT, LOGGERNAME_EXCEPTION, LOGGERNAME_MAIL, LOGGERNAME_MAXIMO, LOGGERNAME_MT, LOGGERNAME_NULLMBOPOINTER, LOGGERNAME_SECURITY, LOGGERNAME_SENDFAILED, LOGGERNAME_SERVICE, LOGGERNAME_SQL, LOGGERNAME_SQL_CRONTASKMGR, LOGGERNAME_TXN, loggerPrefix| Constructor and Description |
|---|
PersonService(MXServer mxServer) |
| Modifier and Type | Method and Description |
|---|---|
void |
activateUser(MboRemote person,
java.lang.String memo,
MXTransaction mxTran) |
void |
deactivateUser(MboRemote person,
java.lang.String memo)
Inactivate user.
|
void |
destroy()
Unregister event listeners.
|
java.lang.String |
getDefaultDisplayName(java.lang.String firstName,
java.lang.String lastName,
UserInfo userInfo)
Get the default displayname.
|
void |
init()
Initialization
|
java.lang.String |
setDfltApp(java.lang.String newdfltapp,
java.lang.String personid) |
checkSecurity, configure, freeDBConnection, freeMboSet, getCriteria, getCriteriaList, getCurrentState, getDBConnection, getLiveObjCount, getLoad, getMaximoDD, getMaxVar, getMboSet, getMXServer, getName, getProfile, getProxy, getSchemaOwner, getServiceInfo, getServiceLogger, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, initCriteriaList, isAppService, isRunning, isSingletonService, restart, setName, setProxy, setRunning, setURL, verifyUser, verifyUserclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUserisAppService, isSingletonService, restartpublic PersonService(MXServer mxServer) throws java.rmi.RemoteException
srvEnv - -- the "Server Environment" this Service is being
created in.java.rmi.RemoteExceptionpublic java.lang.String getDefaultDisplayName(java.lang.String firstName,
java.lang.String lastName,
UserInfo userInfo)
throws MXException,
java.rmi.RemoteException
getDefaultDisplayName in interface PersonServiceRemotefirstName - The person's first name.lastName - The person's last name.userInfo - The UserInfo making the request.MXExceptionjava.rmi.RemoteExceptionPersonService.getDefaultDisplayName(java.lang.String, java.lang.String, psdi.security.UserInfo)public void init()
init in interface Serviceinit in class AppServiceThis listeners gets setup.public void destroy()
destroy in interface Servicedestroy in class AppServiceAppService.destroy()public java.lang.String setDfltApp(java.lang.String newdfltapp,
java.lang.String personid)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void deactivateUser(MboRemote person, java.lang.String memo) throws MXException, java.rmi.RemoteException
person - Person Mbo.MXExceptionjava.rmi.RemoteExceptionpublic void activateUser(MboRemote person, java.lang.String memo, MXTransaction mxTran) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteException