net.ezcontent.impl.eos
Class DocumentSubject
java.lang.Object
net.ezcontent.impl.eos.base.BaseDocumentSubject
net.ezcontent.impl.eos.DocumentSubject
- All Implemented Interfaces:
- Serializable, Subject, TreeNode
- public class DocumentSubject
- extends BaseDocumentSubject
- implements Subject
This is the object class that relates to the DocSubject table.
Any customizations belong here.
Implementa Subject
- See Also:
Subject
,
Serialized Form
Methods inherited from class net.ezcontent.impl.eos.base.BaseDocumentSubject |
addToHijos, equals, getHijos, getName, getParent, getPriority, getSubjectID, hashCode, setHijos, setName, setParent, setPriority, setSubjectID |
DocumentSubject
public DocumentSubject()
DocumentSubject
public DocumentSubject(int subjectID)
- Constructor for primary key
DocumentSubject
public DocumentSubject(int subjectID,
String name,
int priority)
- Constructor for required fields
setValidDocumentTypes
public void setValidDocumentTypes(List types)
- Description copied from interface:
Subject
- Una lista de tipos de documento validos para el tema.
Si se deja en blanco, se considera que el tema acepta
cualquier tipo de documento.
- Specified by:
setValidDocumentTypes
in interface Subject
getValidDocumentTypes
public List getValidDocumentTypes()
- Specified by:
getValidDocumentTypes
in interface Subject
addChild
public void addChild(TreeNode node)
- Specified by:
addChild
in interface TreeNode
removeChild
public void removeChild(TreeNode node)
- Specified by:
removeChild
in interface TreeNode
getChildren
public List getChildren()
- Specified by:
getChildren
in interface TreeNode
getParentNode
public TreeNode getParentNode()
- Specified by:
getParentNode
in interface TreeNode
toString
public String toString()
getUniqueID
public int getUniqueID()
- Devuelve la clave unica del tema en la base de datos.
- Specified by:
getUniqueID
in interface Subject