Class ResourceUtil
java.lang.Object
org.exoplatform.services.jcr.webdav.resource.ResourceUtil
Created by The eXo Platform SARL .
- Version:
- $Id: $
- Author:
- Gennady Azarenkov
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgenerateEntityTag(javax.jcr.Node node, String lastModifiedProperty) static booleanisFile(javax.jcr.Node node) If the node is file.static booleanisVersion(javax.jcr.Node node) If the node is version.static booleanisVersioned(javax.jcr.Node node) If the node is versionable.
-
Method Details
-
isFile
public static boolean isFile(javax.jcr.Node node) If the node is file.- Parameters:
node- node- Returns:
- true if node is file false if not
-
isVersion
public static boolean isVersion(javax.jcr.Node node) If the node is version.- Parameters:
node- node- Returns:
- true if node is version false if not
-
isVersioned
public static boolean isVersioned(javax.jcr.Node node) If the node is versionable.- Parameters:
node- node- Returns:
- true if node is versionable false if not
-
generateEntityTag
public static String generateEntityTag(javax.jcr.Node node, String lastModifiedProperty) throws javax.jcr.UnsupportedRepositoryOperationException, javax.jcr.RepositoryException, ParseException - Throws:
javax.jcr.UnsupportedRepositoryOperationExceptionjavax.jcr.RepositoryExceptionParseException
-