org.gcube.portlets.user.homelibrary.home.data
Interface DataArea


public interface DataArea

Manage home application data.

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

Method Summary
 DataFolder getHomeRoot()
          Return the user home root folder.
 DataFolder getRelativeFolder(java.lang.String relPath)
          Return a folder relative to the root folder.
 

Method Detail

getHomeRoot

DataFolder getHomeRoot()
                       throws InternalErrorException
Return the user home root folder.

Returns:
the application data root.
Throws:
InternalErrorException - if an internal error occurs.

getRelativeFolder

DataFolder getRelativeFolder(java.lang.String relPath)
                             throws InternalErrorException
Return a folder relative to the root folder.

Parameters:
relPath - the relative path of the folder.
Returns:
the folder with the specified relative path.
Throws:
InternalErrorException - if an internal error occurs.