public class PersonService extends AppService implements PersonServiceRemote
APPLOGGER, CRONTASKLOGGER, CRONTASKMGRLOGGER, CRONTASKMGRSQLLOGGER, DBCONNECTIONLOGGER, DDLOGGER, DMLOGGER, EVENTLOGGER, EXCEPTIONLOGGER, MAILLOGGER, MAXIMOLOGGER, MTLOGGER, NULLMBOPOINTER, SECURITY, SENDFAILEDLOGGER, SERVICELOGGER, SQLLOGGER
appenderPrefix, 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, getCurrentState, getDBConnection, getLiveObjCount, getLoad, getMaximoDD, getMaxVar, getMboSet, getMXServer, getName, getProfile, getProxy, getSchemaOwner, getServiceInfo, getServiceLogger, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, initCriteriaList, isAppService, isRunning, isSingletonService, restart, setProxy, setRunning, setURL, verifyUser, verifyUser
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUser
isAppService, isSingletonService, restart
public PersonService(MXServer mxServer) throws java.rmi.RemoteException
srvEnv
- -- the "Server Environment" this Service is being
created in.java.rmi.RemoteException
public java.lang.String getDefaultDisplayName(java.lang.String firstName, java.lang.String lastName, UserInfo userInfo) throws MXException, java.rmi.RemoteException
getDefaultDisplayName
in interface PersonServiceRemote
firstName
- The person's first name.lastName
- The person's last name.userInfo
- The UserInfo making the request.MXException
java.rmi.RemoteException
getDefaultDisplayName(java.lang.String, java.lang.String, psdi.security.UserInfo)
public void init()
init
in interface Service
init
in class AppService
This listeners gets setup.
public void destroy()
destroy
in interface Service
destroy
in class AppService
AppService.destroy()
public java.lang.String setDfltApp(java.lang.String newdfltapp, java.lang.String personid) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void deactivateUser(MboRemote person, java.lang.String memo) throws MXException, java.rmi.RemoteException
person
- Person Mbo.MXException
java.rmi.RemoteException
public void activateUser(MboRemote person, java.lang.String memo, MXTransaction mxTran) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException