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(PrincipalTypeVO principalType,
UserLocatorVO user)
Returns data for listing access clients of a given type and user
|
AccessClientsSearchData |
getSearchData()
Returns data for searching access clients
|
java.util.List<AccessClientTypeData> |
getTypeData(UserLocatorVO user,
ChannelVO channel)
Returns data each access client type the authenticated user can see for the given user.
|
AccessClientVO |
locate(AccessClientLocator locator)
Returns an access client by either id or token, but only if it belongs (or is managed by) the authenticated user
|
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 |
unassignCurrent(ActionWithConfirmationPassword action)
Unassigns the access client in the current authorization.
|
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(PrincipalTypeVO principalType, UserLocatorVO user) throws FrameworkException
FrameworkExceptionAccessClientsSearchData getSearchData() throws FrameworkException
FrameworkExceptionjava.util.List<AccessClientTypeData> getTypeData(UserLocatorVO user, ChannelVO channel) throws FrameworkException
FrameworkExceptionAccessClientVO locate(AccessClientLocator locator) throws FrameworkException
FrameworkExceptionPage<AccessClientDetailedVO> search(AccessClientQuery query) throws FrameworkException
FrameworkExceptionvoid unassign(AccessClientActionParams params) throws FrameworkException
IllegalActionException - When the status is unassignedFrameworkExceptionvoid unassignCurrent(ActionWithConfirmationPassword action) throws FrameworkException
FrameworkExceptionvoid unblock(AccessClientActionParams params) throws FrameworkException
IllegalActionException - When the status is not blockedFrameworkException