org.gcube.portlets.user.homelibrary.home
Interface Home


public interface Home

Represent a user's home. For each home we have an owner, a Data Area and a Workspace.

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

Method Summary
 DataArea getDataArea()
          Retrieves the user data area.
 HomeManager getHomeManager()
          Return this home manager.
 User getOwner()
          Retrieves the home's owner.
 WorkspaceArea getWorkspaceArea()
          Retrieves the user workspace area.
 

Method Detail

getHomeManager

HomeManager getHomeManager()
Return this home manager.

Returns:
the home manager.

getOwner

User getOwner()
              throws InternalErrorException
Retrieves the home's owner.

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

getWorkspaceArea

WorkspaceArea getWorkspaceArea()
                               throws WorkspaceNotFoundException,
                                      InternalErrorException
Retrieves the user workspace area.

Returns:
the workspace area.
Throws:
WorkspaceNotFoundException - when the workspace is not found.
InternalErrorException - if an internal error occurs.

getDataArea

DataArea getDataArea()
                     throws InternalErrorException
Retrieves the user data area.

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