org.gcube.portlets.user.homelibrary.home.workspace
Interface Properties


public interface Properties

Author:
Federico De Faveri defaveri@isti.cnr.it

Method Summary
 void addProperty(String name, String value)
          Add a new property.
 String getId()
           
 Map<String,String> getProperties()
           
 String getPropertyValue(String propertyName)
           
 

Method Detail

getId

String getId()
             throws InternalErrorException
Returns:
the properties id.
Throws:
InternalErrorException - if an internal error occurs.

getPropertyValue

String getPropertyValue(String propertyName)
                        throws InternalErrorException
Parameters:
propertyName - the property name.
Returns:
the property value.
Throws:
InternalErrorException

getProperties

Map<String,String> getProperties()
                                 throws InternalErrorException
Returns:
the properties map.
Throws:
InternalErrorException

addProperty

void addProperty(String name,
                 String value)
                 throws InternalErrorException
Add a new property.

Parameters:
name - the property name.
value - the property value.
Throws:
InternalErrorException


Copyright © 2013. All Rights Reserved.