public class RestrictionController
extends java.lang.Object
| Constructor and Description |
|---|
RestrictionController() |
| Modifier and Type | Method and Description |
|---|---|
AbstractRestrictionData |
createRestriction(AbstractRestrictionData restrictionData,
HttpServletRequest request,
HttpServletResponse response) |
RestrictionListData |
findAllRestrictions() |
AbstractRestrictionData |
findRestrictionById(java.lang.String restrictionId) |
RestrictionListData |
findRestrictionsByPage(java.lang.String mask,
NamedQueryData namedQuery) |
protected DataMapper |
getDataMapper() |
protected LocationHeaderResource |
getLocationHeaderResource() |
RestrictionFacade |
getRestritionFacade() |
protected WebPaginationUtils |
getWebPaginationUtils() |
void |
setDataMapper(DataMapper dataMapper) |
void |
setLocationHeaderResource(LocationHeaderResource locationHeaderResource) |
void |
setRestritionFacade(RestrictionFacade restritionFacade) |
void |
setWebPaginationUtils(WebPaginationUtils webPaginationUtils) |
AbstractRestrictionData |
updateRestriction(java.lang.String restrictionId,
AbstractRestrictionData restrictionData) |
public RestrictionListData findAllRestrictions()
public RestrictionListData findRestrictionsByPage(java.lang.String mask, NamedQueryData namedQuery) throws WebserviceValidationException
WebserviceValidationExceptionpublic AbstractRestrictionData createRestriction(AbstractRestrictionData restrictionData, HttpServletRequest request, HttpServletResponse response)
public AbstractRestrictionData findRestrictionById(java.lang.String restrictionId) throws CMSItemNotFoundException
CMSItemNotFoundExceptionpublic AbstractRestrictionData updateRestriction(java.lang.String restrictionId, AbstractRestrictionData restrictionData) throws WebserviceValidationException, CMSItemNotFoundException
protected LocationHeaderResource getLocationHeaderResource()
public void setLocationHeaderResource(LocationHeaderResource locationHeaderResource)
public RestrictionFacade getRestritionFacade()
public void setRestritionFacade(RestrictionFacade restritionFacade)
protected DataMapper getDataMapper()
public void setDataMapper(DataMapper dataMapper)
protected WebPaginationUtils getWebPaginationUtils()
public void setWebPaginationUtils(WebPaginationUtils webPaginationUtils)
Copyright © 2017 SAP SE. All Rights Reserved.