Package org.cyclos.services.system
Interface BaseCustomFieldPossibleValueCategoryService
-
- All Superinterfaces:
CRUDService<CustomFieldPossibleValueCategoryDTO,CustomFieldPossibleValueCategoryData,CustomFieldVO>,Service
- All Known Subinterfaces:
AdCustomFieldPossibleValueCategoryService,AdCustomFieldPossibleValueCategoryServiceLocal,BaseCustomFieldPossibleValueCategoryServiceLocal<CF,C,PV>,ContactCustomFieldPossibleValueCategoryService,ContactCustomFieldPossibleValueCategoryServiceLocal,ContactInfoFieldPossibleValueCategoryService,ContactInfoFieldPossibleValueCategoryServiceLocal,CustomOperationFieldPossibleValueCategoryService,CustomOperationFieldPossibleValueCategoryServiceLocal,CustomWizardFieldPossibleValueCategoryService,CustomWizardFieldPossibleValueCategoryServiceLocal,DocumentCustomFieldPossibleValueCategoryService,DocumentCustomFieldPossibleValueCategoryServiceLocal,RecordCustomFieldPossibleValueCategoryService,RecordCustomFieldPossibleValueCategoryServiceLocal,TransactionCustomFieldPossibleValueCategoryService,TransactionCustomFieldPossibleValueCategoryServiceLocal,UserCustomFieldPossibleValueCategoryService,UserCustomFieldPossibleValueCategoryServiceLocal,VoucherCustomFieldPossibleValueCategoryService,VoucherCustomFieldPossibleValueCategoryServiceLocal
public interface BaseCustomFieldPossibleValueCategoryService extends CRUDService<CustomFieldPossibleValueCategoryDTO,CustomFieldPossibleValueCategoryData,CustomFieldVO>
Base service for custom field possible value categories
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<CustomFieldPossibleValueCategoryVO>list(@NotNull CustomFieldVO customField)Returns all categories for the given custom fieldvoidmove(@NotNull Long id, boolean up)Moves the given possible value in order, either up or downvoidsaveCategories(@NotNull List<CustomFieldPossibleValueCategoryDTO> dtos)Saves the given categoriesvoidsaveOrder(@NotNull List<Long> customFieldCategoryIds)Saves a custom field possible value category order.-
Methods inherited from interface org.cyclos.services.CRUDService
getData, getDataForNew, load, remove, removeAll, save
-
-
-
-
Method Detail
-
list
List<CustomFieldPossibleValueCategoryVO> list(@NotNull @NotNull CustomFieldVO customField) throws FrameworkException
Returns all categories for the given custom field- Throws:
FrameworkException
-
move
void move(@NotNull @NotNull Long id, boolean up) throws FrameworkExceptionMoves the given possible value in order, either up or down- Throws:
FrameworkException
-
saveCategories
void saveCategories(@NotNull @NotNull List<CustomFieldPossibleValueCategoryDTO> dtos) throws FrameworkExceptionSaves the given categories- Throws:
FrameworkException
-
saveOrder
void saveOrder(@NotNull @NotNull List<Long> customFieldCategoryIds) throws FrameworkExceptionSaves a custom field possible value category order.- Throws:
FrameworkException
-
-