org.pentaho.platform.plugin.services.metadata
Class MetadataDomainRepository
java.lang.Object
org.pentaho.metadata.repository.FileBasedMetadataDomainRepository
org.pentaho.platform.plugin.services.metadata.MetadataDomainRepository
- All Implemented Interfaces:
- org.pentaho.metadata.repository.IMetadataDomainRepository
- Direct Known Subclasses:
- MetadataDomainRepositoryTestWrapper, SecurityAwareMetadataDomainRepository
public class MetadataDomainRepository
- extends org.pentaho.metadata.repository.FileBasedMetadataDomainRepository
This is the platform implementation of the IMetadataDomainRepository.
TODO: Update this class to use CacheControl, getting created per session per
Marc's input
- Author:
- Will Gorman (wgorman@pentaho.com)
Fields inherited from interface org.pentaho.metadata.repository.IMetadataDomainRepository |
ACCESS_TYPE_ADMIN, ACCESS_TYPE_DELETE, ACCESS_TYPE_READ, ACCESS_TYPE_SCHEMA_ADMIN, ACCESS_TYPE_UPDATE, ACCESS_TYPE_WRITE |
Methods inherited from class org.pentaho.metadata.repository.FileBasedMetadataDomainRepository |
flushDomains, generateRowLevelSecurityConstraint, hasAccess, removeModel, setDomainFolder |
PROPERTIES_FILE_EXTENSION
public static String PROPERTIES_FILE_EXTENSION
ACCESS_TYPE_MAP
public static final int[] ACCESS_TYPE_MAP
MetadataDomainRepository
public MetadataDomainRepository()
getSession
public IPentahoSession getSession()
getDomainIds
public Set<String> getDomainIds()
- Specified by:
getDomainIds
in interface org.pentaho.metadata.repository.IMetadataDomainRepository
- Overrides:
getDomainIds
in class org.pentaho.metadata.repository.FileBasedMetadataDomainRepository
reloadDomains
public void reloadDomains()
- Specified by:
reloadDomains
in interface org.pentaho.metadata.repository.IMetadataDomainRepository
- Overrides:
reloadDomains
in class org.pentaho.metadata.repository.FileBasedMetadataDomainRepository
removeDomain
public void removeDomain(String domainId)
- Specified by:
removeDomain
in interface org.pentaho.metadata.repository.IMetadataDomainRepository
- Overrides:
removeDomain
in class org.pentaho.metadata.repository.FileBasedMetadataDomainRepository
getDomain
public org.pentaho.metadata.model.Domain getDomain(String id)
- Specified by:
getDomain
in interface org.pentaho.metadata.repository.IMetadataDomainRepository
- Overrides:
getDomain
in class org.pentaho.metadata.repository.FileBasedMetadataDomainRepository
storeDomain
public void storeDomain(org.pentaho.metadata.model.Domain domain,
boolean overwrite)
throws org.pentaho.metadata.repository.DomainIdNullException,
org.pentaho.metadata.repository.DomainAlreadyExistsException,
org.pentaho.metadata.repository.DomainStorageException
- Specified by:
storeDomain
in interface org.pentaho.metadata.repository.IMetadataDomainRepository
- Overrides:
storeDomain
in class org.pentaho.metadata.repository.FileBasedMetadataDomainRepository
- Throws:
org.pentaho.metadata.repository.DomainIdNullException
org.pentaho.metadata.repository.DomainAlreadyExistsException
org.pentaho.metadata.repository.DomainStorageException