public class ItemService extends AppService implements ItemServiceRemote
criteriaROTATING
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 |
---|
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, 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 ItemService() throws java.rmi.RemoteException
java.rmi.RemoteException
public ItemService(MXServer mxServer) throws java.rmi.RemoteException
srvEnv
- -- the "Server Environment" this Service is being
created in.java.rmi.RemoteException
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) throws MXException, java.rmi.RemoteException
getInvVendorSql
in interface ItemServiceRemote
itemnum
- itemnumitemsetid
- itemsetidvendor
- vendormanufacturer
- manufacturermodelnum
- modelnumMXException
java.rmi.RemoteException
getInvVendorSql(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 ItemServiceRemote
itemnum
- itemnumitemsetid
- itemsetidvendor
- vendormanufacturer
- manufacturermodelnum
- modelnumconditioncode
- conditioncodeMXException
java.rmi.RemoteException
getInvVendorSql(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 ItemServiceRemote
itemnum
- itemnumitemsetid
- itemsetidvendor
- vendormanufacturer
- manufacturermodelnum
- modelnumconditioncode
- conditioncodeMXException
java.rmi.RemoteException
getInvVendorSql(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 ItemServiceRemote
itemnum
- itemnumitemsetid
- item set identifiervendor
- vendorcatalogcode
- vendor's part numberMXException
java.rmi.RemoteException
getInvVendorSql(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 AppService
MXException
java.rmi.RemoteException
public boolean isItemRotating(UserInfo userInfo, java.lang.String itemnum, java.lang.String itemsetid) throws MXException, java.rmi.RemoteException
isItemRotating
in interface ItemServiceRemote
userInfo
- user information to instantiate a mbo set in call to getItemMboitemnum
- The item numberitemsetid
- The item set identifierMXapplicationException
- - invalid item numMXException
java.rmi.RemoteException
isItemRotating(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 ItemServiceRemote
userInfo
- user information to instantiate a mbo set in call to getItemMboitemnum
- The item numberitemsetid
- The item set identifierMXapplicationException
- - invalid item numMXException
java.rmi.RemoteException
isItemLotted(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 ItemServiceRemote
userInfo
- user information to instantiate a mbo set in call to getItemMboitemnum
- The item numberitemsetid
- Item Set IdentifierMXapplicationException
- - invalid item numMXException
java.rmi.RemoteException
isValidItem(UserInfo userInfo,String itemnum,String itemsetid)
public MboSetRemote removeSpecialOrderItems(UserInfo userInfo, java.util.Vector storelocVec) throws MXException, java.rmi.RemoteException
removeSpecialOrderItems
in interface ItemServiceRemote
userInfo
- user information to instantiate an Item MBO setstoreLoc
- vector containing the storerooms from which the special order items
are to be removedMXException
java.rmi.RemoteException
removeSpecialOrderItems(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 ItemServiceRemote
item
- Mbostatus
- The new statusdate
- The datememo
- The memo.MXApplicationException("item",
- "...");
MXApplicationException("invoice", "StatusDate")
MXApplicationException(""invoice", "CanCancelForSchedulePO")MXException
java.rmi.RemoteException
throws MXException, RemoteException