public class ContractService extends AppService implements ContractServiceRemote
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 |
---|
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, 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, 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 ContractService() throws java.rmi.RemoteException
java.rmi.RemoteException
public ContractService(MXServer mxServer) throws java.rmi.RemoteException
srvEnv
- -- the "Server Environment" this Service is being
created in.java.rmi.RemoteException
public MboSetRemote findContracts(MboRemote inputMbo, MboRemote owningMbo) throws MXException, java.rmi.RemoteException
findContracts
in interface ContractServiceRemote
inputMbo
- The calling MBO. Could be POLine/PRLine MBO.owningMbo
- The owner of inputMbo. Could be PO/PR MBO.MXException
java.rmi.RemoteException
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 ContractServiceRemote
mboRemote
- 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.MXException
java.rmi.RemoteException
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
MXException
java.rmi.RemoteException
public MboSetRemote getContractLine(MboRemote mboRemote) throws MXException, java.rmi.RemoteException
getContractLine
in interface ContractServiceRemote
mboRemote
- The calling MBO. Could be PO/PR MBO.MXException
java.rmi.RemoteException
getContractLine(MboRemote)