com.xmlserv.app.user
Class RoleGroup

java.lang.Object
  |
  +--com.xmlserv.app.user.RoleGroup

public class RoleGroup
extends java.lang.Object

ContentGroup abstraction.

Author:
Wolfram Saringer

Constructor Summary
RoleGroup(java.sql.Connection con, int id)
           
RoleGroup(java.lang.String name)
           
 
Method Summary
 int getId()
           
 java.lang.String getName()
           
static org.jdom.Element getRoleGroups(java.sql.Connection con, javax.servlet.http.HttpServletRequest req, SecurityManager securitymanager, java.lang.String access)
          Master method for recursive method getContentGroupsRec.
 void save(java.sql.Connection con)
           
 void setName(java.lang.String name)
           
 org.jdom.Element toElement()
          Convert to a JDOM Element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoleGroup

public RoleGroup(java.lang.String name)

RoleGroup

public RoleGroup(java.sql.Connection con,
                 int id)
          throws XMLServException
Method Detail

save

public void save(java.sql.Connection con)
          throws XMLServException

toElement

public org.jdom.Element toElement()
Convert to a JDOM Element.

getRoleGroups

public static org.jdom.Element getRoleGroups(java.sql.Connection con,
                                             javax.servlet.http.HttpServletRequest req,
                                             SecurityManager securitymanager,
                                             java.lang.String access)
                                      throws java.sql.SQLException
Master method for recursive method getContentGroupsRec.
Parameters:
con - Connection to use.
req - The ServletRequest object ot determine user privileges

getId

public int getId()

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)