public class SecurityAwarePentahoMetadataDomainRepository extends PentahoMetadataDomainRepository
Modifier and Type | Field and Description |
---|---|
static int[] |
ACCESS_TYPE_MAP |
ACCESS_TYPE_ADMIN, ACCESS_TYPE_DELETE, ACCESS_TYPE_READ, ACCESS_TYPE_SCHEMA_ADMIN, ACCESS_TYPE_UPDATE, ACCESS_TYPE_WRITE
ANNOTATIONS_FILE_ID_POSTFIX, PROPERTY_NAME_ANNOTATIONS
Constructor and Description |
---|
SecurityAwarePentahoMetadataDomainRepository(org.pentaho.platform.api.repository2.unified.IUnifiedRepository repository) |
Modifier and Type | Method and Description |
---|---|
String |
generateRowLevelSecurityConstraint(org.pentaho.metadata.model.LogicalModel model) |
org.pentaho.platform.api.engine.IPentahoSession |
getSession() |
boolean |
hasAccess(int accessType,
org.pentaho.metadata.model.concept.IConcept aclHolder)
The aclHolder cannot be null unless the access type requested is ACCESS_TYPE_SCHEMA_ADMIN.
|
addLocalizationFile, addLocalizationFile, createOrUpdateAnnotationsXml, createUniqueFile, endsWithXmi, flushDomains, getAclFor, getAclHelper, getAnnotationsXmlFile, getDomain, getDomainFilesData, getDomainIdFromXmi, getDomainIds, getLocalizationUtil, getLogger, getMetadataDir, getMetadataRepositoryFile, getRepository, getRepositoryUtils, getXmiParser, hasAccessFor, isDomainIdXmiEqualsOrNotPresent, loadAnnotationsXml, loadLocaleStrings, loadProperties, noXmi, reloadDomains, removeDomain, removeModel, replaceDomainId, resolveAnnotationsFilePath, setAclFor, setLocalizationUtil, setRepository, setRepositoryUtils, setXmiParser, storeAnnotationsXml, storeDomain, storeDomain, storeDomain, toString
public SecurityAwarePentahoMetadataDomainRepository(org.pentaho.platform.api.repository2.unified.IUnifiedRepository repository)
public org.pentaho.platform.api.engine.IPentahoSession getSession()
public String generateRowLevelSecurityConstraint(org.pentaho.metadata.model.LogicalModel model)
generateRowLevelSecurityConstraint
in interface org.pentaho.metadata.repository.IMetadataDomainRepository
generateRowLevelSecurityConstraint
in class PentahoMetadataDomainRepository
public boolean hasAccess(int accessType, org.pentaho.metadata.model.concept.IConcept aclHolder)
PentahoMetadataDomainRepository
hasAccess
in interface org.pentaho.metadata.repository.IMetadataDomainRepository
hasAccess
in class PentahoMetadataDomainRepository
Copyright © 2021 Hitachi Vantara. All rights reserved.