@Security public class GeneralReferenceServiceSecurity extends CRUDServiceSecurity<GeneralReferenceDTO,GeneralReference,GeneralReferenceData,GeneralReferenceDataParams> implements GeneralReferenceService
GeneralReferenceServiceentityClass| Constructor and Description |
|---|
GeneralReferenceServiceSecurity() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkCreateNew(GeneralReferenceDataParams params)
Checks whether creating new entities with the given context parameters is allowed, throwing
PermissionDeniedException if not |
boolean |
doHasManageAccess(GeneralReference entity)
Should be implemented in order to return whether the caller is allowed to manage the given entity, for the given
operation
|
boolean |
doHasViewAccess(GeneralReference entity)
Should be implemented in order to return whether the caller is allowed to view the given entity.
|
protected GeneralReferenceServiceLocal |
getImplementation()
Should be implemented in order to return the actual implementation of the service
|
GeneralReferenceSearchData |
getSearchData(GeneralReferenceQuery query)
Returns data used for search, like results and statistics
|
ReferenceStatisticsVO |
getStatistics(GeneralReferenceQuery query)
Returns statistics according to the given query parameters
|
boolean |
isAccessible(SessionData sessionData,
GeneralReference entity)
Must be implemented in order to determine whether the given entity is accessible for the given session data.
|
protected void |
onBeforeSave(GeneralReferenceDTO dto,
GeneralReference entity) |
Page<GeneralReferenceVO> |
search(GeneralReferenceQuery query)
Searches for references, according to the specified query parameters
|
canPerformOperation, canViewHistoryLog, checkManageAccess, checkOperation, checkViewAccess, customizeData, find, getConfirmationPasswordInputForRemove, getData, getDataForNew, getEntityClass, hasManageAccess, hasViewAccess, load, 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 doHasManageAccess(GeneralReference entity)
CRUDServiceSecuritypublic boolean doHasViewAccess(GeneralReference entity)
CRUDServiceSecuritydoHasViewAccess in class CRUDServiceSecurity<GeneralReferenceDTO,GeneralReference,GeneralReferenceData,GeneralReferenceDataParams>public GeneralReferenceSearchData getSearchData(GeneralReferenceQuery query) throws FrameworkException
GeneralReferenceServicegetSearchData in interface GeneralReferenceServiceFrameworkExceptionpublic ReferenceStatisticsVO getStatistics(GeneralReferenceQuery query)
GeneralReferenceServicegetStatistics in interface GeneralReferenceServicepublic boolean isAccessible(SessionData sessionData, GeneralReference entity)
CRUDServiceSecurityCRUDServiceSecurity.hasViewAccess(BaseEntity). If the only condition for an entity is
CRUDServiceSecurity.hasViewAccess(BaseEntity), this method
should return false.isAccessible in class CRUDServiceSecurity<GeneralReferenceDTO,GeneralReference,GeneralReferenceData,GeneralReferenceDataParams>public Page<GeneralReferenceVO> search(GeneralReferenceQuery query)
GeneralReferenceServicesearch in interface GeneralReferenceServiceprotected void checkCreateNew(GeneralReferenceDataParams params)
CRUDServiceSecurityPermissionDeniedException if notcheckCreateNew in class CRUDServiceSecurity<GeneralReferenceDTO,GeneralReference,GeneralReferenceData,GeneralReferenceDataParams>protected GeneralReferenceServiceLocal getImplementation()
CRUDServiceSecurityprotected void onBeforeSave(GeneralReferenceDTO dto, GeneralReference entity)