public class Accounts extends Object
Constructor and Description |
---|
Accounts() |
Modifier and Type | Method and Description |
---|---|
List<AccountTransfer> |
filterAccount(String userId,
String token,
int limit) |
AccountTransfer |
getAccount(String requester,
String userId) |
AccountResults |
getAvailableAccounts(String userId,
int offset,
int limit,
boolean asc,
String sort,
String filter)
Retrieves the user records available.
|
protected long |
getNumberOfOwnerEntries(Account account,
String ownerEmail) |
protected boolean |
isAdministrator(Account account) |
protected boolean isAdministrator(Account account)
public AccountResults getAvailableAccounts(String userId, int offset, int limit, boolean asc, String sort, String filter)
userId
- requesting useridoffset
- startlimit
- account count upper limitasc
- sort ordersort
- account sort typepublic List<AccountTransfer> filterAccount(String userId, String token, int limit)
public AccountTransfer getAccount(String requester, String userId)
Copyright © 2017. All rights reserved.