|
eXo JCR :: Component :: Webdav Service 1.15.10-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.jcr.webdav.util.NodeTypeUtil
public class NodeTypeUtil
Created by The eXo Platform SARL Author : Vitaly Guly.
| Constructor Summary | |
|---|---|
NodeTypeUtil()
|
|
| Method Summary | |
|---|---|
static void |
checkContentResourceType(javax.jcr.nodetype.NodeType contentNodeType)
Cheks if the NodeType of content node extends nt:resource. |
static String |
getContentNodeType(String contentNodeTypeHeader)
Returns the NodeType of content node according to the Content-NodeType header. |
static ArrayList<String> |
getMixinTypes(String mixinTypes)
Returns the list of node mixins. |
static String |
getNodeType(String nodeTypeHeader,
String defaultNodeType,
Set<String> allowedNodeTypes)
Returns parsed nodeType obtained from node-type header. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeTypeUtil()
| Method Detail |
|---|
public static String getNodeType(String nodeTypeHeader,
String defaultNodeType,
Set<String> allowedNodeTypes)
throws javax.jcr.nodetype.NoSuchNodeTypeException
nodeTypeHeader - defaultNodeType - allowedNodeTypes -
javax.jcr.nodetype.NoSuchNodeTypeException - is thrown if node-type header contains not allowed node typepublic static String getContentNodeType(String contentNodeTypeHeader)
contentNodeTypeHeader - Content-NodeType header
public static void checkContentResourceType(javax.jcr.nodetype.NodeType contentNodeType)
throws javax.jcr.nodetype.NoSuchNodeTypeException
contentNodeType - Content-NodeType header
javax.jcr.nodetype.NoSuchNodeTypeException - NoSuchNodeTypeExceptionpublic static ArrayList<String> getMixinTypes(String mixinTypes)
mixinTypes - list of mixins or null
|
eXo JCR :: Component :: Webdav Service 1.15.10-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||