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
ValidationExceptionAttrTypeImp createAttrType(AttrTypeImp attrTypeImp) throws ValidationException
ValidationExceptionAttrTypeImp updateAttrType(AttrTypeImp attrTypeImp) throws ValidationException
ValidationExceptionAttrValueImp addAttrValueToAttrType(int attrTypeId, AttrValueImp attrValueImp) throws ValidationException
ValidationExceptionAttrValueImp updateAttrValueForAttrType(int attrTypeId, AttrValueImp attrValueImp) throws ValidationException
ValidationExceptionjava.lang.String convertDecimalFromUserFormatToBackendFormat(java.lang.Object attrValue)
throws java.text.ParseException
java.text.ParseExceptionjava.lang.Number converUserFormatToNumber(java.lang.Object attrValue)
throws java.text.ParseException
java.text.ParseExceptionjava.lang.String convertDecimalFromBackendToUserFormat(java.lang.String backendNumber)
java.util.List<AttrTypeImp> getAllAttrTypes(boolean onlyActiveAttributes)
AttrValueImp deleteAttrValue(int attrValueId) throws ValidationException
ValidationExceptionvoid 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)