Package org.apache.jackrabbit.test.api
Class NodeMixinUtil
- java.lang.Object
-
- org.apache.jackrabbit.test.api.NodeMixinUtil
-
public class NodeMixinUtil extends Object
Utility class to locate mixins in the NodeTyeManager.
-
-
Constructor Summary
Constructors Constructor Description NodeMixinUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getAddableMixinName(Session session, Node node)
static String
getNonExistingMixinName(Session session)
static String
getNotAssignedMixinName(Session session, Node node)
-
-
-
Method Detail
-
getAddableMixinName
public static String getAddableMixinName(Session session, Node node) throws RepositoryException
- Returns:
- the name of a mixin node type that can be added by the requested
node
- Throws:
RepositoryException
-
getNotAssignedMixinName
public static String getNotAssignedMixinName(Session session, Node node) throws RepositoryException
- Throws:
RepositoryException
-
getNonExistingMixinName
public static String getNonExistingMixinName(Session session) throws RepositoryException
- Returns:
- a string that is not the name of a mixin type
- Throws:
RepositoryException
-
-