public interface CRUDWithConfirmationPasswordService<DTO extends EntityDTO,D extends EntityData<DTO>,DP> extends CRUDService<DTO,D,DP>
| Modifier and Type | Method and Description |
|---|---|
PasswordInputDTO |
getConfirmationPasswordInputForRemove(java.lang.Long id)
Returns the
PasswordInputDTO for the confirmation password that would be required if removing the entity
with the given id |
void |
removeAllWithConfirmationPassword(java.util.Collection<java.lang.Long> ids,
java.lang.String confirmationPassword)
Removes the entities associated with the given identifiers, checking the confirmation password first (if enabled)
|
void |
removeWithConfirmationPassword(java.lang.Long id,
java.lang.String confirmationPassword)
Removes an entity, checking the confirmation password first (if enabled)
|
java.lang.Long |
saveWithConfirmationPassword(DTO object,
java.lang.String confirmationPassword)
Saves the given object, returning the generated identifier, checking the confirmation password first (if enabled)
|
getData, getDataForNew, load, remove, removeAll, savePasswordInputDTO getConfirmationPasswordInputForRemove(java.lang.Long id) throws FrameworkException
PasswordInputDTO for the confirmation password that would be required if removing the entity
with the given idFrameworkExceptionvoid removeAllWithConfirmationPassword(java.util.Collection<java.lang.Long> ids,
java.lang.String confirmationPassword)
throws FrameworkException
FrameworkExceptionCRUDService.removeAll(Collection)void removeWithConfirmationPassword(java.lang.Long id,
java.lang.String confirmationPassword)
throws FrameworkException
FrameworkExceptionCRUDService.remove(Long)java.lang.Long saveWithConfirmationPassword(DTO object, java.lang.String confirmationPassword) throws FrameworkException
FrameworkExceptionCRUDService.save(EntityDTO)