Class PentahoMetadataRepositoryLifecycleManager
java.lang.Object
org.pentaho.platform.repository2.unified.lifecycle.AbstractBackingRepositoryLifecycleManager
org.pentaho.platform.plugin.services.metadata.PentahoMetadataRepositoryLifecycleManager
- All Implemented Interfaces:
org.pentaho.platform.api.repository2.unified.IBackingRepositoryLifecycleManager
public class PentahoMetadataRepositoryLifecycleManager
extends org.pentaho.platform.repository2.unified.lifecycle.AbstractBackingRepositoryLifecycleManager
Initializes folders used by Pentaho Metadata
- Author:
- dkincade
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected org.pentaho.platform.repository2.unified.IRepositoryFileAclDao
protected org.pentaho.platform.repository2.unified.IRepositoryFileDao
protected String
protected String
Fields inherited from class org.pentaho.platform.repository2.unified.lifecycle.AbstractBackingRepositoryLifecycleManager
adminJcrTemplate, logger, pathConversionHelper, txnTemplate
-
Constructor Summary
ConstructorsConstructorDescriptionPentahoMetadataRepositoryLifecycleManager
(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) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
void
newTenant
(org.pentaho.platform.api.mt.ITenant tenant) void
newUser()
void
void
shutdown()
void
startup()
Methods inherited from class org.pentaho.platform.repository2.unified.lifecycle.AbstractBackingRepositoryLifecycleManager
addMetadataToRepository, doesMetadataExists, initTransactionTemplate
-
Field Details
-
repositoryAdminUsername
-
tenantAuthenticatedAuthorityNamePattern
-
singleTenantAuthenticatedAuthorityName
-
repositoryFileDao
protected org.pentaho.platform.repository2.unified.IRepositoryFileDao repositoryFileDao -
repositoryFileAclDao
protected org.pentaho.platform.repository2.unified.IRepositoryFileAclDao repositoryFileAclDao
-
-
Constructor Details
-
PentahoMetadataRepositoryLifecycleManager
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)
-
-
Method Details
-
doNewTenant
-
startup
public void startup() -
shutdown
public void shutdown() -
newTenant
public void newTenant(org.pentaho.platform.api.mt.ITenant tenant) -
newTenant
public void newTenant() -
newUser
-
newUser
public void newUser() -
createEtcMetadaFolder
protected void createEtcMetadaFolder(org.pentaho.platform.api.mt.ITenant tenant) -
internalCreateFolder
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) -
makeAcl
protected org.pentaho.platform.api.repository2.unified.RepositoryFileAcl makeAcl(boolean inheritAces, org.pentaho.platform.api.repository2.unified.RepositoryFileSid ownerSid)
-