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