|
||||||||||
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 | |
---|---|
void |
flushToArchive()
Flushes EntityDefault to the archive. |
EntityDefault |
getEntityDefaultFromArchive(String id)
Gets a EntityDefault with an id from the archive. |
EntityDefault |
getEntityDefaultFromArchiveByEmployeeId(String employeeId)
Gets a EntityDefault with an employeeId 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 id) throws IllegalArgumentException
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) throws IllegalArgumentException
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) throws IllegalArgumentException
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 blankEntityDefault getEntityDefaultFromArchiveByEmployeeId(String employeeId) throws IllegalArgumentException
EntityDefault
with an employeeId 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.
employeeId
- the unique employeeId to retrieve the entity by. cannot be null.
EntityDefault
or null
IllegalArgumentException
- if the employeeId is blankvoid saveEntityDefaultToArchive(EntityDefault entityDefault) throws IllegalArgumentException
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 entityDefault is nullvoid flushToArchive() throws IllegalArgumentException
EntityDefault
to the archive.
This method flushes the "saved" entities to the database
IllegalArgumentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |