public interface AccessClientService extends CRUDService<AccessClientDTO,AccessClientData,AccessClientDataParams>
| Modifier and Type | Method and Description |
|---|---|
ActivateAccessClientDTO |
activate(java.lang.String activationCode,
java.lang.String prefix)
Activates an access client for the current user, using the given activation code.
|
void |
block(AccessClientActionParams params)
Blocks the given an access client
|
java.lang.String |
getActivationCode(AccessClientActionParams params)
Returns the code which can be used to activate the access client, connecting an application
|
AccessClientsListData |
getListData(java.lang.Long typeId,
UserLocatorVO user)
Returns data for listing access clients of a given type and user
|
AccessClientsSearchData |
getSearchData()
Returns data for searching access clients
|
Page<AccessClientDetailedVO> |
search(AccessClientQuery query)
Searches for access clients according to the given criteria
|
void |
unassign(AccessClientActionParams params)
Unassigns the given access client from its connected application
|
void |
unblock(AccessClientActionParams params)
Unblocks the given access client
|
getData, getDataForNew, load, remove, removeAll, saveActivateAccessClientDTO activate(java.lang.String activationCode, java.lang.String prefix) throws FrameworkException
FrameworkExceptionvoid block(AccessClientActionParams params) throws FrameworkException
IllegalActionException - When the status is not activeFrameworkExceptionjava.lang.String getActivationCode(AccessClientActionParams params) throws FrameworkException
IllegalActionException - When the status is not unassignedFrameworkExceptionAccessClientsListData getListData(java.lang.Long typeId, UserLocatorVO user) throws FrameworkException
FrameworkExceptionAccessClientsSearchData getSearchData() throws FrameworkException
FrameworkExceptionPage<AccessClientDetailedVO> search(AccessClientQuery query) throws FrameworkException
FrameworkExceptionvoid unassign(AccessClientActionParams params) throws FrameworkException
IllegalActionException - When the status is unassignedFrameworkExceptionvoid unblock(AccessClientActionParams params) throws FrameworkException
IllegalActionException - When the status is not blockedFrameworkException