Package org.cyclos.impl.banking
Interface AccountTypeServiceLocal
-
- All Superinterfaces:
AccountTypeService,CRUDService<AccountTypeDTO,AccountTypeData,AccountTypeNature>,CRUDServiceLocal<AccountType,AccountTypeDTO,AccountTypeData,AccountTypeNature>,Service
public interface AccountTypeServiceLocal extends AccountTypeService, CRUDServiceLocal<AccountType,AccountTypeDTO,AccountTypeData,AccountTypeNature>
Local interface forAccountTypeService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanhasAccessible(InternalAccountOwner owner)Returns whether the logged user has any accessible accounts over the given owner.<A extends AccountType>
List<A>listAccessible(InternalAccountOwner owner)Returns the accessible account types over the given owner.List<AccountType>listAll()Returns a list of all account typesList<AccountType>listByCurrency(Currency currency)Returns a list of all account types of the given currency<T> Page<T>search(Class<T> resultType, AccountTypeQuery query)Searches using a custom result type-
Methods inherited from interface org.cyclos.services.banking.AccountTypeService
getSearchData, search
-
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
-
-
-
-
Method Detail
-
hasAccessible
boolean hasAccessible(InternalAccountOwner owner)
Returns whether the logged user has any accessible accounts over the given owner. When null, for any account types.
-
listAccessible
<A extends AccountType> List<A> listAccessible(InternalAccountOwner owner)
Returns the accessible account types over the given owner. When null, for any account types.
-
listAll
List<AccountType> listAll()
Returns a list of all account types
-
listByCurrency
List<AccountType> listByCurrency(Currency currency)
Returns a list of all account types of the given currency
-
search
<T> Page<T> search(Class<T> resultType, AccountTypeQuery query)
Searches using a custom result type
-
-