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

All Known Subinterfaces:
DataFile, DataFolder

public interface DataAreaItem

This class represent a generic element into the data home, like folder o file.

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

Method Summary
 java.lang.String getName()
          Return this element name.
 DataFolder getParent()
          Return the item parent.
 java.lang.String getPath()
          Return this element path.
 boolean isFolder()
          Indicates if this is a folder.
 

Method Detail

getParent

DataFolder getParent()
                     throws InternalErrorException
Return the item parent.

Returns:
the item parent.
Throws:
InternalErrorException - if an internal error occurs.

getName

java.lang.String getName()
Return this element name.

Returns:
the item name.

getPath

java.lang.String getPath()
Return this element path.

Returns:
the item path.

isFolder

boolean isFolder()
Indicates if this is a folder.

Returns:
true if this item is a folder, false otherwise.