net.ezcontent.impl.eos
Class DocumentSubject

java.lang.Object
  extended bynet.ezcontent.impl.eos.base.BaseDocumentSubject
      extended bynet.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

Field Summary
 
Fields inherited from class net.ezcontent.impl.eos.base.BaseDocumentSubject
 
Constructor Summary
DocumentSubject()
           
DocumentSubject(int subjectID)
          Constructor for primary key
DocumentSubject(int subjectID, String name, int priority)
          Constructor for required fields
 
Method Summary
 void addChild(TreeNode node)
           
 List getChildren()
           
 TreeNode getParentNode()
           
 int getUniqueID()
          Devuelve la clave unica del tema en la base de datos.
 List getValidDocumentTypes()
           
 void removeChild(TreeNode node)
           
 void setValidDocumentTypes(List types)
          Una lista de tipos de documento validos para el tema.
 String toString()
           
 
Methods inherited from class net.ezcontent.impl.eos.base.BaseDocumentSubject
addToHijos, equals, getHijos, getName, getParent, getPriority, getSubjectID, hashCode, setHijos, setName, setParent, setPriority, setSubjectID
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface net.ezcontent.document.Subject
getName, getPriority, setName, setPriority
 

Constructor Detail

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

Method Detail

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