public class JCRProperties extends Object implements org.gcube.common.homelibrary.home.workspace.Properties
| Constructor and Description |
|---|
JCRProperties(org.gcube.common.homelibary.model.items.ItemDelegate itemDelegate,
String portalLogin) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperties(Map<String,String> properties) |
void |
addProperty(String name,
String value)
Deprecated.
|
String |
getId() |
Map<String,String> |
getProperties() |
String |
getPropertyValue(String propertyName) |
boolean |
hasProperty(String property) |
void |
update() |
public JCRProperties(org.gcube.common.homelibary.model.items.ItemDelegate itemDelegate,
String portalLogin)
throws org.gcube.common.homelibrary.model.exceptions.RepositoryException,
org.gcube.common.homelibrary.home.exceptions.InternalErrorException
org.gcube.common.homelibrary.model.exceptions.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.InternalErrorException@Deprecated public 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.InternalErrorExceptionpublic void addProperties(Map<String,String> properties) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
addProperties in interface org.gcube.common.homelibrary.home.workspace.Propertiesorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic void update()
throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
update in interface org.gcube.common.homelibrary.home.workspace.Propertiesorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionpublic boolean hasProperty(String property) throws org.gcube.common.homelibrary.home.exceptions.InternalErrorException
hasProperty in interface org.gcube.common.homelibrary.home.workspace.Propertiesorg.gcube.common.homelibrary.home.exceptions.InternalErrorExceptionCopyright © 2019. All Rights Reserved.