Method Summary |
|
public void | addContentTypeRestriction(String sContentType) Adds a content type restriction to this domain. |
public void | addDetails(String sDetails) Adds a path restriction to this domain. |
public Object | clone() |
public void | delete() Deletes this domain from the database. |
public boolean | equals(Object obj) |
public static List | getAvailableProperties(AbstractDataStoreInterface dsi, Class clss) Returns a List of Property definitions which can be applied
to objects of the specified Class . |
public static List | getAvailableProperties(AbstractDataStoreInterface dsi, Class clss, String sPath) Returns a List of Property definitions which can be applied
to the object of the specified Class and path. |
public static List | getAvailableProperties(AbstractDataStoreInterface dsi, Class clss, List paths) Returns a List of Property definitions which can be applied
to the objects of the specified Class and paths. |
public static List | getAvailableProperties(AbstractDataStoreInterface dsi, AbstractProfiledObject profObj) Returns a List of Property objects which are allowed
to be applied to the specified AbstractProfiledObject . |
protected static ColumnRef | getColumnRef(String sCol, boolean bIsHist) Returns the appropriate ColumnRef for the given column name
from the Domain database table. |
public List | getContentRestrictions() Returns the list of content restrictions on this domain. |
public int | getDepth() Returns the depth restiction on this domain. |
public List | getDetails() Returns the list of path restrictions for this domain. |
protected static ColumnRef | getDetailsColumnRef(String sCol, boolean bIsHist) Returns the appropriate ColumnRef for the given column name
from the Domain domain details database table. |
public String | getDomainClass() Returns the name of the Class restriction for this domain. |
public int | getId() Returns the id of this domain. |
public int | getMaxOccurs() Returns the maximum occurance limit for the property on this domain. |
public int | getMinOccurs() Returns the minimum occurance limit for the property on this domain. |
public String | getTagName() |
public boolean | isChanged() Returns true if this domain has changed since being
populated from the database. |
public boolean | isValid(AbstractProfiledObject obj) Returns true if the specified object is a member of this
domain and therefore can have an instance of the Property
associated to this domain applied to it, otherwise false . |
public void | markAsNew() Marks this domain as new. |
public void | populate(Element xmlElement, State state) |
public Element | publish(Template template, HarmoniseOutput output, State state) |
public Element | publish(Element topEl, HarmoniseOutput output, State state) |
public void | save(Property prop) Saves the domain data for this property to the database. |
public void | setDepth(int nDepth) Sets the depth of this domain. |
public void | setDomainClass(String objectName) Sets the Class restriction for this domain. |
public void | setHistorical(boolean bIsHist) Sets whether this domain is historical. |
public void | setId(int nId) Sets the id of this domain. |
public void | setMaxOccurs(int nMaxOccurs) Sets the maximum occurance limit for the property on this domain. |
public void | setMinOccurs(int nMinOccurs) Sets the minimum occurance limit for the property on this domain. |