Modifier and Type | Method and Description |
---|---|
javax.jcr.Node |
RepositoryTenantManager.createAuthzFolderNode(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
ITenant tenant) |
javax.jcr.Node |
RepositoryTenantManager.createRoleBasedFolderNode(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
ITenant tenant) |
javax.jcr.Node |
RepositoryTenantManager.createRuntimeRolesFolderNode(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
ITenant tenant) |
Modifier and Type | Method and Description |
---|---|
static void |
JcrRepositoryFileAclUtils.addAce(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable id,
RepositoryFileSid recipient,
EnumSet<RepositoryFilePermission> permission) |
protected void |
DefaultLockHelper.addLockToken(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.lock.Lock lock)
Stores a lock token associated with the session's user.
|
void |
DefaultLockHelper.addLockTokenToSessionIfNecessary(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId)
Adds the lock token associated with the file with the given file id if the file is locked.
|
void |
ILockHelper.addLockTokenToSessionIfNecessary(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId)
Adds the lock token associated with the file with the given file id if the file is locked.
|
static void |
JcrRepositoryFileAclUtils.addPermission(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId,
RepositoryFileSid recipient,
EnumSet<RepositoryFilePermission> permissions) |
boolean |
DefaultLockHelper.canUnlock(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.lock.Lock lock)
Returns
true if user represented by session can potentially unlock the given lock. |
boolean |
ILockHelper.canUnlock(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.lock.Lock lock)
Returns
true if user represented by session can potentially unlock the given lock. |
static void |
JcrRepositoryFileUtils.checkinNearestVersionableFileIfNecessary(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId,
String versionMessage) |
static void |
JcrRepositoryFileUtils.checkinNearestVersionableFileIfNecessary(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId,
String versionMessage,
Date versionDate,
boolean aclOnlyChange)
Conditionally checks in node representing file if node is versionable.
|
static void |
JcrRepositoryFileUtils.checkinNearestVersionableNodeIfNecessary(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.Node node,
String versionMessage) |
static void |
JcrRepositoryFileUtils.checkinNearestVersionableNodeIfNecessary(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.Node node,
String versionMessage,
Date versionDate,
boolean aclOnlyChange)
Conditionally checks in node if node is versionable.
|
static void |
JcrRepositoryFileUtils.checkoutNearestVersionableFileIfNecessary(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId)
Conditionally checks out node representing file if node is versionable.
|
static void |
JcrRepositoryFileUtils.checkoutNearestVersionableNodeIfNecessary(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.Node node)
Conditionally checks out node if node is versionable.
|
static RepositoryFileAcl |
JcrRepositoryFileAclUtils.createAcl(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId,
RepositoryFileAcl acl) |
void |
ITransformer.createContentNode(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
T data,
javax.jcr.Node fileNode)
Creates a JCR node subtree representing the given
content . |
static javax.jcr.Node |
JcrRepositoryFileUtils.createFileNode(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable parentFolderId,
RepositoryFile file,
IRepositoryFileData content,
ITransformer<IRepositoryFileData> transformer) |
static javax.jcr.Node |
JcrRepositoryFileUtils.createFolderNode(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable parentFolderId,
RepositoryFile folder) |
void |
IDeleteHelper.deleteFile(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId)
Deletes a file in a way that it can be recovered.
|
void |
DefaultDeleteHelper.deleteFile(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId)
Deletes a file in a way that it can be recovered.
|
static void |
JcrRepositoryFileUtils.deleteFile(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId,
ILockHelper lockTokenHelper) |
T |
ITransformer.fromContentNode(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.Node fileNode)
Transforms a JCR node subtree into an
IRepositoryFileData . |
static String |
JcrRepositoryFileUtils.getAbsolutePath(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.Node node) |
static RepositoryFileAcl |
JcrRepositoryFileAclUtils.getAcl(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable id) |
static List<RepositoryFile> |
JcrRepositoryFileUtils.getChildren(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
IPathConversionHelper pathConversionHelper,
ILockHelper lockHelper,
RepositoryRequest repositoryRequest) |
static List<RepositoryFile> |
JcrRepositoryFileUtils.getChildren(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
IPathConversionHelper pathConversionHelper,
ILockHelper lockHelper,
Serializable folderId,
String filter)
Deprecated.
|
static List<RepositoryFile> |
JcrRepositoryFileUtils.getChildren(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
IPathConversionHelper pathConversionHelper,
ILockHelper lockHelper,
Serializable folderId,
String filter,
Boolean showHiddenFiles)
Deprecated.
|
static IRepositoryFileData |
JcrRepositoryFileUtils.getContent(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId,
Serializable versionId,
ITransformer<IRepositoryFileData> transformer) |
List<RepositoryFile> |
IDeleteHelper.getDeletedFiles(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants)
Lists deleted files for this user.
|
List<RepositoryFile> |
DefaultDeleteHelper.getDeletedFiles(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants)
Lists deleted files for this user.
|
List<RepositoryFile> |
IDeleteHelper.getDeletedFiles(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
String origParentFolderPath,
String filter)
Lists deleted files for this folder and user.
|
List<RepositoryFile> |
DefaultDeleteHelper.getDeletedFiles(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
String origParentFolderPath,
String filter)
Lists deleted files for this folder and user.
|
static RepositoryFile |
JcrRepositoryFileUtils.getFileAtVersion(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
IPathConversionHelper pathConversionHelper,
ILockHelper lockHelper,
Serializable fileId,
Serializable versionId) |
static RepositoryFile |
JcrRepositoryFileUtils.getFileById(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
IPathConversionHelper pathConversionHelper,
ILockHelper lockHelper,
Serializable fileId) |
static String |
JcrRepositoryFileUtils.getFileContentType(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId,
Serializable versionId)
Returns the metadata regarding that identifies what transformer wrote this file's data.
|
static Map<String,Properties> |
JcrRepositoryFileUtils.getLocalePropertiesMap(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.Node localesNode) |
static String |
JcrRepositoryFileUtils.getLocalizedString(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.Node localizedStringNode,
IPentahoLocale pentahoLocale) |
Date |
DefaultLockHelper.getLockDate(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.lock.Lock lock) |
Date |
ILockHelper.getLockDate(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.lock.Lock lock) |
String |
DefaultLockHelper.getLockMessage(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.lock.Lock lock) |
String |
ILockHelper.getLockMessage(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.lock.Lock lock) |
String |
DefaultLockHelper.getLockOwner(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.lock.Lock lock) |
String |
ILockHelper.getLockOwner(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.lock.Lock lock) |
protected String |
DefaultLockHelper.getLockToken(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.lock.Lock lock)
Returns all lock tokens belonging to the session's user.
|
static Serializable |
JcrRepositoryFileUtils.getNodeId(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.Node node) |
static String |
JcrRepositoryFileUtils.getNodeName(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.Node node) |
protected javax.jcr.Node |
DefaultLockHelper.getOrCreateLockTokensNode(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.lock.Lock lock) |
String |
IDeleteHelper.getOriginalParentFolderPath(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId)
Returns the absolute path of the original parent folder.
|
String |
DefaultDeleteHelper.getOriginalParentFolderPath(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId)
Returns the absolute path of the original parent folder.
|
protected RepositoryFile |
DefaultDeleteHelper.getReferrerFile(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.Property referrerProperty) |
protected RepositoryFile |
JcrRepositoryFileDao.getReferrerFile(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.Property referrerProperty) |
static RepositoryFileTree |
JcrRepositoryFileUtils.getTree(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
IPathConversionHelper pathConversionHelper,
ILockHelper lockHelper,
String absPath,
RepositoryRequest repositoryRequest,
IRepositoryAccessVoterManager accessVoterManager) |
static String |
JcrRepositoryFileUtils.getVersionId(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.Node node) |
static Object |
JcrRepositoryFileUtils.getVersionSummaries(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId,
boolean includeAclOnlyChanges) |
static Object |
JcrRepositoryFileUtils.getVersionSummary(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId,
Serializable versionId) |
protected RepositoryFileAcl |
JcrRepositoryFileAclDao.internalUpdateAcl(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId,
RepositoryFileAcl acl) |
static boolean |
JcrRepositoryFileUtils.isLocked(PentahoJcrConstants pentahoJcrConstants,
javax.jcr.Node node) |
static boolean |
JcrRepositoryFileUtils.isPentahoFile(PentahoJcrConstants pentahoJcrConstants,
javax.jcr.Node node) |
static boolean |
JcrRepositoryFileUtils.isPentahoFolder(PentahoJcrConstants pentahoJcrConstants,
javax.jcr.Node node) |
static boolean |
JcrRepositoryFileUtils.isPentahoHierarchyNode(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.Node node) |
static boolean |
JcrRepositoryFileUtils.isSupportedNodeType(PentahoJcrConstants pentahoJcrConstants,
javax.jcr.Node node) |
static boolean |
JcrRepositoryFileUtils.isVersioned(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.Node node) |
void |
DefaultLockHelper.lockFile(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId,
String message)
Locks a file.
|
void |
ILockHelper.lockFile(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId,
String lockMessage)
Locks a file.
|
static RepositoryFile |
JcrRepositoryFileUtils.nodeIdToFile(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
IPathConversionHelper pathConversionHelper,
ILockHelper lockHelper,
Serializable fileId) |
static RepositoryFile |
JcrRepositoryFileUtils.nodeToFile(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
IPathConversionHelper pathConversionHelper,
ILockHelper lockHelper,
javax.jcr.Node node) |
static RepositoryFile |
JcrRepositoryFileUtils.nodeToFile(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
IPathConversionHelper pathConversionHelper,
ILockHelper lockHelper,
javax.jcr.Node node,
boolean loadMaps,
IPentahoLocale pentahoLocale) |
static RepositoryFile |
JcrRepositoryFileUtils.nodeToFileOld(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
IPathConversionHelper pathConversionHelper,
ILockHelper lockHelper,
javax.jcr.Node node,
boolean loadMaps,
IPentahoLocale pentahoLocale) |
void |
IDeleteHelper.permanentlyDeleteFile(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId)
Deletes a file in a way that it cannot be recovered.
|
void |
DefaultDeleteHelper.permanentlyDeleteFile(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId)
Deletes a file in a way that it cannot be recovered.
|
void |
DefaultLockHelper.removeLockToken(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.lock.Lock lock)
Removes a lock token so that it can never be associated with anyone's session again.
|
void |
ILockHelper.removeLockToken(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.lock.Lock lock)
Removes a lock token so that it can never be associated with anyone's session again.
|
void |
DefaultLockHelper.removeLockTokenFromSessionIfNecessary(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId)
Removes the lock token associated with the file with the given file id
|
void |
ILockHelper.removeLockTokenFromSessionIfNecessary(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId)
Removes the lock token associated with the file with the given file id
|
static void |
JcrRepositoryFileAclUtils.setFullControl(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId,
RepositoryFileSid sid) |
static void |
JcrRepositoryFileAclUtils.setOwner(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
RepositoryFile file,
RepositoryFileSid owner) |
void |
IDeleteHelper.undeleteFile(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId)
Recovers a deleted file to its original location.
|
void |
DefaultDeleteHelper.undeleteFile(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId)
Recovers a deleted file to its original location.
|
void |
DefaultLockHelper.unlockFile(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId)
Unlocks a file.
|
void |
ILockHelper.unlockFile(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId)
Unlocks a file.
|
void |
ITransformer.updateContentNode(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
T data,
javax.jcr.Node fileNode)
Updates a JCR node subtree representing the given
content . |
static javax.jcr.Node |
JcrRepositoryFileUtils.updateFileNode(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
RepositoryFile file,
IRepositoryFileData content,
ITransformer<IRepositoryFileData> transformer) |
static javax.jcr.Node |
JcrRepositoryFileUtils.updateFolderNode(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
RepositoryFile folder) |
Modifier and Type | Method and Description |
---|---|
void |
NodeRepositoryFileDataTransformer.createContentNode(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
NodeRepositoryFileData data,
javax.jcr.Node fileNode) |
void |
SampleRepositoryFileDataTransformer.createContentNode(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
SampleRepositoryFileData data,
javax.jcr.Node fileNode)
Creates a JCR node subtree representing the given
content . |
void |
SimpleRepositoryFileDataTransformer.createContentNode(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
SimpleRepositoryFileData data,
javax.jcr.Node fileNode)
Creates a JCR node subtree representing the given
content . |
protected void |
NodeRepositoryFileDataTransformer.createOrUpdateContentNode(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
NodeRepositoryFileData data,
javax.jcr.Node fileNode) |
NodeRepositoryFileData |
NodeRepositoryFileDataTransformer.fromContentNode(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.Node fileNode) |
SimpleRepositoryFileData |
SimpleRepositoryFileDataTransformer.fromContentNode(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.Node fileNode)
Transforms a JCR node subtree into an
IRepositoryFileData . |
SampleRepositoryFileData |
SampleRepositoryFileDataTransformer.fromContentNode(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.Node fileNode)
Transforms a JCR node subtree into an
IRepositoryFileData . |
protected void |
NodeRepositoryFileDataTransformer.internalCreateOrUpdate(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.Node jcrParentNode,
DataNode dataNode) |
protected DataNode |
NodeRepositoryFileDataTransformer.internalRead(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.Node jcrNode,
DataNode parentDataNode) |
void |
NodeRepositoryFileDataTransformer.updateContentNode(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
NodeRepositoryFileData data,
javax.jcr.Node fileNode) |
void |
SampleRepositoryFileDataTransformer.updateContentNode(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
SampleRepositoryFileData data,
javax.jcr.Node fileNode)
Updates a JCR node subtree representing the given
content . |
void |
SimpleRepositoryFileDataTransformer.updateContentNode(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
SimpleRepositoryFileData data,
javax.jcr.Node fileNode)
Updates a JCR node subtree representing the given
content . |
Modifier and Type | Method and Description |
---|---|
static void |
JcrRoleAuthorizationPolicyUtils.internalSetBindings(PentahoJcrConstants pentahoJcrConstants,
javax.jcr.Node runtimeRolesFolderNode,
String runtimeRoleNodeName,
List<String> logicalRoleNames,
String nodeNamePrefix) |
Copyright © 2017 Hitachi Vantara. All rights reserved.