public interface AttrTypeService
java.util.Optional<AttrType> getAttrTypeWithName(java.lang.String name)
java.util.Optional<AttrTypeImp> getAttrTypeImpWithId(int id)
void deleteAttrType(int id) throws ValidationException
ValidationException
AttrTypeImp createAttrType(AttrTypeImp attrTypeImp) throws ValidationException
ValidationException
AttrTypeImp updateAttrType(AttrTypeImp attrTypeImp) throws ValidationException
ValidationException
AttrValueImp addAttrValueToAttrType(int attrTypeId, AttrValueImp attrValueImp) throws ValidationException
ValidationException
AttrValueImp updateAttrValueForAttrType(int attrTypeId, AttrValueImp attrValueImp) throws ValidationException
ValidationException
java.lang.String convertDecimalFromUserFormatToBackendFormat(java.lang.Object attrValue) throws java.text.ParseException
java.text.ParseException
java.lang.Number converUserFormatToNumber(java.lang.Object attrValue) throws java.text.ParseException
java.text.ParseException
java.lang.String convertDecimalFromBackendToUserFormat(java.lang.String backendNumber)
java.util.List<AttrTypeImp> getAllAttrTypes(boolean onlyActiveAttributes)
AttrValueImp deleteAttrValue(int attrValueId) throws ValidationException
ValidationException
void moveAttrValueDown(int attrValueId)
void moveAttrValueUp(int attrValueId)
void addComponentAttributes(java.util.List<AttrComponentValueImp> attrComponentValueList)
AttrComponentValue addComponentAttribute(AttrComponentValueImp attrComponentValueImp)
java.util.List<AttrComponentValueImp> getComponentAttrList(long componentId)
AttrComponentValue[] getComponentsWithAttrValue(int attrId, java.lang.String value)
AttrComponentValue[] getComponentsWithAttrValue(int attrId, java.lang.Double value)
AttrComponentValue[] getComponentsWithAttrValueGreaterThan(int attrId, java.lang.Number value)
AttrComponentValue[] getComponentsWithAttrValueLessThan(int attrId, java.lang.Number value)