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> |
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
|
java.util.List<AccountType> |
listRelated(AccountOwner owner)
Returns a list of all account types the given owner has access to.
|
java.util.List<SystemAccountType> |
listSystemTypes()
Lists all system account types the logged user has access
|
java.util.List<UserAccountType> |
listUserTypes(User user)
Lists all user account types the user has access
|
<T> Page<T> |
search(java.lang.Class<T> resultType,
AccountTypeQuery query) |
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> listAll() throws FrameworkException
FrameworkExceptionjava.util.List<AccountType> listByCurrency(Currency currency) throws FrameworkException
FrameworkExceptionjava.util.List<AccountType> listRelated(AccountOwner owner) throws FrameworkException
FrameworkExceptionjava.util.List<SystemAccountType> listSystemTypes() throws FrameworkException
FrameworkExceptionjava.util.List<UserAccountType> listUserTypes(User user) throws FrameworkException
FrameworkException<T> Page<T> search(java.lang.Class<T> resultType, AccountTypeQuery query) throws FrameworkException
FrameworkException