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


public interface User

Represent an user. An user is identified by an id. One user can be present in only one scope at time.

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

Method Summary
 java.lang.String getId()
          Retrieves the user's id.
 java.lang.String getPortalLogin()
          Retrieves the user's portal login.
 GCUBEScope getScope()
          Retrieves the user's scope.
 

Method Detail

getId

java.lang.String getId()
                       throws InternalErrorException
Retrieves the user's id.

Returns:
the id.
Throws:
InternalErrorException - if an internal error occur.

getPortalLogin

java.lang.String getPortalLogin()
                                throws InternalErrorException
Retrieves the user's portal login.

Returns:
the portal login.
Throws:
InternalErrorException - if an internal error occur.

getScope

GCUBEScope getScope()
                    throws InternalErrorException
Retrieves the user's scope.

Returns:
the scope.
Throws:
InternalErrorException - if an internal error occur.