tenant = JcrTenantUtils.getTenant( runtimeRoleName, false );
runtimeRoleName = getPrincipalName( runtimeRoleName );
}
if ( !TenantUtils.isAccessibleTenant( tenant ) ) {
throw new NotFoundException( "Tenant " + tenant.getId() + " not found" );
}
PentahoJcrConstants pentahoJcrConstants = new PentahoJcrConstants( session );
final String phoNsPrefix = session.getNamespacePrefix( PentahoJcrConstants.PHO_NS ) + ":"; //$NON-NLS-1$
final String onlyPentahoPattern = phoNsPrefix + "*"; //$NON-NLS-1$