public class ItemService extends AppService implements ItemServiceRemote
criteriaROTATINGAPPLOGGER, 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 |
|---|
ItemService() |
ItemService(MXServer mxServer) |
| Modifier and Type | Method and Description |
|---|---|
void |
changeStatus(ItemRemote item,
java.lang.String status,
java.util.Date date,
java.lang.String memo)
Service Method used to change status.
|
java.lang.String |
getInvVendorSql(java.lang.String vendor,
MboRemote mbo)
This method will construct a sql statement based on the parameters
for INVVENDOR; this code is here for convenience because MATRECTRANS
INVENTORY, & POLINE needs to access INVVENDOR.
|
java.lang.String |
getInvVendorSql(UserInfo userInfo,
java.lang.String itemnum,
java.lang.String itemsetid,
java.lang.String vendor,
java.lang.String catalogCode)
This method will construct a sql statement based on the parameters
for INVVENDOR upon an itemnum and optionally vendor or catalogCode.
|
java.lang.String |
getInvVendorSql(UserInfo userInfo,
java.lang.String itemnum,
java.lang.String itemsetid,
java.lang.String vendor,
java.lang.String manufacturer,
java.lang.String modelnum)
This method will construct a sql statement based on the parameters
for INVVENDOR; this code is here for convenience because MATRECTRANS
INVENTORY, & POLINE needs to access INVVENDOR.
|
java.lang.String |
getInvVendorSql(UserInfo userInfo,
java.lang.String itemnum,
java.lang.String itemsetid,
java.lang.String vendor,
java.lang.String manufacturer,
java.lang.String modelnum,
java.lang.String conditioncode)
This method will construct a sql statement based on the parameters
for INVVENDOR; this code is here for convenience because MATRECTRANS
INVENTORY, & POLINE needs to access INVVENDOR.
|
void |
initCriteriaList(java.util.Hashtable criteriaTable)
initCriteriaList(hashtable)
This method is designed to create a ready-made list of common where clauses, which
can be called upon by anywhere, anywhere.
|
boolean |
isItemLotted(UserInfo userInfo,
java.lang.String itemnum,
java.lang.String itemsetid)
Returns true if the passed item is lotted; false otherwise.
|
boolean |
isItemRotating(UserInfo userInfo,
java.lang.String itemnum,
java.lang.String itemsetid)
Returns true if the passed item is a rotating one; false otherwise.
|
ItemRemote |
isValidItem(UserInfo userInfo,
java.lang.String itemnum,
java.lang.String itemsetid)
Returns the item mbo if the passed item is a valid item; throws item not
found exception if item is not valid.
|
MboSetRemote |
removeSpecialOrderItems(UserInfo userInfo,
java.util.Vector storelocVec)
gets the set of items that exist as a special order item in at least one storeroom location.
|
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, 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 ItemService()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic ItemService(MXServer mxServer) throws java.rmi.RemoteException
srvEnv - -- the "Server Environment" this Service is being
created in.java.rmi.RemoteExceptionpublic java.lang.String getInvVendorSql(UserInfo userInfo, java.lang.String itemnum, java.lang.String itemsetid, java.lang.String vendor, java.lang.String manufacturer, java.lang.String modelnum) throws MXException, java.rmi.RemoteException
getInvVendorSql in interface ItemServiceRemoteitemnum - itemnumitemsetid - itemsetidvendor - vendormanufacturer - manufacturermodelnum - modelnumMXExceptionjava.rmi.RemoteExceptiongetInvVendorSql(UserInfo userInfo,String item,String itemsetid,String vendor,String manufacturer,String modelnum)public java.lang.String getInvVendorSql(UserInfo userInfo, java.lang.String itemnum, java.lang.String itemsetid, java.lang.String vendor, java.lang.String manufacturer, java.lang.String modelnum, java.lang.String conditioncode) throws MXException, java.rmi.RemoteException
getInvVendorSql in interface ItemServiceRemoteitemnum - itemnumitemsetid - itemsetidvendor - vendormanufacturer - manufacturermodelnum - modelnumconditioncode - conditioncodeMXExceptionjava.rmi.RemoteExceptiongetInvVendorSql(UserInfo userInfo,String item,String itemsetid,String vendor,String manufacturer,String modelnum,String conditioncode )public java.lang.String getInvVendorSql(java.lang.String vendor,
MboRemote mbo)
throws MXException,
java.rmi.RemoteException
getInvVendorSql in interface ItemServiceRemoteitemnum - itemnumitemsetid - itemsetidvendor - vendormanufacturer - manufacturermodelnum - modelnumconditioncode - conditioncodeMXExceptionjava.rmi.RemoteExceptiongetInvVendorSql(String vendor,MboRemote mbo )public java.lang.String getInvVendorSql(UserInfo userInfo, java.lang.String itemnum, java.lang.String itemsetid, java.lang.String vendor, java.lang.String catalogCode) throws MXException, java.rmi.RemoteException
getInvVendorSql in interface ItemServiceRemoteitemnum - itemnumitemsetid - item set identifiervendor - vendorcatalogcode - vendor's part numberMXExceptionjava.rmi.RemoteExceptiongetInvVendorSql(UserInfo userInfo,String item,String itemsetid,String vendor,String catalogCode)public void initCriteriaList(java.util.Hashtable criteriaTable)
throws MXException,
java.rmi.RemoteException
initCriteriaList in class AppServiceMXExceptionjava.rmi.RemoteExceptionpublic boolean isItemRotating(UserInfo userInfo, java.lang.String itemnum, java.lang.String itemsetid) throws MXException, java.rmi.RemoteException
isItemRotating in interface ItemServiceRemoteuserInfo - user information to instantiate a mbo set in call to getItemMboitemnum - The item numberitemsetid - The item set identifierMXapplicationException - - invalid item numMXExceptionjava.rmi.RemoteExceptionisItemRotating(UserInfo userInfo,String itemnum,String itemsetid)public boolean isItemLotted(UserInfo userInfo, java.lang.String itemnum, java.lang.String itemsetid) throws MXException, java.rmi.RemoteException
isItemLotted in interface ItemServiceRemoteuserInfo - user information to instantiate a mbo set in call to getItemMboitemnum - The item numberitemsetid - The item set identifierMXapplicationException - - invalid item numMXExceptionjava.rmi.RemoteExceptionisItemLotted(UserInfo userInfo,String itemnum,String itemsetid)public ItemRemote isValidItem(UserInfo userInfo, java.lang.String itemnum, java.lang.String itemsetid) throws MXException, java.rmi.RemoteException
isValidItem in interface ItemServiceRemoteuserInfo - user information to instantiate a mbo set in call to getItemMboitemnum - The item numberitemsetid - Item Set IdentifierMXapplicationException - - invalid item numMXExceptionjava.rmi.RemoteExceptionisValidItem(UserInfo userInfo,String itemnum,String itemsetid)public MboSetRemote removeSpecialOrderItems(UserInfo userInfo, java.util.Vector storelocVec) throws MXException, java.rmi.RemoteException
removeSpecialOrderItems in interface ItemServiceRemoteuserInfo - user information to instantiate an Item MBO setstoreLoc - vector containing the storerooms from which the special order items
are to be removedMXExceptionjava.rmi.RemoteExceptionremoveSpecialOrderItems(UserInfo userInfo,Vector storelocVec)public void changeStatus(ItemRemote item, java.lang.String status, java.util.Date date, java.lang.String memo) throws MXException, java.rmi.RemoteException
changeStatus in interface ItemServiceRemoteitem - Mbostatus - The new statusdate - The datememo - The memo.MXApplicationException("item", - "...");
MXApplicationException("invoice", "StatusDate")
MXApplicationException(""invoice", "CanCancelForSchedulePO")MXExceptionjava.rmi.RemoteExceptionthrows MXException, RemoteException