public class CRMBOInventoryDefinitionBean extends CRMBODefinition
Constructor and Description |
---|
CRMBOInventoryDefinitionBean()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
existAllowedWarehouseType(com.crm.dataobject.inventory.CRMDOWarehouse warehouse,
com.crm.dataobject.inventory.InventoryDefinitionAllowedWTClassification classification)
Checks if a warehouse type exist in definition.
|
java.util.ArrayList<java.lang.String> |
getDefaultAssociations()
Returns the default associated data objects of an inventory definition.
|
com.crm.dataobject.inventory.CRMDOInventoryDefinition |
validateWarehouseTypeUniqueness(com.crm.dataobject.inventory.CRMDOInventoryDefinition inventoryDefinition,
java.lang.String typeName)
Validates the uniqueness of an inventory definition allowed warehouse types.
|
loadActiveDefinition, loadInactiveDefinitions, save, setActiveDefinition, validateOnDelete
isDefault, loadDefault, setDefault
construct, construct, construct, construct, construct, construct, construct, construct, createAndUpdate, delete, delete, delete, getDOName, getDOName, getNextSequenceNumber, getNextSequenceNumber, getNumberScheme, load, load, load, load, load, load, load, load, loadAll, loadAll, loadAll, parseAssociations, save, save, saveCRMDOCollection, saveImages, setMandatoryFields, setNumberScheme, validateAndDelete, validateAndSave, validateAndSave, validateAndSave, validateOnDelete, validateOnDelete, validateOnSave, validateOnSave, validateOnSave
dispatch, getCRMSession, getCRMSessionHandle, getEJBHomeInterface, getInitialContext, getSessionContext, invoke, setCRMSessionHandle, setInitialContext, setSessionContext
public CRMBOInventoryDefinitionBean()
public java.util.ArrayList<java.lang.String> getDefaultAssociations()
getDefaultAssociations
in class CRMBO
public com.crm.dataobject.inventory.CRMDOInventoryDefinition validateWarehouseTypeUniqueness(com.crm.dataobject.inventory.CRMDOInventoryDefinition inventoryDefinition, java.lang.String typeName) throws java.lang.Exception
inventoryDefinition
- - the inventory definition to validatetypeName
- - an inventory definition allowed warehouse namejava.lang.Exception
public boolean existAllowedWarehouseType(com.crm.dataobject.inventory.CRMDOWarehouse warehouse, com.crm.dataobject.inventory.InventoryDefinitionAllowedWTClassification classification) throws java.lang.Exception
warehouse
- - the warehouse to check the type ofclassification
- - the warehouse type classificationjava.lang.Exception