|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gran.app.adapter.kernel.user.BaseUserAdapter
| Constructor Summary | |
BaseUserAdapter()
|
|
| Method Summary | |
gran.model.User |
authenticateImpl(java.lang.String login,
java.lang.String password,
gran.model.User result)
|
void |
changePasswordImpl(java.lang.String id,
java.lang.String password1,
java.lang.String password2)
Change password |
int |
countUDFImpl(java.lang.String id,
int result)
|
gran.model.User |
createUserImpl(java.lang.String parent,
java.lang.String login,
java.lang.String name,
java.lang.String prstatus,
gran.model.User result)
Create new user |
void |
deleteUsersImpl(java.lang.String[] ids)
Delete users |
java.util.HashMap |
getActionsHashImpl(java.lang.String user_id,
java.util.HashMap result)
|
java.util.Collection |
getChildrenImpl(java.lang.String id,
java.util.Collection result)
|
java.lang.String |
getDescription()
Get description of adapter as plain text |
java.util.Collection |
getPossibleManagerImpl(java.lang.String userId,
java.lang.String loggedUserId,
java.util.Collection result)
|
java.util.Collection |
getUserAndChildrenCollectionImpl(java.lang.String userId,
java.util.Collection result)
|
java.util.ArrayList |
getUserChainImpl(java.lang.String startid,
java.lang.String stopid,
java.util.ArrayList result)
|
java.util.ArrayList |
getUserIdChainImpl(java.lang.String startid,
java.lang.String stopid,
java.util.ArrayList result)
|
gran.app.slider.UserSlider |
getUserListImpl(java.lang.String managerId,
int page,
gran.app.slider.UserSlider result)
|
boolean |
hasChildrenImpl(java.lang.String userid,
boolean result)
|
boolean |
init()
Initialize adapter. |
boolean |
isParentOfImpl(java.lang.String parentid,
java.lang.String childid,
boolean result)
|
void |
updateUserImpl(java.lang.String id,
java.lang.String login,
java.lang.String name,
java.lang.String tel,
java.lang.String email,
java.lang.String smsmail,
java.lang.String prstatus,
java.lang.String manager,
java.lang.String timezone,
java.lang.String locale)
Update user information |
boolean |
viewAllowedImpl(java.lang.String userId,
java.lang.String loggedUserId,
boolean result)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BaseUserAdapter()
| Method Detail |
public boolean init()
Adapter
init in interface Adapterpublic java.lang.String getDescription()
Adapter
getDescription in interface Adapter
public gran.model.User createUserImpl(java.lang.String parent,
java.lang.String login,
java.lang.String name,
java.lang.String prstatus,
gran.model.User result)
throws gran.exception.CantCreateUserException,
gran.exception.UsersLimitExceedException,
gran.exception.GranException
UserAdapter
createUserImpl in interface UserAdapterparent - - id parent user-à.login - - loginname - - nameprstatus - - user group
gran.exception.CantCreateUserException
gran.exception.UsersLimitExceedException
gran.exception.GranException
public void deleteUsersImpl(java.lang.String[] ids)
throws gran.exception.GranException
UserAdapter
deleteUsersImpl in interface UserAdaptergran.exception.GranException
public void changePasswordImpl(java.lang.String id,
java.lang.String password1,
java.lang.String password2)
throws gran.exception.BadPasswordException,
gran.exception.GranException
UserAdapter
changePasswordImpl in interface UserAdapterid - - user idpassword1 - - new passwordpassword2 - - password confirmation
gran.exception.BadPasswordException
gran.exception.GranException
public void updateUserImpl(java.lang.String id,
java.lang.String login,
java.lang.String name,
java.lang.String tel,
java.lang.String email,
java.lang.String smsmail,
java.lang.String prstatus,
java.lang.String manager,
java.lang.String timezone,
java.lang.String locale)
throws gran.exception.GranException
UserAdapter
updateUserImpl in interface UserAdaptergran.exception.GranException
public java.util.Collection getPossibleManagerImpl(java.lang.String userId,
java.lang.String loggedUserId,
java.util.Collection result)
throws gran.exception.GranException
getPossibleManagerImpl in interface UserAdaptergran.exception.GranException
public gran.model.User authenticateImpl(java.lang.String login,
java.lang.String password,
gran.model.User result)
throws gran.exception.GranException,
gran.exception.AuthException
authenticateImpl in interface UserAdaptergran.exception.GranException
gran.exception.AuthException
public boolean viewAllowedImpl(java.lang.String userId,
java.lang.String loggedUserId,
boolean result)
throws gran.exception.GranException
viewAllowedImpl in interface UserAdaptergran.exception.GranException
public java.util.HashMap getActionsHashImpl(java.lang.String user_id,
java.util.HashMap result)
throws gran.exception.GranException
getActionsHashImpl in interface UserAdaptergran.exception.GranException
public gran.app.slider.UserSlider getUserListImpl(java.lang.String managerId,
int page,
gran.app.slider.UserSlider result)
throws gran.exception.GranException
getUserListImpl in interface UserAdaptergran.exception.GranException
public java.util.ArrayList getUserChainImpl(java.lang.String startid,
java.lang.String stopid,
java.util.ArrayList result)
throws gran.exception.GranException
getUserChainImpl in interface UserAdaptergran.exception.GranException
public java.util.ArrayList getUserIdChainImpl(java.lang.String startid,
java.lang.String stopid,
java.util.ArrayList result)
throws gran.exception.GranException
getUserIdChainImpl in interface UserAdaptergran.exception.GranException
public boolean hasChildrenImpl(java.lang.String userid,
boolean result)
throws gran.exception.GranException
hasChildrenImpl in interface UserAdaptergran.exception.GranException
public java.util.Collection getUserAndChildrenCollectionImpl(java.lang.String userId,
java.util.Collection result)
throws gran.exception.GranException
getUserAndChildrenCollectionImpl in interface UserAdaptergran.exception.GranException
public boolean isParentOfImpl(java.lang.String parentid,
java.lang.String childid,
boolean result)
throws gran.exception.GranException
isParentOfImpl in interface UserAdaptergran.exception.GranException
public int countUDFImpl(java.lang.String id,
int result)
throws gran.exception.GranException
countUDFImpl in interface UserAdaptergran.exception.GranException
public java.util.Collection getChildrenImpl(java.lang.String id,
java.util.Collection result)
throws gran.exception.GranException
getChildrenImpl in interface UserAdaptergran.exception.GranException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||