|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Object | +--com.egurkha.subscribermanagement.EgUserController
| Constructor Summary | |
EgUserController()
|
|
| Method Summary | |
int |
addUserDetails(EgurkhaUser eu)
This method is used to add details of the user into the eGurkha system.It takes in user object as parameter. |
int |
connect(String str_mgr_url,
String str_uname,
String str_upass)
This method is used to establish a connection with the eGurkha ASPlite manager component which is responsible for the user manipulation in the eGurkha system. |
void |
disconnect()
This method is used to reset the manager url and the connection with the ASPlite manager component. |
int |
invalidateUser(EgurkhaUser eu)
This method is used to invalidate an user in the eGurkha system. |
int |
modifyUserDetails(EgurkhaUser eu)
This method is used to modify details of the user in the eGurkha system.It takes in user object as parameter. |
int |
modifyUserSubscription(EgurkhaUser eu)
This method is used to modify subscription validity period of the user in the eGurkha system.It takes in user object as parameter. |
int |
removeUser(EgurkhaUser eu)
This method is used to remove user from the eGurkha system. |
| Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public EgUserController()
| Method Detail |
public int connect(String str_mgr_url,
String str_uname,
String str_upass)
This method is used to establish a connection with the eGurkha ASPlite manager component which is responsible for the user manipulation in the eGurkha system.
It takes in the manager ip or hostname(The possible formats are http://192.168.10.7:7077 or http://www.hostname.com:portno, 192.168.10.7:7077 or www.hostname.com:portno),administrator user-name and administrator user-password as parameters.
It returns an int value which reports success or possible reasons for failure.public int addUserDetails(EgurkhaUser eu)
This method is used to add details of the user into the eGurkha system.It takes in user object as parameter.
The possible results arepublic int modifyUserDetails(EgurkhaUser eu)
This method is used to modify details of the user in the eGurkha system.It takes in user object as parameter.
The possible values arepublic int modifyUserSubscription(EgurkhaUser eu)
This method is used to modify subscription validity period of the user in the eGurkha system.It takes in user object as parameter.
The possible results arepublic int removeUser(EgurkhaUser eu)
This method is used to remove user from the eGurkha system. It takes in user object as parameter.
The possible results arepublic int invalidateUser(EgurkhaUser eu)
This method is used to invalidate an user in the eGurkha system. It restricts the user from using the eGurkha system.
The possible results arepublic void disconnect()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||