|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kim.service.impl.IdentityArchiveServiceImpl
public class IdentityArchiveServiceImpl
This is the default implementation for the IdentityArchiveService.
IdentityArchiveService
Constructor Summary | |
---|---|
IdentityArchiveServiceImpl()
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
schedule the writer on the KSB scheduled pool. |
void |
destroy()
flush the write queue immediately. |
void |
flushToArchive()
Flushes EntityDefault to the archive. |
EntityDefault |
getEntityDefaultFromArchive(String entityId)
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 entity)
Saves a EntityDefault to the archive. |
void |
setBusinessObjectService(BusinessObjectService businessObjectService)
|
void |
setKualiConfigurationService(ConfigurationService kualiConfigurationService)
|
void |
setTransactionManager(org.springframework.transaction.PlatformTransactionManager txMgr)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IdentityArchiveServiceImpl()
Method Detail |
---|
public EntityDefault getEntityDefaultFromArchive(String entityId)
IdentityArchiveService
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.
getEntityDefaultFromArchive
in interface IdentityArchiveService
entityId
- the unique id to retrieve the entity by. cannot be null.
EntityDefault
or nullpublic EntityDefault getEntityDefaultFromArchiveByPrincipalId(String principalId)
IdentityArchiveService
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.
getEntityDefaultFromArchiveByPrincipalId
in interface IdentityArchiveService
principalId
- the unique principalId to retrieve the entity by. cannot be null.
EntityDefault
or nullpublic EntityDefault getEntityDefaultFromArchiveByPrincipalName(String principalName)
IdentityArchiveService
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.
getEntityDefaultFromArchiveByPrincipalName
in interface IdentityArchiveService
principalName
- the unique principalName to retrieve the entity by. cannot be null.
EntityDefault
or nullpublic EntityDefault getEntityDefaultFromArchiveByEmployeeId(String employeeId)
IdentityArchiveService
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.
getEntityDefaultFromArchiveByEmployeeId
in interface IdentityArchiveService
employeeId
- the unique employeeId to retrieve the entity by. cannot be null.
EntityDefault
or nullpublic void saveEntityDefaultToArchive(EntityDefault entity)
IdentityArchiveService
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
saveEntityDefaultToArchive
in interface IdentityArchiveService
entity
- the unique principalName to retrieve the entity by. cannot be null.public void flushToArchive()
IdentityArchiveService
EntityDefault
to the archive.
This method flushes the "saved" entities to the database
flushToArchive
in interface IdentityArchiveService
public void setBusinessObjectService(BusinessObjectService businessObjectService)
public void setKualiConfigurationService(ConfigurationService kualiConfigurationService)
public void setTransactionManager(org.springframework.transaction.PlatformTransactionManager txMgr)
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public void destroy() throws Exception
destroy
in interface org.springframework.beans.factory.DisposableBean
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |