@Security public class AdInterestServiceSecurity extends CRUDServiceSecurity<AdInterestDTO,AdInterest,AdInterestData,UserLocatorVO> implements AdInterestService
AdInterestServiceentityClass| Constructor and Description |
|---|
AdInterestServiceSecurity() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkCreateNew(UserLocatorVO locator)
Checks whether creating new entities with the given context parameters is allowed, throwing
PermissionDeniedException if not |
boolean |
doHasManageAccess(AdInterest entity)
Should be implemented in order to return whether the caller is allowed to manage the given entity, for the given
operation
|
boolean |
doHasViewAccess(AdInterest entity)
Should be implemented in order to return whether the caller is allowed to view the given entity.
|
protected AdInterestServiceLocal |
getImplementation()
Should be implemented in order to return the actual implementation of the service
|
UserAdInterestsListData |
getListData(UserLocatorVO locator)
Returns all the advertisement interests belonging to the given user,
or the logged user if the given locator is null,
plus permissions over them.
|
boolean |
isAccessible(SessionData sessionData,
AdInterest entity)
Must be implemented in order to determine whether the given entity is accessible for the given session data.
|
canPerformOperation, 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 doHasManageAccess(AdInterest entity)
CRUDServiceSecuritydoHasManageAccess in class CRUDServiceSecurity<AdInterestDTO,AdInterest,AdInterestData,UserLocatorVO>public boolean doHasViewAccess(AdInterest entity)
CRUDServiceSecuritydoHasViewAccess in class CRUDServiceSecurity<AdInterestDTO,AdInterest,AdInterestData,UserLocatorVO>public UserAdInterestsListData getListData(UserLocatorVO locator) throws FrameworkException
AdInterestServicegetListData in interface AdInterestServiceFrameworkExceptionpublic boolean isAccessible(SessionData sessionData, AdInterest entity)
CRUDServiceSecurityCRUDServiceSecurity.hasViewAccess(BaseEntity). If the only condition for an entity is
CRUDServiceSecurity.hasViewAccess(BaseEntity), this method
should return false.isAccessible in class CRUDServiceSecurity<AdInterestDTO,AdInterest,AdInterestData,UserLocatorVO>protected void checkCreateNew(UserLocatorVO locator)
CRUDServiceSecurityPermissionDeniedException if notcheckCreateNew in class CRUDServiceSecurity<AdInterestDTO,AdInterest,AdInterestData,UserLocatorVO>protected AdInterestServiceLocal getImplementation()
CRUDServiceSecuritygetImplementation in class CRUDServiceSecurity<AdInterestDTO,AdInterest,AdInterestData,UserLocatorVO>