|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HomeManager
Homes manager for a single scope. Manage users and user's home presents in a scope.
Method Summary | |
---|---|
User |
createUser(java.lang.String portalLogin)
Create a new user. |
boolean |
existUser(java.lang.String portalLogin)
Check if the specified user exists. |
Home |
getHome(User user)
Retrieve the user's home. |
GCUBEScope |
getScope()
Returns the scope managed by this manager. |
User |
getUser(java.lang.String portalLogin)
Get an user, if the user is not found a new one is created. |
java.util.List<User> |
getUsers()
Retrieves all users managed by this manager. |
Method Detail |
---|
GCUBEScope getScope() throws InternalErrorException
InternalErrorException
- if an internal error occurs.java.util.List<User> getUsers()
User getUser(java.lang.String portalLogin) throws InternalErrorException
portalLogin
- the user's portal login.
InternalErrorException
- if an internal error occurs.boolean existUser(java.lang.String portalLogin) throws InternalErrorException
portalLogin
- the user's portal login.
true
if the user has been found, false
otherwise.
InternalErrorException
- if an internal error occurs.User createUser(java.lang.String portalLogin) throws InternalErrorException
portalLogin
- the user's portal login.
InternalErrorException
- if an internal error occurs.Home getHome(User user) throws InternalErrorException, HomeNotFoundException
user
- the owner's home.
InternalErrorException
- if an internal error occurs.
HomeNotFoundException
- if no home is found for the given user.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |