public class PentahoMetadataRepositoryLifecycleManager extends AbstractBackingRepositoryLifecycleManager
Modifier and Type | Field and Description |
---|---|
protected String |
repositoryAdminUsername |
protected IRepositoryFileAclDao |
repositoryFileAclDao |
protected IRepositoryFileDao |
repositoryFileDao |
protected String |
singleTenantAuthenticatedAuthorityName |
protected String |
tenantAuthenticatedAuthorityNamePattern |
adminJcrTemplate, logger, pathConversionHelper, txnTemplate
Constructor and Description |
---|
PentahoMetadataRepositoryLifecycleManager(IRepositoryFileDao contentDao,
IRepositoryFileAclDao repositoryFileAclDao,
org.springframework.transaction.support.TransactionTemplate txnTemplate,
String repositoryAdminUsername,
String tenantAuthenticatedAuthorityNamePattern,
ITenantedPrincipleNameResolver userNameUtils,
org.springframework.extensions.jcr.JcrTemplate adminJcrTemplate,
IPathConversionHelper pathConversionHelper) |
Modifier and Type | Method and Description |
---|---|
protected void |
createEtcMetadaFolder(ITenant tenant) |
void |
doNewTenant(String tenantPath) |
protected RepositoryFile |
internalCreateFolder(Serializable parentFolderId,
RepositoryFile file,
boolean inheritAces,
RepositoryFileSid ownerSid,
String versionMessage) |
protected RepositoryFileAcl |
makeAcl(boolean inheritAces,
RepositoryFileSid ownerSid) |
void |
newTenant() |
void |
newTenant(ITenant tenant) |
void |
newUser() |
void |
newUser(ITenant tenant,
String username) |
void |
shutdown() |
void |
startup() |
addMetadataToRepository, doesMetadataExists, initTransactionTemplate
protected String repositoryAdminUsername
protected String tenantAuthenticatedAuthorityNamePattern
protected String singleTenantAuthenticatedAuthorityName
protected IRepositoryFileDao repositoryFileDao
protected IRepositoryFileAclDao repositoryFileAclDao
public PentahoMetadataRepositoryLifecycleManager(IRepositoryFileDao contentDao, IRepositoryFileAclDao repositoryFileAclDao, org.springframework.transaction.support.TransactionTemplate txnTemplate, String repositoryAdminUsername, String tenantAuthenticatedAuthorityNamePattern, ITenantedPrincipleNameResolver userNameUtils, org.springframework.extensions.jcr.JcrTemplate adminJcrTemplate, IPathConversionHelper pathConversionHelper)
public void doNewTenant(String tenantPath)
public void startup()
public void shutdown()
public void newTenant(ITenant tenant)
public void newTenant()
public void newUser()
protected void createEtcMetadaFolder(ITenant tenant)
protected RepositoryFile internalCreateFolder(Serializable parentFolderId, RepositoryFile file, boolean inheritAces, RepositoryFileSid ownerSid, String versionMessage)
protected RepositoryFileAcl makeAcl(boolean inheritAces, RepositoryFileSid ownerSid)
Copyright © 2017 Hitachi Vantara. All rights reserved.