|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dbforms.config.GrantedPrivileges
public class GrantedPrivileges
This class represents a "granted-privileges"-tag in dbforms-config.xml
Field Summary | |
---|---|
static int |
PRIVILEG_DELETE
DOCUMENT ME! |
static int |
PRIVILEG_INSERT
DOCUMENT ME! |
static int |
PRIVILEG_SELECT
DOCUMENT ME! |
static int |
PRIVILEG_UPDATE
DOCUMENT ME! |
Constructor Summary | |
---|---|
GrantedPrivileges()
Creates a new GrantedPrivileges object. |
Method Summary | |
---|---|
boolean |
hasUserPrivileg(HttpServletRequest request,
int privileg)
DOCUMENT ME! |
void |
setDelete(String delete)
DOCUMENT ME! |
void |
setInsert(String insert)
DOCUMENT ME! |
void |
setSelect(String select)
DOCUMENT ME! |
void |
setUpdate(String update)
DOCUMENT ME! |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int PRIVILEG_SELECT
public static final int PRIVILEG_INSERT
public static final int PRIVILEG_UPDATE
public static final int PRIVILEG_DELETE
Constructor Detail |
---|
public GrantedPrivileges()
Method Detail |
---|
public void setDelete(String delete)
delete
- DOCUMENT ME!public void setInsert(String insert)
insert
- DOCUMENT ME!public void setSelect(String select)
select
- DOCUMENT ME!public void setUpdate(String update)
update
- DOCUMENT ME!public boolean hasUserPrivileg(HttpServletRequest request, int privileg)
request
- DOCUMENT ME!privileg
- DOCUMENT ME!
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |