public class JCRProperties extends Object implements org.gcube.common.homelibrary.home.workspace.Properties
| Constructor and Description |
|---|
JCRProperties(javax.jcr.Node itemNode) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(String name,
String value) |
String |
getId() |
Map<String,String> |
getProperties() |
String |
getPropertyValue(String propertyName) |
public JCRProperties(javax.jcr.Node itemNode)
throws javax.jcr.RepositoryException,
org.gcube.common.homelibrary.home.exceptions.InternalErrorException
javax.jcr.RepositoryExceptionorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic String getId() throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
getId in interface org.gcube.common.homelibrary.home.workspace.Propertiesorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic String getPropertyValue(String propertyName) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
getPropertyValue in interface org.gcube.common.homelibrary.home.workspace.Propertiesorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic Map<String,String> getProperties() throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
getProperties in interface org.gcube.common.homelibrary.home.workspace.Propertiesorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic void addProperty(String name, String value) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
addProperty in interface org.gcube.common.homelibrary.home.workspace.Propertiesorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionCopyright © 2015. All Rights Reserved.