|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectbiz.hammurapi.sql.DatabaseObject
biz.hammurapi.web.security.sql.ApplicationUserImpl
biz.hammurapi.web.security.User
| Field Summary | |
static java.lang.String |
ADMIN_NAME
|
| Fields inherited from class biz.hammurapi.web.security.sql.ApplicationUserImpl |
EMail, FirstName, IsBlocked, LastName, LastPasswordChange, LoginName, MenuId, Notes, Phone, UnmatchedBehavior, UserPassword |
| Fields inherited from class biz.hammurapi.sql.DatabaseObject |
columns, objectVersion, originalVersion |
| Constructor Summary | |
User()
|
|
User(boolean force)
|
|
User(org.w3c.dom.Element holder,
boolean force)
|
|
User(org.w3c.dom.Element holder,
java.util.Properties pathMap,
org.apache.xpath.CachedXPathAPI cxpa,
boolean force)
|
|
User(java.sql.ResultSet rs)
|
|
| Method Summary | |
java.lang.Boolean |
hasAccess(int menuId)
Checks access to a menu item |
boolean |
hasFilePermission(int fileId,
java.lang.String action)
Checks file permission. |
java.lang.Boolean |
hasPermission(java.lang.String className,
java.lang.String actionName)
|
boolean |
isInRole(java.lang.String role)
|
void |
setSQLProcessor(biz.hammurapi.sql.SQLProcessor processor)
Loads groups, roles and permissions assigned to this user. |
void |
toDom(org.w3c.dom.Element holder)
|
| Methods inherited from class biz.hammurapi.web.security.sql.ApplicationUserImpl |
clone, getEMail, getFirstName, getIsBlocked, getLastName, getLastPasswordChange, getLoginName, getMenuId, getNotes, getPhone, getUnmatchedBehavior, getUserPassword, project, project, setEMail, setFirstName, setIsBlocked, setLastName, setLastPasswordChange, setLoginName, setMenuId, setNotes, setPhone, setUnmatchedBehavior, setUserPassword |
| Methods inherited from class biz.hammurapi.sql.DatabaseObject |
addColumn, addObserver, addRelationship, clear, configure, configure, copy, delete, equals, fromDom, fromDom, get, getAttribute, getColumn, getColumnAttribute, getObjectVersion, getRelationship, getSqlType, hashCode, insert, isDeleted, isModified, loadRelationships, onChange, removeAttribute, removeColumnAttribute, removeObserver, setAttribute, setColumnAttribute, setOriginal, toDom, toString, update |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String ADMIN_NAME
| Constructor Detail |
public User()
public User(boolean force)
force -
public User(java.sql.ResultSet rs)
throws java.sql.SQLException
rs -
java.sql.SQLException
public User(org.w3c.dom.Element holder,
boolean force)
throws biz.hammurapi.config.ConfigurationException
holder - force -
biz.hammurapi.config.ConfigurationException
public User(org.w3c.dom.Element holder,
java.util.Properties pathMap,
org.apache.xpath.CachedXPathAPI cxpa,
boolean force)
throws biz.hammurapi.config.ConfigurationException
holder - pathMap - cxpa - force -
biz.hammurapi.config.ConfigurationException| Method Detail |
public void setSQLProcessor(biz.hammurapi.sql.SQLProcessor processor)
throws java.sql.SQLException
setSQLProcessor in interface biz.hammurapi.sql.DataAccessObjectjava.sql.SQLExceptionpublic boolean isInRole(java.lang.String role)
public void toDom(org.w3c.dom.Element holder)
toDom in interface biz.hammurapi.xml.dom.DomSerializable
public java.lang.Boolean hasPermission(java.lang.String className,
java.lang.String actionName)
className - actionName -
public boolean hasFilePermission(int fileId,
java.lang.String action)
fileId - File ID, ignored for "Create" actionaction - Action name.
public java.lang.Boolean hasAccess(int menuId)
menuId -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||