| Modifier and Type | Method and Description |
|---|---|
UserPinsData |
getData(UserLocatorVO locator)
Returns data regarding pins for the given user (null resolves to the logged user).
|
PinData |
getEditData(PinLocatorVO locator)
Returns data for editing a pin.
|
java.util.List<PinVO> |
list(UserLocatorVO locator)
Returns the list of device pins for the given user (null resolves to the logged user).
|
PinVO |
locate(PinLocatorVO locator)
Locates a device pin, either by id or principal.
|
void |
remove(PinLocatorVO locator)
Removes the given pin.
|
void |
save(@NotNull PinDTO dto)
Updates a given device pin for the logged user.
|
CreatePinDTO |
set(@NotNull SetPinParams params)
Creates a new pin for the logged user and associates it to the current principal type and password type.
|
UserPinsData getData(UserLocatorVO locator) throws FrameworkException
FrameworkExceptionPinData getEditData(PinLocatorVO locator) throws FrameworkException
locator - Optional if authenticated with a pin. Otherwise it must not be null.FrameworkExceptionjava.util.List<PinVO> list(UserLocatorVO locator) throws FrameworkException
Permission.USER_PINS_VIEW permission.FrameworkExceptionPinVO locate(PinLocatorVO locator)
Permission.USER_PINS_VIEW permission must be grantedlocator - Optional if authenticated with a pin. Otherwise it must not be null.void remove(PinLocatorVO locator) throws FrameworkException
Permission.USER_PINS_MANAGE permission must be
granted.locator - Optional if authenticated with a pin. Otherwise it must not be null.FrameworkExceptionvoid save(@NotNull
@NotNull PinDTO dto)
throws FrameworkException
ValidationExceptionFrameworkExceptionCreatePinDTO set(@NotNull @NotNull SetPinParams params) throws FrameworkException
FrameworkException