|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IdentityArchiveService
This service archives EntityDefault. It's purpose is to provide long term storage for basic identity data that may be removed from the IdentityService implementation's backing store.
| Method Summary | |
|---|---|
EntityDefault |
getEntityDefaultFromArchive(String entityId)
Gets a EntityDefault with an id from the archive. |
EntityDefault |
getEntityDefaultFromArchiveByPrincipalId(String principalId)
Gets a EntityDefault with an principalId from the archive. |
EntityDefault |
getEntityDefaultFromArchiveByPrincipalName(String principalName)
Gets a EntityDefault with an principalName from the archive. |
void |
saveEntityDefaultToArchive(EntityDefault entityDefault)
Saves a EntityDefault to the archive. |
| Method Detail |
|---|
EntityDefault getEntityDefaultFromArchive(String entityId)
EntityDefault with an id from the archive.
EntityDefault is a condensed version of Entity that contains
default values of its subclasses
This method will return null if the Entity does not exist.
id - the unique id to retrieve the entity by. cannot be null.
EntityDefault or null
IllegalArgumentException - if the id is blankEntityDefault getEntityDefaultFromArchiveByPrincipalId(String principalId)
EntityDefault with an principalId from the archive.
EntityDefault is a condensed version of Entity that contains
default values of its subclasses
This method will return null if the Entity does not exist.
principalId - the unique principalId to retrieve the entity by. cannot be null.
EntityDefault or null
IllegalArgumentException - if the principalId is blankEntityDefault getEntityDefaultFromArchiveByPrincipalName(String principalName)
EntityDefault with an principalName from the archive.
EntityDefault is a condensed version of Entity that contains
default values of its subclasses
This method will return null if the Entity does not exist.
principalName - the unique principalName to retrieve the entity by. cannot be null.
EntityDefault or null
IllegalArgumentException - if the principalName is blankvoid saveEntityDefaultToArchive(EntityDefault entityDefault)
EntityDefault to the archive.
EntityDefault is a condensed version of Entity that contains
default values of its subclasses
This method will return the saved EntityDefault object
entityDefault - the unique principalName to retrieve the entity by. cannot be null.
IllegalArgumentException - if the principalName is blank
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||