org.exoplatform.services.jcr.rmi.api.value
Class PermissionValue

java.lang.Object
  extended by org.exoplatform.services.jcr.rmi.api.value.BaseNonStreamValue
      extended by 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 35183 2009-08-07 14:11:53Z pnedonosko $
Author:
Sergey Kabashnyuk
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.exoplatform.services.jcr.rmi.api.value.BaseNonStreamValue
orderNumber
 
Constructor Summary
PermissionValue(java.lang.String identity, java.lang.String permission)
           
 
Method Summary
protected static java.lang.String asString(java.lang.String identity, java.lang.String permission)
           
 long getLength()
           
 java.lang.String getString()
           
 int getType()
           
static java.lang.String[] parse(java.lang.String pstring)
           
static PermissionValue parseValue(java.lang.String pstring)
           
 
Methods inherited from class org.exoplatform.services.jcr.rmi.api.value.BaseNonStreamValue
getBoolean, getDate, getDouble, getLong, getOrderNumber, getReference, getStream, getValueFormatException, setOrderNumber
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.exoplatform.services.jcr.core.value.ExtendedValue
getOrderNumber, getReference, setOrderNumber
 
Methods inherited from interface javax.jcr.Value
getBoolean, getDate, getDouble, getLong, getStream
 

Constructor Detail

PermissionValue

public PermissionValue(java.lang.String identity,
                       java.lang.String permission)
Method Detail

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 © 2010 eXo Platform SAS. All Rights Reserved.