Class WarehousingBaseController
java.lang.Object
de.hybris.platform.warehousingwebservices.controllers.WarehousingBaseController
- Direct Known Subclasses:
WarehousingAsnsController,WarehousingBaseStoresController,WarehousingConsignmentsController,WarehousingOrdersController,WarehousingPointOfServicesController,WarehousingReturnsController,WarehousingStockLevelsController,WarehousingWarehousesController
Abstract class containing basic controller functionality
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected PageableDatacreatePageable(int page, int pageSize, String sort) Creates a pageableData with provided page, pageSize and sortprotected voidValidates the object by using the passed validator
-
Field Details
-
DEFAULT_FIELD_SET
- See Also:
-
DEFAULT_CURRENT_PAGE
- See Also:
-
DEFAULT_PAGE_SIZE
- See Also:
-
DEFAULT_SORT
- See Also:
-
WAREHOUSE_AGENT_GROUP
- See Also:
-
WAREHOUSE_MANAGER_GROUP
- See Also:
-
WAREHOUSE_ADMINISTRATOR_GROUP
- See Also:
-
dataMapper
-
-
Constructor Details
-
WarehousingBaseController
public WarehousingBaseController()
-
-
Method Details
-
createPageable
Creates a pageableData with provided page, pageSize and sort- Parameters:
page- current page numberpageSize- number of items in a pagesort- sorting the results ascending or descending- Returns:
- a pageableData
-
validate
protected void validate(Object object, String objectName, org.springframework.validation.Validator validator) Validates the object by using the passed validator- Parameters:
object- object to validateobjectName- name of the object which will be validatedvalidator- validator with which the object will be validated
-