Package org.cyclos.security.messaging
Class ErrorLogServiceSecurity
- java.lang.Object
-
- org.cyclos.impl.AbstractServerComponent
-
- org.cyclos.impl.AbstractNetworkedServerComponent
-
- org.cyclos.security.BaseServiceSecurity
-
- org.cyclos.security.messaging.ErrorLogServiceSecurity
-
- All Implemented Interfaces:
ErrorLogService,Service
@Security public class ErrorLogServiceSecurity extends BaseServiceSecurity implements ErrorLogService
Security layer forErrorLogService
-
-
Field Summary
-
Fields inherited from class org.cyclos.impl.AbstractNetworkedServerComponent
authHandler, conversionHandler, customFieldValueHandler, entityManagerHandler, groupsHandler, productsHandler, restBeanPropertyMapping, userLocatorHandler
-
Fields inherited from class org.cyclos.impl.AbstractServerComponent
accountHandler, configurationHandler, dataTranslationHandler, notificationHandler, profileFieldHandler, transactionHandler, translationHandler
-
-
Constructor Summary
Constructors Constructor Description ErrorLogServiceSecurity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ErrorLogSearchDatagetSearchData()Searches the error log historyErrorLogDetailedVOload(Long id)Loads an entry by idvoidremove(Long id)Removes a single entryvoidremoveAll(Set<Long> ids)Removes all the given entriesprotected EntityCheck<?>resolveEntityCheck()Must be implemented in order to return theEntityCheckmanaged by this security component, or null if nonePage<ErrorLogVO>search(ErrorLogQuery params)Searches the error log history-
Methods inherited from class org.cyclos.security.BaseServiceSecurity
checkGuest, checkId, checkIds, checkInternalName, checkLoggedIn, checkManagesUser, checkRelatesToUser, checkScope, checkVO, checkVOs, doInitialize, getEntityCheckRegistry, getUser, initialize
-
Methods inherited from class org.cyclos.impl.AbstractNetworkedServerComponent
canManage, 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, setAlreadyValidated, toDate, toDateTime, validate
-
Methods inherited from class org.cyclos.impl.AbstractServerComponent
dataTranslationProxy, dataTranslationProxy, delete, detach, doDataTranslationProxy, find, flush, from, getApplicationContext, getFormatter, getFormatter, getFormatter, getLogger, getRemoteAddress, getSessionData, mailContentBuilder, message, message, persist, processBatch, processBatch, refresh, remove, selectFrom, subQuery, update
-
-
-
-
Method Detail
-
getSearchData
public ErrorLogSearchData getSearchData() throws FrameworkException
Description copied from interface:ErrorLogServiceSearches the error log history- Specified by:
getSearchDatain interfaceErrorLogService- Throws:
FrameworkException
-
load
public ErrorLogDetailedVO load(Long id) throws EntityNotFoundException
Description copied from interface:ErrorLogServiceLoads an entry by id- Specified by:
loadin interfaceErrorLogService- Throws:
EntityNotFoundException
-
remove
public void remove(Long id)
Description copied from interface:ErrorLogServiceRemoves a single entry- Specified by:
removein interfaceErrorLogService
-
removeAll
public void removeAll(Set<Long> ids)
Description copied from interface:ErrorLogServiceRemoves all the given entries- Specified by:
removeAllin interfaceErrorLogService
-
search
public Page<ErrorLogVO> search(ErrorLogQuery params)
Description copied from interface:ErrorLogServiceSearches the error log history- Specified by:
searchin interfaceErrorLogService
-
resolveEntityCheck
protected EntityCheck<?> resolveEntityCheck()
Description copied from class:BaseServiceSecurityMust be implemented in order to return theEntityCheckmanaged by this security component, or null if none- Specified by:
resolveEntityCheckin classBaseServiceSecurity
-
-