Package org.cyclos.impl.users
Interface OperatorGroupServiceLocal
-
- All Superinterfaces:
CRUDService<OperatorGroupDTO,OperatorGroupData,UserLocatorVO>,CRUDServiceLocal<OperatorGroup,OperatorGroupDTO,OperatorGroupData,UserLocatorVO>,OperatorGroupService,Service
- All Known Implementing Classes:
OperatorGroupServiceImpl
public interface OperatorGroupServiceLocal extends CRUDServiceLocal<OperatorGroup,OperatorGroupDTO,OperatorGroupData,UserLocatorVO>, OperatorGroupService
Local interface forOperatorGroupService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleananyRequiresAuthorization(OperatorGroup group)Returns whether the given operator group has at least 1 payment type that requires authorization to be performedbooleananyRequiresAuthorization(User user)Returns whether the given user has at least 1 operator group that have at least 1 payment type that requires authorization to be performedbooleancanAuthorizeAnyPayment(OperatorGroup group)Returns whether the group has any payment type set to as can authorizeOperatorGroupLogcreateInitialGroupHistoryLog(Operator operator)Creates the initial group history log for the given operatorList<OperatorGroup>list(User user)Returns all operator groups for this userList<AccountType>listAccountTypesWithAuthorization(OperatorGroup group)Lists the account types which are source of any payment type that either require authorization or can authorizeList<PaymentTransferType>listPaymentTypesWithAuthorize(OperatorGroup group)Lists the payment types that the given group can authorize-
Methods inherited from interface org.cyclos.services.CRUDService
getData, getDataForNew, load, remove, removeAll, save
-
Methods inherited from interface org.cyclos.impl.CRUDServiceLocal
find, findAll, getEntityClass, newEntity, remove, removeAll, saveEntity, saveSkippingEntityLog, toDTO, toEntity, validate
-
Methods inherited from interface org.cyclos.services.users.OperatorGroupService
changeGroup, getChangeGroupData, getListData
-
-
-
-
Method Detail
-
anyRequiresAuthorization
boolean anyRequiresAuthorization(OperatorGroup group)
Returns whether the given operator group has at least 1 payment type that requires authorization to be performed
-
anyRequiresAuthorization
boolean anyRequiresAuthorization(User user)
Returns whether the given user has at least 1 operator group that have at least 1 payment type that requires authorization to be performed
-
canAuthorizeAnyPayment
boolean canAuthorizeAnyPayment(OperatorGroup group)
Returns whether the group has any payment type set to as can authorize
-
createInitialGroupHistoryLog
OperatorGroupLog createInitialGroupHistoryLog(Operator operator)
Creates the initial group history log for the given operator
-
list
List<OperatorGroup> list(User user)
Returns all operator groups for this user
-
listAccountTypesWithAuthorization
List<AccountType> listAccountTypesWithAuthorization(OperatorGroup group)
Lists the account types which are source of any payment type that either require authorization or can authorize
-
listPaymentTypesWithAuthorize
List<PaymentTransferType> listPaymentTypesWithAuthorize(OperatorGroup group)
Lists the payment types that the given group can authorize
-
-