org.exoplatform.services.jcr.rmi.api.value
Class PermissionValue
java.lang.Object
org.exoplatform.services.jcr.rmi.api.value.BaseNonStreamValue
org.exoplatform.services.jcr.rmi.api.value.PermissionValue
- All Implemented Interfaces:
- java.io.Serializable, javax.jcr.Value, ExtendedValue, StatefulValue
public class PermissionValue
- extends BaseNonStreamValue
- implements java.io.Serializable, StatefulValue
- Version:
- $Id: PermissionValue.java 52159 2010-09-21 07:13:30Z paristote $
- Author:
- Sergey Kabashnyuk
- See Also:
- Serialized Form
|
Constructor Summary |
PermissionValue(java.lang.String identity,
java.lang.String permission)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.jcr.Value |
getBoolean, getDate, getDouble, getLong, getStream |
PermissionValue
public PermissionValue(java.lang.String identity,
java.lang.String permission)
parseValue
public static PermissionValue parseValue(java.lang.String pstring)
parse
public static java.lang.String[] parse(java.lang.String pstring)
getLength
public long getLength()
- Specified by:
getLength in interface ExtendedValue
getString
public java.lang.String getString()
- Specified by:
getString in interface javax.jcr.Value
getType
public int getType()
- Specified by:
getType in interface javax.jcr.Value
asString
protected static java.lang.String asString(java.lang.String identity,
java.lang.String permission)
Copyright © 2011 eXo Platform SAS. All Rights Reserved.