org.gcube.portlets.user.homelibrary.jcr.workspace
Class JCRProperties

java.lang.Object
  extended by org.gcube.portlets.user.homelibrary.jcr.workspace.JCRProperties
All Implemented Interfaces:
org.gcube.portlets.user.homelibrary.home.workspace.Properties

public class JCRProperties
extends Object
implements org.gcube.portlets.user.homelibrary.home.workspace.Properties


Constructor Summary
JCRProperties(javax.jcr.Node itemNode)
           
 
Method Summary
 void addProperty(String name, String value)
           
 String getId()
           
 Map<String,String> getProperties()
           
 String getPropertyValue(String propertyName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCRProperties

public JCRProperties(javax.jcr.Node itemNode)
              throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException
Method Detail

getId

public String getId()
             throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
Specified by:
getId in interface org.gcube.portlets.user.homelibrary.home.workspace.Properties
Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException

getPropertyValue

public String getPropertyValue(String propertyName)
                        throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
Specified by:
getPropertyValue in interface org.gcube.portlets.user.homelibrary.home.workspace.Properties
Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException

getProperties

public Map<String,String> getProperties()
                                 throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
Specified by:
getProperties in interface org.gcube.portlets.user.homelibrary.home.workspace.Properties
Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException

addProperty

public void addProperty(String name,
                        String value)
                 throws org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException
Specified by:
addProperty in interface org.gcube.portlets.user.homelibrary.home.workspace.Properties
Throws:
org.gcube.portlets.user.homelibrary.home.exceptions.InternalErrorException


Copyright © 2013. All Rights Reserved.