public interface AccessClientServiceLocal extends AccessClientService, org.cyclos.impl.CRUDServiceLocal<AccessClient,AccessClientDTO,AccessClientData,AccessClientDataParams>
AccessClientService| Modifier and Type | Method and Description |
|---|---|
AccessClient |
findForAccess(Network network,
java.lang.String remoteAddress,
java.lang.String token)
Returns an access client by token
|
AccessClient |
findForActivation(User user,
java.lang.String activationCode)
Finds an access client for the given user for activation - needs to be in unassigned status
|
boolean |
isVisible(AccessClient accessClient)
Returns whether the given access client is visible to the logged user
|
java.util.List<AccessClient> |
listVisible(User user,
AccessClientStatus... status)
Returns all visible access clients, ordered by type and then client names
|
activate, block, getActivationCode, getListData, getSearchData, search, unassign, unblockfind, findAll, getEntityClass, newEntity, remove, removeAll, toDTO, toEntity, validategetData, getDataForNew, load, remove, removeAll, saveAccessClient findForAccess(Network network, java.lang.String remoteAddress, java.lang.String token) throws FrameworkException
FrameworkExceptionAccessClient findForActivation(User user, java.lang.String activationCode) throws FrameworkException
FrameworkExceptionboolean isVisible(AccessClient accessClient) throws FrameworkException
FrameworkExceptionjava.util.List<AccessClient> listVisible(User user, AccessClientStatus... status) throws FrameworkException
status - If not null filter by those status. Otherwise returns all visible.FrameworkException