public class MRService extends AppService implements MRServiceRemote
APPLOGGER, 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 |
|---|
MRService() |
MRService(MXServer mxServer) |
| Modifier and Type | Method and Description |
|---|---|
void |
addFromFavorites(MboRemote mr,
MboSetRemote mrLineSetRemote,
MboSetRemote favItemSetRemote)
This is a service method that takes in an favorite items and adds them to the MR lines.
|
void |
addToFavorites(UserInfo userInfo,
MboRemote mrLineRemote)
This is a service method that takes in an MRLineRemote and adds it to the favorite items.
|
void |
changeStatus(MRRemote mr,
java.lang.String status,
java.util.Date date,
java.lang.String memo)
Service Method used to change status.
|
MboSetRemote |
getFavorites(UserInfo userInfo)
This is a service method that user's returns favorite items.
|
MboSetRemote |
getNewMRMboSet(java.lang.String mrnum,
UserInfo userInfo) |
void |
isMRValid(UserInfo userInfo,
java.lang.String mrnum)
Check if this mr is valid or if the mr is in approved status
|
boolean |
itemOrServiceAlreadyOnFavorites(MboSetRemote mrLineSetRemote,
java.lang.String[] attrs,
java.lang.String[] attrNames)
This method checks if the item or service present on the passed in MRLine already exists on the
MR table based on the vendor,itemnum,catalogcode,manufacturer,modelnum,description
combination.If the item or special order part or service already exists it returns true
otherwise it returns false.
|
checkSecurity, configure, destroy, freeDBConnection, freeMboSet, getCriteria, getCurrentState, getDBConnection, getLiveObjCount, getLoad, getMaximoDD, getMaxVar, getMboSet, getMXServer, getName, getProfile, getProxy, getSchemaOwner, getServiceInfo, getServiceLogger, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, init, initCriteriaList, isAppService, isRunning, isSingletonService, restart, setProxy, setRunning, setURL, verifyUser, verifyUserequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckSecurity, getCriteria, getCurrentState, getLiveObjCount, getMboSet, getName, getSchemaOwner, getSetForRelationship, getSetFromKeys, getStateCmdList, getStateList, getURL, verifyUser, verifyUserisAppService, isSingletonService, restartpublic MRService()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic MRService(MXServer mxServer) throws java.rmi.RemoteException
srvEnv - -- the "Server Environment" this Service is being
created in.java.rmi.RemoteExceptionpublic void isMRValid(UserInfo userInfo, java.lang.String mrnum) throws MXException, java.rmi.RemoteException
isMRValid in interface MRServiceRemotemrnum - The mr numberMXExceptionjava.rmi.RemoteExceptionisMRValid(psdi.security.UserInfo, java.lang.String)public MboSetRemote getNewMRMboSet(java.lang.String mrnum, UserInfo userInfo) throws MXException, java.rmi.RemoteException
getNewMRMboSet in interface MRServiceRemoteMXExceptionjava.rmi.RemoteExceptiongetNewMRMboSet(java.lang.String, psdi.security.UserInfo)public MboSetRemote getFavorites(UserInfo userInfo) throws MXException, java.rmi.RemoteException
getFavorites in interface MRServiceRemoteMXExceptionjava.rmi.RemoteExceptiongetFavorites(psdi.security.UserInfo)public void addToFavorites(UserInfo userInfo, MboRemote mrLineRemote) throws MXException, java.rmi.RemoteException
addToFavorites in interface MRServiceRemoteMXExceptionjava.rmi.RemoteExceptionpsdi.app.mr.MRService#addToFavoritepublic void addFromFavorites(MboRemote mr, MboSetRemote mrLineSetRemote, MboSetRemote favItemSetRemote) throws MXException, java.rmi.RemoteException
addFromFavorites in interface MRServiceRemoteMXExceptionjava.rmi.RemoteExceptionaddFromFavorites(psdi.mbo.MboRemote, psdi.mbo.MboSetRemote, psdi.mbo.MboSetRemote)public boolean itemOrServiceAlreadyOnFavorites(MboSetRemote mrLineSetRemote, java.lang.String[] attrs, java.lang.String[] attrNames) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic void changeStatus(MRRemote mr, java.lang.String status, java.util.Date date, java.lang.String memo) throws MXException, java.rmi.RemoteException
changeStatus in interface MRServiceRemotemr - MR Mbostatus - The new statusdate - The datememo - The memo.MXApplicationException("MR", - "invalidstatuschange");
MXApplicationException("mr","mrCannotBeApproved")
MXApplicationException("mr", "reordererror", params)MXExceptionjava.rmi.RemoteExceptionthrows MXException, RemoteException;