public interface AccountTypeServiceLocal extends AccountTypeService, org.cyclos.impl.CRUDServiceLocal<AccountType,AccountTypeDTO,AccountTypeData,AccountTypeNature>
AccountTypeService| Modifier and Type | Method and Description |
|---|---|
UserAccountType |
getDefaultAccount(org.cyclos.impl.users.ProductsAccessor accessor)
Returns the default account type for the products accessor
|
UserAccountType |
getDefaultAccount(User user)
Returns the default account type for the given user, or null if no accounts
|
java.util.List<AccountType> |
list(AccountOwner accountOwner)
Lists all accounts of the given owner the logged user has access
|
java.util.List<AccountType> |
listAll()
Returns a list of all account types
|
java.util.List<AccountType> |
listByCurrency(Currency currency)
Returns a list of all account types of the given currency
|
<T> Page<T> |
search(java.lang.Class<T> resultType,
AccountTypeQuery query)
Searches using a custom result type
|
searchfind, findAll, getEntityClass, newEntity, remove, removeAll, toDTO, toEntity, validategetData, getDataForNew, load, remove, removeAll, saveUserAccountType getDefaultAccount(org.cyclos.impl.users.ProductsAccessor accessor) throws FrameworkException
FrameworkExceptionUserAccountType getDefaultAccount(User user) throws FrameworkException
FrameworkExceptionjava.util.List<AccountType> list(AccountOwner accountOwner) throws FrameworkException
FrameworkExceptionjava.util.List<AccountType> listAll() throws FrameworkException
FrameworkExceptionjava.util.List<AccountType> listByCurrency(Currency currency) throws FrameworkException
FrameworkException<T> Page<T> search(java.lang.Class<T> resultType, AccountTypeQuery query) throws FrameworkException
FrameworkException