|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jfw.authentication.GroupServiceDB
public class GroupServiceDB
Check if a service can be executed by a user-group.
Field Summary | |
---|---|
static java.lang.String |
RESULT_KEY
Output HashMap key for operation result. |
static java.lang.String |
RESULT_KO_KEY
Output HashMap KO value relative of key RESULT_KEY . |
static java.lang.String |
RESULT_OK_KEY
Output HashMap OK value relative of key RESULT_KEY . |
static java.lang.String |
SERVICE_NAME_KEY
Parameter key for service name. |
static java.lang.String |
USER_ID_KEY
Parameter key for user id. |
Constructor Summary | |
---|---|
GroupServiceDB()
|
Method Summary | |
---|---|
void |
execute(java.util.HashMap outputdata)
Execute the query. |
void |
setData(java.lang.Object data)
Set attribute data . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String USER_ID_KEY
public static final java.lang.String SERVICE_NAME_KEY
public static final java.lang.String RESULT_KEY
public static final java.lang.String RESULT_OK_KEY
RESULT_KEY
.
public static final java.lang.String RESULT_KO_KEY
RESULT_KEY
.
Constructor Detail |
---|
public GroupServiceDB()
Method Detail |
---|
public void setData(java.lang.Object data)
data
.
setData
in interface QueryGatewayInterface
data
- contains parameters ued by the query.public void execute(java.util.HashMap outputdata) throws DatabaseException
execute
in interface QueryGatewayInterface
outputdata
- set key RESULT_OK_KEY
with value RESULT_OK_KEY
if the user-group can execute the service or value RESULT_KO_KEY
if can not.
DatabaseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |