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
 ApplicationsArea getDataArea()
          Retrieves the user data area.
 HomeManager getHomeManager()
          Return this home manager.
 User getOwner()
          Retrieves the home's owner.
 Workspace getWorkspace()
          Retrieves the user workspace.
 List<String> listScopes()
           
 

Method Detail

getHomeManager

HomeManager getHomeManager()
Return this home manager.

Returns:
the home manager.

getOwner

User getOwner()
Retrieves the home's owner.

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

getWorkspace

Workspace getWorkspace()
                       throws WorkspaceFolderNotFoundException,
                              InternalErrorException
Retrieves the user workspace.

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

getDataArea

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

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

listScopes

List<String> listScopes()
                        throws InternalErrorException
Throws:
InternalErrorException


Copyright © 2013. All Rights Reserved.