public class ContractService extends AppService implements ContractServiceRemote
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 |
|---|
ContractService()
Call the constructor.
|
ContractService(MXServer mxServer) |
| Modifier and Type | Method and Description |
|---|---|
MboSetRemote |
findContracts(MboRemote inputMbo,
MboRemote owningMbo)
Find valid contracts for a given item number and vendor combination.
|
java.util.Vector |
findLeaseContracts(MboRemote mboRemote,
java.lang.String vendor,
java.lang.String catalogCode) |
java.util.Vector |
findValidContracts(MboRemote mboRemote,
java.lang.String vendor,
java.lang.String catalogCode,
boolean createRel)
Find valid contracts for this item, vendor and catalog.
|
MboSetRemote |
getContractLine(MboRemote mboRemote)
Returns a set of ContractLine.
|
checkSecurity, configure, destroy, freeDBConnection, freeMboSet, getCriteria, getCriteriaList, 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, 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 ContractService()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic ContractService(MXServer mxServer) throws java.rmi.RemoteException
srvEnv - -- the "Server Environment" this Service is being
created in.java.rmi.RemoteExceptionpublic MboSetRemote findContracts(MboRemote inputMbo, MboRemote owningMbo) throws MXException, java.rmi.RemoteException
findContracts in interface ContractServiceRemoteinputMbo - The calling MBO. Could be POLine/PRLine MBO.owningMbo - The owner of inputMbo. Could be PO/PR MBO.MXExceptionjava.rmi.RemoteExceptionContractService.findContracts(MboRemote, MboRemote)public java.util.Vector findValidContracts(MboRemote mboRemote, java.lang.String vendor, java.lang.String catalogCode, boolean createRel) throws MXException, java.rmi.RemoteException
findValidContracts in interface ContractServiceRemotemboRemote - The calling MBO. Could be Reroder MBO.vendor - The vendor of the contract. If it is null, contracts for all vendors will be searched.createRel - Blanket or other contracts. True is Blanket contract. False is other contracts.MXExceptionjava.rmi.RemoteExceptionContractService.findValidContracts(MboRemote, String, String, boolean)public java.util.Vector findLeaseContracts(MboRemote mboRemote, java.lang.String vendor, java.lang.String catalogCode) throws MXException, java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote getContractLine(MboRemote mboRemote) throws MXException, java.rmi.RemoteException
getContractLine in interface ContractServiceRemotemboRemote - The calling MBO. Could be PO/PR MBO.MXExceptionjava.rmi.RemoteExceptionContractService.getContractLine(MboRemote)