Class ContentGroupEdit

All Implemented Interfaces:

public class ContentGroupEdit
extends AppBase

A ContentGroup is used to structure content associated with a customer/rolegroup. This is a hierarchical structure simmilar to a n-ary tree. This structure is represented in the backend DB by a self-referencing table.
For each ContentGroup there exists a corresponding named resource. The name consists of the numeric rolegroup ID and the numeric ID of the contentgroup separated by a double-dash, e.g.: 23--356. This facilitates removal of resources in case a rolegroup is deleted, as the resource table has no foreign key to contentgroups. The numeric IDs are used to avoid problems when either group is renamed.
A ContentGroup has the following characteristics:

Each RoleGroup can contain any number of ContentGroups. The creation/modification of ContentGroups is governed by the ACL on the RoleGroup the ContentGroups are associated with. The ACLs on the resources defined for each ContentGroup is used to control the content associated with a content group.

$Id:,v 1.16 2003/01/13 15:30:45 muecke Exp $
Wolfram Saringer

Constructor Summary
          Create empty object. init() must be called before this object can be used.
Method Summary
 void init()
          Initialize object.
static void main(java.lang.String[] args)
 org.jdom.Document process(javax.servlet.ServletContext context, javax.servlet.http.HttpServletRequest req, SecurityManager securitymanager)
          Main processing method.
Methods inherited from class
checkoutConn, destroy, errorPage, errorPage, getUrl, newElement, process, redirect, redirect, returnConn
Methods inherited from class com.xmlserv.main.XMLServBackendImpl
addParam, getParam, getReqCount, getStatus
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public ContentGroupEdit()
Create empty object. init() must be called before this object can be used.
Method Detail


public void init()
          throws javax.servlet.ServletException
Initialize object.
init in class AppBase
Following copied from class:
javax.servlet.ServletException - On any error.
See Also:


public org.jdom.Document process(javax.servlet.ServletContext context,
                                 javax.servlet.http.HttpServletRequest req,
                                 SecurityManager securitymanager)
                          throws XMLServException,
Main processing method.
process in class AppBase
See Also:
XMLServBackendImpl.process(javax.servlet.ServletContext, javax.servlet.http.HttpServletRequest,


public static void main(java.lang.String[] args)