@Security public class AdDeliveryMethodServiceSecurity extends CRUDServiceSecurity<AdDeliveryMethodDTO,AdDeliveryMethod,AdDeliveryMethodData,UserLocatorVO> implements AdDeliveryMethodService
AdDeliveryMethodServiceentityClass| Constructor and Description |
|---|
AdDeliveryMethodServiceSecurity() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canPerformOperation(AdDeliveryMethod deliveryMethod,
CRUDOperation operation)
Returns whether the logged user can perform the given operation over the given entity
|
protected void |
checkCreateNew(UserLocatorVO locator)
Checks whether creating new entities with the given context parameters is allowed, throwing
PermissionDeniedException if not |
protected User |
checkList(UserLocatorVO locator) |
boolean |
doHasManageAccess(AdDeliveryMethod deliveryMethod)
Should be implemented in order to return whether the caller is allowed to manage the given entity, for the given
operation
|
boolean |
doHasViewAccess(AdDeliveryMethod deliveryMethod)
Should be implemented in order to return whether the caller is allowed to view the given entity.
|
protected AdDeliveryMethodServiceLocal |
getImplementation()
Should be implemented in order to return the actual implementation of the service
|
UserAdDeliveryMethodsListData |
getListData(@NotNull UserLocatorVO locator)
Returns all the delivery methods belonging to the given user, or the logged user if the given locator is null,
plus permissions over them.
|
boolean |
isAccessible(SessionData sessionData,
AdDeliveryMethod entity)
Must be implemented in order to determine whether the given entity is accessible for the given session data.
|
java.util.List<AdDeliveryMethodVO> |
list(UserLocatorVO locator)
Returns all delivery methods assigned to the given user, or the logged user if the given locator is null.
|
canViewData, checkManageAccess, checkOperation, checkSave, checkViewAccess, customizeData, find, getConfirmationPasswordInputForRemove, getData, getDataForNew, getEntityClass, hasManageAccess, hasViewAccess, load, onBeforeSave, remove, removeAll, removeAllWithConfirmationPassword, removeWithConfirmationPassword, resolveEntityCheck, save, saveWithConfirmationPasswordcheckGuest, checkId, checkIds, checkInternalName, checkLoggedIn, checkManagesUser, checkRelatesToUser, checkScope, checkVO, checkVOs, doInitialize, getEntityCheckRegistry, getUser, initializecanManage, checkManagesUser, checkPermission, checkRelatesToUser, checkValue, clearAlreadyValidated, getBaseEntityManagerHandler, getConfiguration, getLoggedBasicUser, getLoggedUser, getProducts, getTranslatedName, getTranslatedValue, hasPermission, hasValue, inSameNetwork, inSameNetworkOrGlobal, isAdmin, isAlreadyValidated, isBroker, isGlobalAdmin, isGlobalAdminInNetwork, isGuest, isLoggedIn, isMember, isMemberOnly, isNetworkAdmin, isOperator, isRelatedToUser, isSystem, isUserManager, isUserManagerOf, message, message, permission, permission, permissionOptionalValue, permissionOptionalValue, toDate, toDateTime, validatedelete, detach, find, flush, from, getApplicationContext, getFormatter, getFormatter, getFormatter, getLogger, getRemoteAddress, getSessionData, mailContentBuilder, message, message, persist, processBatch, processBatch, refresh, remove, selectFrom, subQuery, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetData, getDataForNew, load, remove, removeAll, savepublic boolean canPerformOperation(AdDeliveryMethod deliveryMethod, CRUDOperation operation)
CRUDServiceSecuritypublic boolean doHasManageAccess(AdDeliveryMethod deliveryMethod)
CRUDServiceSecuritydoHasManageAccess in class CRUDServiceSecurity<AdDeliveryMethodDTO,AdDeliveryMethod,AdDeliveryMethodData,UserLocatorVO>public boolean doHasViewAccess(AdDeliveryMethod deliveryMethod)
CRUDServiceSecuritydoHasViewAccess in class CRUDServiceSecurity<AdDeliveryMethodDTO,AdDeliveryMethod,AdDeliveryMethodData,UserLocatorVO>public UserAdDeliveryMethodsListData getListData(@NotNull @NotNull UserLocatorVO locator) throws FrameworkException
AdDeliveryMethodServicegetListData in interface AdDeliveryMethodServiceFrameworkExceptionpublic boolean isAccessible(SessionData sessionData, AdDeliveryMethod entity)
CRUDServiceSecurityCRUDServiceSecurity.hasViewAccess(BaseEntity). If the only condition for an entity is
CRUDServiceSecurity.hasViewAccess(BaseEntity), this method
should return false.isAccessible in class CRUDServiceSecurity<AdDeliveryMethodDTO,AdDeliveryMethod,AdDeliveryMethodData,UserLocatorVO>public java.util.List<AdDeliveryMethodVO> list(UserLocatorVO locator)
AdDeliveryMethodServicelist in interface AdDeliveryMethodServiceprotected void checkCreateNew(UserLocatorVO locator)
CRUDServiceSecurityPermissionDeniedException if notcheckCreateNew in class CRUDServiceSecurity<AdDeliveryMethodDTO,AdDeliveryMethod,AdDeliveryMethodData,UserLocatorVO>protected User checkList(UserLocatorVO locator)
protected AdDeliveryMethodServiceLocal getImplementation()
CRUDServiceSecuritygetImplementation in class CRUDServiceSecurity<AdDeliveryMethodDTO,AdDeliveryMethod,AdDeliveryMethodData,UserLocatorVO>