public interface IdentityArchiveService
| Modifier and Type | Method and Description |
|---|---|
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. |
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 nullIllegalArgumentException - 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 nullIllegalArgumentException - 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 nullIllegalArgumentException - 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 nullIllegalArgumentException - 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
IllegalArgumentExceptionCopyright © 2005–2014 The Kuali Foundation. All rights reserved.