@Security public class MobilePageServiceSecurity extends CRUDServiceSecurity<MobilePageDTO,MobilePage,MobilePageData,ConfigurationVO> implements MobilePageService
entityClass| Constructor and Description |
|---|
MobilePageServiceSecurity() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkCreateNew(ConfigurationVO configurationVO)
Checks whether creating new entities with the given context parameters is allowed, throwing
PermissionDeniedException if not |
protected boolean |
doHasManageAccess(MobilePage entity)
Should be implemented in order to return whether the caller is allowed to manage the given entity, for the given
operation
|
boolean |
doHasViewAccess(MobilePage entity)
Should be implemented in order to return whether the caller is allowed to view the given entity.
|
java.lang.String |
getContent(java.lang.Long id)
Returns the content of a mobile page
|
protected MobilePageServiceLocal |
getImplementation()
Should be implemented in order to return the actual implementation of the service
|
MobilePagesListData |
getListData(ConfigurationVO configurationVO)
Returns data with a list of mobile pages in a given configuration
|
boolean |
isAccessible(SessionData sessionData,
MobilePage entity)
Must be implemented in order to determine whether the given entity is accessible for the given session data.
|
java.util.List<MobilePageVO> |
list(ConfigurationVO configurationVO)
Lists all mobile pages for the given configuration
|
void |
saveOrder(java.util.List<java.lang.Long> ids)
Updates the order field according to the given ids sequence
|
canPerformOperation, canViewHistoryLog, checkManageAccess, checkOperation, checkViewAccess, customizeData, find, getConfirmationPasswordInputForRemove, getData, getDataForNew, getEntityClass, hasManageAccess, hasViewAccess, load, onBeforeSave, remove, removeAll, removeAllWithConfirmationPassword, removeWithConfirmationPassword, resolveEntityCheck, save, saveWithConfirmationPasswordcheckGuest, checkId, checkIds, checkInternalName, checkLoggedIn, checkManagesUser, checkRelatesToUser, checkVO, checkVOs, doInitialize, getEntityCheckRegistry, getUser, initializecanManage, checkManagesUser, checkPermission, checkRelatesToUser, checkValue, clearAlreadyValidated, getAccountHandler, getAuthHandler, getBaseEntityManagerHandler, getChannelConfiguration, getConfiguration, getConversionHandler, getCustomFieldValueHandler, getEntityManagerHandler, getGroupsHandler, getLoggedBasicUser, getLoggedUser, getProducts, getProductsHandler, getReportHandler, getTranslatedName, getTranslatedValue, getUserLocatorHandler, getValidationResult, hasPermission, hasValue, inSameNetwork, inSameNetworkOrGlobal, isAdmin, isAlreadyValidated, isBroker, isGlobalAdmin, isGlobalAdminInNetwork, isGuest, isLoggedIn, isMember, isNetworkAdmin, isOperator, isRelatedToUser, isSystem, isUserManager, isUserManagerOf, message, message, permission, permission, permissionOptionalValue, permissionOptionalValue, toDate, toDateTime, validatedelete, detach, find, flush, from, getApplicationContext, getConfigurationHandler, getDataTranslationHandler, getFormatter, getFormatter, getFormatter, getLogger, getNotificationHandler, getProfileFieldHandler, getRemoteAddress, getSessionData, getTransactionHandler, getTranslationHandler, message, message, persist, processBatch, refresh, remove, subQuery, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetData, getDataForNew, load, remove, removeAll, savepublic boolean doHasViewAccess(MobilePage entity)
CRUDServiceSecuritydoHasViewAccess in class CRUDServiceSecurity<MobilePageDTO,MobilePage,MobilePageData,ConfigurationVO>public java.lang.String getContent(java.lang.Long id)
throws FrameworkException
MobilePageServicegetContent in interface MobilePageServiceFrameworkExceptionpublic MobilePagesListData getListData(ConfigurationVO configurationVO) throws FrameworkException
MobilePageServicegetListData in interface MobilePageServiceFrameworkExceptionpublic boolean isAccessible(SessionData sessionData, MobilePage entity)
CRUDServiceSecurityCRUDServiceSecurity.hasViewAccess(BaseEntity). If the only condition for an entity is
CRUDServiceSecurity.hasViewAccess(BaseEntity), this method
should return false.isAccessible in class CRUDServiceSecurity<MobilePageDTO,MobilePage,MobilePageData,ConfigurationVO>public java.util.List<MobilePageVO> list(ConfigurationVO configurationVO) throws FrameworkException
MobilePageServicelist in interface MobilePageServiceFrameworkExceptionpublic void saveOrder(java.util.List<java.lang.Long> ids)
throws FrameworkException
MobilePageServicesaveOrder in interface MobilePageServiceFrameworkExceptionprotected void checkCreateNew(ConfigurationVO configurationVO)
CRUDServiceSecurityPermissionDeniedException if notcheckCreateNew in class CRUDServiceSecurity<MobilePageDTO,MobilePage,MobilePageData,ConfigurationVO>protected boolean doHasManageAccess(MobilePage entity)
CRUDServiceSecuritydoHasManageAccess in class CRUDServiceSecurity<MobilePageDTO,MobilePage,MobilePageData,ConfigurationVO>protected MobilePageServiceLocal getImplementation()
CRUDServiceSecuritygetImplementation in class CRUDServiceSecurity<MobilePageDTO,MobilePage,MobilePageData,ConfigurationVO>