static void |
JcrRepositoryFileAclUtils.addAce(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable id,
org.pentaho.platform.api.repository2.unified.RepositoryFileSid recipient,
EnumSet<org.pentaho.platform.api.repository2.unified.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,
org.pentaho.platform.api.repository2.unified.RepositoryFileSid recipient,
EnumSet<org.pentaho.platform.api.repository2.unified.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 org.pentaho.platform.api.repository2.unified.RepositoryFileAcl |
JcrRepositoryFileAclUtils.createAcl(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId,
org.pentaho.platform.api.repository2.unified.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,
org.pentaho.platform.api.repository2.unified.RepositoryFile file,
org.pentaho.platform.api.repository2.unified.IRepositoryFileData content,
ITransformer<org.pentaho.platform.api.repository2.unified.IRepositoryFileData> transformer) |
|
static javax.jcr.Node |
JcrRepositoryFileUtils.createFolderNode(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable parentFolderId,
org.pentaho.platform.api.repository2.unified.RepositoryFile folder) |
|
void |
DefaultDeleteHelper.deleteFile(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId) |
Deletes a file in a way that it can be recovered.
|
void |
IDeleteHelper.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 org.pentaho.platform.api.repository2.unified.RepositoryFileAcl |
JcrRepositoryFileAclUtils.getAcl(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable id) |
|
List<org.pentaho.platform.api.repository2.unified.RepositoryFile> |
DefaultDeleteHelper.getAllDeletedFiles(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants) |
|
List<org.pentaho.platform.api.repository2.unified.RepositoryFile> |
IDeleteHelper.getAllDeletedFiles(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants) |
Lists deleted files for all users.
|
static List<org.pentaho.platform.api.repository2.unified.RepositoryFile> |
JcrRepositoryFileUtils.getChildren(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
IPathConversionHelper pathConversionHelper,
ILockHelper lockHelper,
Serializable folderId,
String filter) |
Deprecated.
|
static List<org.pentaho.platform.api.repository2.unified.RepositoryFile> |
JcrRepositoryFileUtils.getChildren(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
IPathConversionHelper pathConversionHelper,
ILockHelper lockHelper,
Serializable folderId,
String filter,
Boolean showHiddenFiles) |
Deprecated.
|
static List<org.pentaho.platform.api.repository2.unified.RepositoryFile> |
JcrRepositoryFileUtils.getChildren(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
IPathConversionHelper pathConversionHelper,
ILockHelper lockHelper,
org.pentaho.platform.api.repository2.unified.RepositoryRequest repositoryRequest) |
|
static org.pentaho.platform.api.repository2.unified.IRepositoryFileData |
JcrRepositoryFileUtils.getContent(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId,
Serializable versionId,
ITransformer<org.pentaho.platform.api.repository2.unified.IRepositoryFileData> transformer) |
|
List<org.pentaho.platform.api.repository2.unified.RepositoryFile> |
DefaultDeleteHelper.getDeletedFiles(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants) |
Lists deleted files for this user.
|
List<org.pentaho.platform.api.repository2.unified.RepositoryFile> |
DefaultDeleteHelper.getDeletedFiles(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
String origParentFolderPath,
String filter) |
Lists deleted files for this folder and user.
|
List<org.pentaho.platform.api.repository2.unified.RepositoryFile> |
IDeleteHelper.getDeletedFiles(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants) |
Lists deleted files for this user.
|
List<org.pentaho.platform.api.repository2.unified.RepositoryFile> |
IDeleteHelper.getDeletedFiles(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
String origParentFolderPath,
String filter) |
Lists deleted files for this folder and user.
|
static org.pentaho.platform.api.repository2.unified.RepositoryFile |
JcrRepositoryFileUtils.getFileAtVersion(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
IPathConversionHelper pathConversionHelper,
ILockHelper lockHelper,
Serializable fileId,
Serializable versionId) |
|
static org.pentaho.platform.api.repository2.unified.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,
org.pentaho.platform.api.locale.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 |
DefaultDeleteHelper.getOriginalParentFolderPath(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId) |
Returns the absolute path of the original parent folder.
|
String |
IDeleteHelper.getOriginalParentFolderPath(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId) |
Returns the absolute path of the original parent folder.
|
protected org.pentaho.platform.api.repository2.unified.RepositoryFile |
DefaultDeleteHelper.getReferrerFile(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.Property referrerProperty) |
|
protected org.pentaho.platform.api.repository2.unified.RepositoryFile |
JcrRepositoryFileDao.getReferrerFile(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
javax.jcr.Property referrerProperty) |
|
static org.pentaho.platform.api.repository2.unified.RepositoryFileTree |
JcrRepositoryFileUtils.getTree(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
IPathConversionHelper pathConversionHelper,
ILockHelper lockHelper,
String absPath,
org.pentaho.platform.api.repository2.unified.RepositoryRequest repositoryRequest,
org.pentaho.platform.api.repository2.unified.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 org.pentaho.platform.api.repository2.unified.RepositoryFileAcl |
JcrRepositoryFileAclDao.internalUpdateAcl(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId,
org.pentaho.platform.api.repository2.unified.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 org.pentaho.platform.api.repository2.unified.RepositoryFile |
JcrRepositoryFileUtils.nodeIdToFile(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
IPathConversionHelper pathConversionHelper,
ILockHelper lockHelper,
Serializable fileId) |
|
static org.pentaho.platform.api.repository2.unified.RepositoryFile |
JcrRepositoryFileUtils.nodeToFile(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
IPathConversionHelper pathConversionHelper,
ILockHelper lockHelper,
javax.jcr.Node node) |
|
static org.pentaho.platform.api.repository2.unified.RepositoryFile |
JcrRepositoryFileUtils.nodeToFile(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
IPathConversionHelper pathConversionHelper,
ILockHelper lockHelper,
javax.jcr.Node node,
boolean loadMaps,
org.pentaho.platform.api.locale.IPentahoLocale pentahoLocale) |
|
static org.pentaho.platform.api.repository2.unified.RepositoryFile |
JcrRepositoryFileUtils.nodeToFileOld(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
IPathConversionHelper pathConversionHelper,
ILockHelper lockHelper,
javax.jcr.Node node,
boolean loadMaps,
org.pentaho.platform.api.locale.IPentahoLocale pentahoLocale) |
|
void |
DefaultDeleteHelper.permanentlyDeleteFile(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId) |
Deletes a file in a way that it cannot be recovered.
|
void |
IDeleteHelper.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,
org.pentaho.platform.api.repository2.unified.RepositoryFileSid sid) |
|
static void |
JcrRepositoryFileAclUtils.setOwner(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
org.pentaho.platform.api.repository2.unified.RepositoryFile file,
org.pentaho.platform.api.repository2.unified.RepositoryFileSid owner) |
|
void |
DefaultDeleteHelper.undeleteFile(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
Serializable fileId) |
Recovers a deleted file to its original location.
|
void |
IDeleteHelper.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,
org.pentaho.platform.api.repository2.unified.RepositoryFile file,
org.pentaho.platform.api.repository2.unified.IRepositoryFileData content,
ITransformer<org.pentaho.platform.api.repository2.unified.IRepositoryFileData> transformer) |
|
static javax.jcr.Node |
JcrRepositoryFileUtils.updateFolderNode(javax.jcr.Session session,
PentahoJcrConstants pentahoJcrConstants,
org.pentaho.platform.api.repository2.unified.RepositoryFile folder) |
|