| |
|
| com.jcorporate.expresso.core.dbobj.SecuredDBObject com.jcorporate.expresso.services.dbobj.SecurityDBObject com.jcorporate.expresso.services.dbobj.GroupMembers
GroupMembers | public class GroupMembers extends SecurityDBObject implements UserListener(Code) | | Group Member definitions table. IMPORTANT: Use getGroups() from the User object
to determine which groups a certain user belongs to, as the implementation may
or may not use this table - LDAP may be used instead, for example, or an external
application
author: Michael Nash since: Expresso 1.0 |
GroupMembers | public GroupMembers(int uid) throws DBException(Code) | | Initializes object with permissions given by user id.
Parameters: uid - The Owner's uid |
GroupMembers | public GroupMembers(ControllerRequest request) throws DBException(Code) | | For using DBObjects within Controllers. Initializes based upon the current
user and the requested db. [Of course this can be modified later]
Parameters: request - - The controller request handed to you by the framework. |
GroupMembers | public GroupMembers(DBConnection localConnection) throws DBException(Code) | | constructor for db transactions
Parameters: localConnection - the DB connection which should be used, typically because of an ongoing transaction |
checkAllRefs | protected void checkAllRefs() throws DBException(Code) | | Extends the checkAllRefs method to check for valid UserGroup
throws: DBException - If a referential integrity violation is found |
deletedUser | public void deletedUser(User user) throws DBException(Code) | | Called when a User is deleted from the system.
Parameters: user - The user that is deleted throws: DBException - upon data access error |
getField | public String getField(String fieldName) throws DBException(Code) | | Extend the normal getField method
Parameters: fieldName - the name of the field to retrieve the value of the field |
hasExpired | public boolean hasExpired()(Code) | | Checks to see if the current date is past the expiration date.
true if this group membership has expired |
setGroupName | public void setGroupName(String grpname) throws DBException(Code) | | set group name; convenience method
Parameters: grpname - name to set |
setUID | public void setUID(int uid) throws DBException(Code) | | set uid; convenience method
Parameters: uid - uid to set |
setupFields | protected synchronized void setupFields() throws DBException(Code) | | Set up the fields/tables for this object
|
Methods inherited from com.jcorporate.expresso.core.dbobj.SecuredDBObject | public void add() throws DBException(Code)(Java Doc) public boolean canRequesterAdd() throws DBException(Code)(Java Doc) public boolean canRequesterDelete() throws DBException(Code)(Java Doc) public boolean canRequesterRead() throws DBException(Code)(Java Doc) public boolean canRequesterUpdate() throws DBException(Code)(Java Doc) public boolean checkAllowed(String requestedFunction) throws DBException(Code)(Java Doc) public void copyAttributes(DBObject returnObj) throws DBException(Code)(Java Doc) public synchronized int count() throws com.jcorporate.expresso.core.db.DBException(Code)(Java Doc) protected synchronized void createSecurityCache() throws CacheException(Code)(Java Doc) public void delete() throws DBException(Code)(Java Doc) public synchronized void deleteAll() throws com.jcorporate.expresso.core.db.DBException(Code)(Java Doc) public boolean find() throws DBException(Code)(Java Doc) public int getRequestingUid()(Code)(Java Doc) protected String getString(String stringCode, Object[] args) throws DBException(Code)(Java Doc) protected String getString(String stringCode) throws DBException(Code)(Java Doc) protected String getString(String stringCode, String arg1) throws DBException(Code)(Java Doc) protected String getString(String stringCode, String arg1, String arg2) throws DBException(Code)(Java Doc) protected String getString(String stringCode, String arg1, String arg2, String arg3) throws DBException(Code)(Java Doc) protected String getString(String stringCode, String arg1, String arg2, String arg3, String arg4) throws DBException(Code)(Java Doc) public int getSystemUid()(Code)(Java Doc) public static SecuredDBObject instantiate(String className) throws DBException(Code)(Java Doc) public void isAllowed(String requestedFunction) throws SecurityException, DBException(Code)(Java Doc) public void retrieve() throws DBException(Code)(Java Doc) public synchronized void search() throws DBException(Code)(Java Doc) public synchronized ArrayList searchAndRetrieveList() throws DBException(Code)(Java Doc) public synchronized ArrayList searchAndRetrieveList(String sortKeys) throws DBException(Code)(Java Doc) public void setRequestingUid(int newUid)(Code)(Java Doc) public void update() throws DBException(Code)(Java Doc)
|
|
|
|