@Security public class EntityLogServiceSecurity extends BaseServiceSecurity implements EntityLogService
EntityLogService| Constructor and Description |
|---|
EntityLogServiceSecurity() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canViewEntityLog(BaseEntity entity)
Returns true if the entity's log type is not null and the logged user can view its log.
|
protected boolean |
canViewEntityLog(EntityLogType type,
long entityId) |
protected void |
checkViewEntityLog(BaseEntity entity) |
protected void |
checkViewEntityLog(EntityLogType type,
long entityId) |
EntityPropertyLogVO |
load(java.lang.Long id)
Loads an
EntityPropertyLogDetailedVO by id |
protected org.cyclos.impl.access.EntityCheck<?> |
resolveEntityCheck()
Must be implemented in order to return the
EntityCheck managed by this security component, or null if
none |
Page<EntityPropertyLogVO> |
search(EntityPropertyLogQuery params)
Search for logs of an entity.
The EntityPropertyLogQuery.ENTITY_ID and
EntityPropertyLogQuery.TYPE are required. |
checkGuest, 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, updatepublic boolean canViewEntityLog(BaseEntity entity)
public EntityPropertyLogVO load(java.lang.Long id)
EntityLogServiceEntityPropertyLogDetailedVO by idload in interface EntityLogServicepublic Page<EntityPropertyLogVO> search(EntityPropertyLogQuery params)
EntityLogServiceEntityPropertyLogQuery.ENTITY_ID and
EntityPropertyLogQuery.TYPE are required.search in interface EntityLogServiceprotected boolean canViewEntityLog(EntityLogType type, long entityId)
protected void checkViewEntityLog(BaseEntity entity)
protected void checkViewEntityLog(EntityLogType type, long entityId)
protected org.cyclos.impl.access.EntityCheck<?> resolveEntityCheck()
BaseServiceSecurityEntityCheck managed by this security component, or null if
noneresolveEntityCheck in class BaseServiceSecurity