com.xmlserv.app.contentmanagement
Class ContentManagerConfig

java.lang.Object
  |
  +--com.xmlserv.app.contentmanagement.ContentManagerConfig

public class ContentManagerConfig
extends java.lang.Object

This encapsulates the AppContentManager Configuration.

See Also:
AppContentManager

Constructor Summary
ContentManagerConfig(java.sql.Connection con, int id)
           
ContentManagerConfig(int rolegroup)
           
 
Method Summary
 java.lang.String getClassname()
           
 java.lang.String getContext()
           
 int getId()
           
 int getRolegroup()
           
static org.jdom.Element list(java.sql.Connection con, int rolegroup)
          List all entries.
 void save(java.sql.Connection con)
           
 void setClassname(java.lang.String classname)
           
 void setContext(java.lang.String context)
           
 void setRolegroup(int rolegroup)
           
 org.jdom.Element toElement()
          Convert to an Element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentManagerConfig

public ContentManagerConfig(int rolegroup)

ContentManagerConfig

public ContentManagerConfig(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 an Element.

list

public static org.jdom.Element list(java.sql.Connection con,
                                    int rolegroup)
                             throws XMLServException
List all entries.

getId

public int getId()

getRolegroup

public int getRolegroup()

setRolegroup

public void setRolegroup(int rolegroup)

getContext

public java.lang.String getContext()

setContext

public void setContext(java.lang.String context)

getClassname

public java.lang.String getClassname()

setClassname

public void setClassname(java.lang.String classname)