Package ch.cern.eam.wshub.core.tools
Class FieldDescriptionTools
java.lang.Object
ch.cern.eam.wshub.core.tools.FieldDescriptionTools
Fetch the description of some fields that are missing when reading from
web services
-
Constructor Summary
ConstructorsConstructorDescriptionFieldDescriptionTools(Tools tools, ApplicationData applicationData, net.datastream.wsdls.eamws.EAMWebServicesPT eamws) -
Method Summary
Modifier and TypeMethodDescriptionreadBinDesc(EAMContext eamContext, String storeCode, String binCode) readCategoryDesc(EAMContext eamContext, String categoryCode) readClassDesc(EAMContext context, String entity, String classCode) readCommodityDesc(EAMContext eamContext, String commodityCode) readCostCodeDesc(EAMContext eamContext, String costCode) readCustomFieldDesc(String entityCode, String codeValue) Reads the description of a custom field valuereadDepartmentDesc(EAMContext context, String departmentCode) readManufacturerDesc(EAMContext eamContext, String manufacturerCode) readPersonDesc(EAMContext context, String personCode) readSystemCodeForUserCode(EAMContext eamContext, String entity, String userCode) voidreadUDFRENTDescriptions(UserDefinedFields udfs, String entity) Method to complete the descriptions of the user defined fields of type RENTreadUOMDesc(EAMContext eamContext, String uomCode) readUserCodeDesc(EAMContext eamContext, String entity, String userCode)
-
Constructor Details
-
FieldDescriptionTools
public FieldDescriptionTools(Tools tools, ApplicationData applicationData, net.datastream.wsdls.eamws.EAMWebServicesPT eamws)
-
-
Method Details
-
readPersonDesc
-
readDepartmentDesc
-
readClassDesc
-
readUOMDesc
-
readCategoryDesc
-
readCommodityDesc
-
readManufacturerDesc
-
readBinDesc
-
readCostCodeDesc
-
readUserCodeDesc
-
readSystemCodeForUserCode
-
readCustomFieldDesc
Reads the description of a custom field value- Parameters:
entityCode- The entitycodeValue- The code value- Returns:
- The desc value for the custom field
-
readUDFRENTDescriptions
Method to complete the descriptions of the user defined fields of type RENT- Parameters:
udfs- user defined fields that are going to be populatedentity- entity that is being populated
-