@Security public class AccountFeeLogServiceSecurity extends BaseServiceSecurity implements AccountFeeLogService
AccountFeeLogService| Constructor and Description |
|---|
AccountFeeLogServiceSecurity() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkVisible(AccountFee fee) |
AccountFeeLog |
checkVisible(java.lang.Long id) |
AccountFeeLogData |
getData(java.lang.Long id)
Returns data about an account fee execution
|
AccountFeeLogsSearchData |
getSearchData(AccountFeeVO accountFeeVO)
Returns data to search account fee logs of the given account fee
|
boolean |
isVisible(AccountFeeLog entity) |
java.util.List<AccountFeeExecutionVO> |
listFeeExecutions()
Returns the account enabled and visible account fees, together with the previous and next execution data
|
void |
rechargeFailed(java.lang.Long id)
Starts recharging a fee which has finished and some failed users
|
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 |
java.lang.Long |
runNow(AccountFeeVO accountFeeVO)
Starts charging a manual fee, returning the resulting account fee log id
|
Page<AccountFeeLogVO> |
search(AccountFeeLogQuery query)
Searches for account fee logs according to the given criteria
|
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 void checkVisible(AccountFee fee)
public AccountFeeLog checkVisible(java.lang.Long id)
public AccountFeeLogData getData(java.lang.Long id) throws FrameworkException
AccountFeeLogServicegetData in interface AccountFeeLogServiceFrameworkExceptionpublic AccountFeeLogsSearchData getSearchData(AccountFeeVO accountFeeVO) throws FrameworkException
AccountFeeLogServicegetSearchData in interface AccountFeeLogServiceFrameworkExceptionpublic boolean isVisible(AccountFeeLog entity)
public java.util.List<AccountFeeExecutionVO> listFeeExecutions() throws FrameworkException
AccountFeeLogServicelistFeeExecutions in interface AccountFeeLogServiceFrameworkExceptionpublic void rechargeFailed(java.lang.Long id)
throws FrameworkException
AccountFeeLogServicerechargeFailed in interface AccountFeeLogServiceIllegalActionException - If the given account fee log is not finished or doesn't have any failed usersFrameworkExceptionpublic java.lang.Long runNow(AccountFeeVO accountFeeVO) throws FrameworkException
AccountFeeLogServicerunNow in interface AccountFeeLogServiceIllegalActionException - If the given fee is disabled or not manualFrameworkExceptionpublic Page<AccountFeeLogVO> search(AccountFeeLogQuery query) throws FrameworkException
AccountFeeLogServicesearch in interface AccountFeeLogServiceFrameworkExceptionprotected org.cyclos.impl.access.EntityCheck<?> resolveEntityCheck()
BaseServiceSecurityEntityCheck managed by this security component, or null if
noneresolveEntityCheck in class BaseServiceSecurity