|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.platform.repository2.unified.lifecycle.AbstractBackingRepositoryLifecycleManager
public abstract class AbstractBackingRepositoryLifecycleManager
Contains some common functionality.
repositoryFileDao and repositoryFileAclDao directly for the following reasons:
| Constructor Summary | |
|---|---|
AbstractBackingRepositoryLifecycleManager(IRepositoryFileDao contentDao,
IRepositoryFileAclDao repositoryFileAclDao,
org.springframework.transaction.support.TransactionTemplate txnTemplate,
String repositoryAdminUsername,
String tenantAuthenticatedAuthorityNamePattern,
String singleTenantAuthenticatedAuthorityName)
|
|
| Method Summary | |
|---|---|
void |
clearHasRun()
|
void |
newTenant()
To be called before any users belonging to the current tenant interact with the backing repository. |
void |
newTenant(String tenantId)
To be called before any users belonging to a particular tenant interact with the backing repository. |
void |
newUser()
To be called before current user interacts with the backing repository. |
void |
newUser(String tenantId,
String username)
To be called before user indicated by username interacts with the backing repository. |
void |
shutdown()
To be called on repository shutdown. |
void |
startup()
To be called before any (non-admin) users interact with the backing repository. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractBackingRepositoryLifecycleManager(IRepositoryFileDao contentDao,
IRepositoryFileAclDao repositoryFileAclDao,
org.springframework.transaction.support.TransactionTemplate txnTemplate,
String repositoryAdminUsername,
String tenantAuthenticatedAuthorityNamePattern,
String singleTenantAuthenticatedAuthorityName)
| Method Detail |
|---|
public void newTenant()
IBackingRepositoryLifecycleManager
newTenant in interface IBackingRepositoryLifecycleManagerpublic void newUser()
IBackingRepositoryLifecycleManager
newUser in interface IBackingRepositoryLifecycleManagerpublic void newTenant(String tenantId)
IBackingRepositoryLifecycleManager
newTenant in interface IBackingRepositoryLifecycleManagertenantId - new tenant id
public void newUser(String tenantId,
String username)
IBackingRepositoryLifecycleManagerusername interacts with the backing repository.
newUser in interface IBackingRepositoryLifecycleManagertenantId - tenant to which the user belongsusername - new usernamepublic void shutdown()
IBackingRepositoryLifecycleManager
shutdown in interface IBackingRepositoryLifecycleManagerpublic void startup()
IBackingRepositoryLifecycleManager
startup in interface IBackingRepositoryLifecycleManagerpublic void clearHasRun()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||