|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class serves as an interface for Templates that contain a pre-defined forum structure. All forums instantiated by a template instance inherit the structure of that template. The structure of the template is represented in XML notation and is stored as a string in the XMLLob. A DTD is used to validate the structure in the UI. Only a valid structure is persisted in the database. See Also : DiscussionForumTemplate
Field Summary | |
static String |
DESCRIPTION
Label for the attribute; The description for the template |
static String |
DOC_TYPE
|
static String |
DTD_LOCATION
|
static String |
NAME
Label for the attribute; The name of the template. |
static String |
STRUCTURE
Label for the attribute; The container of the structure of the template. |
static String |
XML_VERSION
|
Fields inherited from interface wt.fc.Persistable |
IDENTITY, PERSIST_INFO, TYPE |
Method Summary | |
boolean |
canDelete()
Checks if this template can be deleted or not. |
String |
getDescription()
Gets the value of the attribute: DESCRIPTION. |
Vector |
getForums()
Retrieves all the Forum instances that are based on this template. |
String |
getName()
Gets the value of the attribute: NAME. |
XMLLob |
getStructure()
Gets the value of the attribute: STRUCTURE. |
void |
setDescription(String a_Description)
Sets the value of the attribute: DESCRIPTION. |
void |
setName(String a_Name)
Sets the value of the attribute: NAME. |
void |
setStructure(XMLLob a_Structure)
Sets the value of the attribute: STRUCTURE. |
Methods inherited from interface wt.fc.Persistable |
checkAttributes, getIdentity, getPersistInfo, getType, setPersistInfo |
Methods inherited from interface wt.fc.ObjectMappable |
readExternal, writeExternal |
Methods inherited from interface wt.fc.NetFactor |
getClassInfo, getConceptualClassname |
Field Detail |
public static final String NAME
public static final String DESCRIPTION
public static final String STRUCTURE
public static final String XML_VERSION
public static final String DTD_LOCATION
public static final String DOC_TYPE
Method Detail |
public String getName()
public void setName(String a_Name) throws WTPropertyVetoException
a_Name
-
WTPropertyVetoException
public String getDescription()
public void setDescription(String a_Description) throws WTPropertyVetoException
a_Description
-
WTPropertyVetoException
public XMLLob getStructure()
public void setStructure(XMLLob a_Structure) throws WTPropertyVetoException
a_Structure
-
WTPropertyVetoException
public Vector getForums()
public boolean canDelete() throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |