| java.lang.Object org.openharmonise.rm.resources.AbstractObject org.openharmonise.rm.resources.AbstractEditableObject org.openharmonise.rm.resources.AbstractProfiledObject org.openharmonise.rm.resources.AbstractChildObject org.openharmonise.rm.resources.AbstractParentObject
All known Subclasses: org.openharmonise.rm.resources.metadata.properties.PropertyGroup, org.openharmonise.rm.resources.xml.XSLResourceGroup, org.openharmonise.rm.resources.publishing.WebPageGroup, org.openharmonise.rm.resources.users.UserGroup, org.openharmonise.rm.resources.xml.XMLResourceGroup, org.openharmonise.rm.resources.metadata.values.ValueGroup, org.openharmonise.rm.resources.content.Section,
AbstractParentObject | abstract public class AbstractParentObject extends AbstractChildObject implements Editable,Publishable,DataStoreObject,Cloneable,EditEventListener(Code) | | Abstract class that provides the necessary functionality for objects
which can be parents in a parent-child relationship within Harmonise.
Children are indexed so that the order of children can be managed.
author: Michael Bell version: $Revision: 1.6.2.1 $ |
Method Summary | |
public void | addChild(AbstractChildObject obj) Adds the specified object as a child to this parent. | public void | addChild(int nIndex, AbstractChildObject obj) Inserts the specified child object at the specified position
in the list of children. | public void | addChild(AbstractChildObject obj, boolean bIsSoftLink) Adds the specified object as a child to this parent. | public void | addChild(int nIndex, AbstractChildObject obj, boolean bIsSoftLink) Inserts the specified child object at the specified position
in the list of children. | protected void | addChild(Element el) Adds the object which the given XML element represents as a
child to this parent object. | public Editable | changeStatus(Status status) | public void | clear() | public void | clearChildren() Clears all stored lists of children. | public Object | clone() | protected void | delete(boolean bDeleteHist) | protected void | fullPopulate() | public List | getAllArchivedChildrenByClass(Class clss) Returns a list of archived descendants matching the specified
Class . | public List | getAllArchivedChildrenByType(int nType) Returns a list of all archived descendants, i.e. | public AbstractChildObject | getArchivedChildByName(String sName) Returns the archived child with the specified name,
otherwise returns a null . | public List | getArchivedChildren() | public List | getArchivedChildrenByClass(Class clss) Returns a list of archived children which match the specified
Class . | public List | getArchivedChildrenByType(int nType) Returns a list of archived children matching the type specified,
i.e. | public AbstractChildObject | getChild(int nIndex) Returns the child of this parent object at the specified
index. | public AbstractChildObject | getChildByName(String sName) Returns the child with the specified name, otherwise returns a null. | abstract public List | getChildClassNames() Returns a list of class names of classes that can be children of this
object. | public List | getChildren() Returns a list of all children of this object. | public List | getChildrenByClass(Class clss) Returns all children that match the class specified. | public List | getChildrenByType(int nType) Returns a list of all children of the given type,
i.e. | protected ColumnRef | getGroupChildJoinColumnRef(String sChildTableName, String sCol) Returns the column reference for a column in the parent-child
relationship table. | public ColumnRef | getInstanceColumnRef(String sColumn, boolean bIsHist) | public int | getMaxIndex() Returns the current maximum child index position. | public String | getPath() | public static List | getTopLevelGroups(AbstractDataStoreInterface dbinterf, AbstractParentObject grpObj) Returns a list of top level parent objects of a specified object type. | public int | indexOf(AbstractChildObject child) Returns the index of the given child object in the list
of children. | public boolean | isChild(AbstractChildObject child) Returns true if the given object is a child of this object. | public boolean | isTopLevel() Returns true if this parent is a top level parent
in the hierarchy of relationships,
i.e. | public boolean | isValidChild(AbstractChildObject childObj) Returns true if the given object is of a valid
type to become a child of this object. | public void | markAsNew() | public void | populate(Element xmlElement, State state) | public org.w3c.dom.Element | publish(Element topEl, HarmoniseOutput xmlDoc, State state) | public void | removeChild(AbstractChildObject obj) Removes the scpecified child from this object's list of children. | protected void | removeChild(Element el) Removes the object which is represented by the given XML element
from the children of this object. | protected void | saveNonCoreData() | public void | setChildren(List children) Sets the complete list of children of this object, children will be
saved with their order position taken from their index in the list. | public void | workflowObjectArchived(EditEvent event) | public void | workflowObjectLocked(EditEvent event) | public void | workflowObjectReactivated(EditEvent event) | public void | workflowObjectSaved(EditEvent event) | public void | workflowObjectStatusChanged(EditEvent event) | public void | workflowObjectUnlocked(EditEvent event) |
ALL_NODES | final public static int ALL_NODES(Code) | | Constant for leaf node types
|
BRANCH_NODES | final public static int BRANCH_NODES(Code) | | Constant for branch node type
|
LEAF_NODES | final public static int LEAF_NODES(Code) | | Constant for all node types
|
TAG_ATTACH | final public static String TAG_ATTACH(Code) | | Attach tag name
|
TAG_CHILDREN | final public static String TAG_CHILDREN(Code) | | Children tag name
|
TAG_CONTENTS | final public static String TAG_CONTENTS(Code) | | Contents tag name
|
TAG_DETACH | final public String TAG_DETACH(Code) | | Detach tag name
|
TAG_SUBGROUPS | final public static String TAG_SUBGROUPS(Code) | | Sub-groups tag name
|
m_add_children | protected List m_add_children(Code) | | List of OrderableCachePointer objects
referencing the children to be added on the
next save() operation
|
m_add_real_children | protected List m_add_real_children(Code) | | List of ids of children of those to be added for which this object is the 'real' parent
|
m_allArchivedChildren | protected List m_allArchivedChildren(Code) | | List of archived descendants
|
m_archivedChildren | protected List m_archivedChildren(Code) | | List of archived children
|
m_bIsAllArchivedChildrenPopulated | protected boolean m_bIsAllArchivedChildrenPopulated(Code) | | boolean flag which indicates whether the list
of all archived descendants has been populated
|
m_bIsArchivedChildrenPopulated | protected boolean m_bIsArchivedChildrenPopulated(Code) | | boolean flag which indicates whether the list of
archived children has been populated
|
m_bIsChildrenPopulated | protected boolean m_bIsChildrenPopulated(Code) | | boolean flag which indicates whether the list of
children of this object has been populated
|
m_bIsContentsChanged | protected boolean m_bIsContentsChanged(Code) | | boolean flag which indicates whether the list of
children of this object is to be changed on the next
save() operation
|
m_children | protected List m_children(Code) | | List of OrderableCachePointer objects
referencing the children of this object
|
m_nMaxIndex | protected int m_nMaxIndex(Code) | | The maximum value of index for children of this object
|
m_real_children | protected List m_real_children(Code) | | List of ids of children of this object for which this object is the 'real' parent
|
m_remove_children | protected List m_remove_children(Code) | | List of OrderableCachePointer objects
referencing the children to be removed on the next
save() operation
|
AbstractParentObject | public AbstractParentObject()(Code) | | Constructs a new or anonymous instance without an interface
to the database.
|
AbstractParentObject | public AbstractParentObject(AbstractDataStoreInterface dbintrf)(Code) | | Constructor for a new or anonymous instance.
Parameters: dbintrf - the data store interface |
AbstractParentObject | public AbstractParentObject(AbstractDataStoreInterface dbintrf, int nId, int nKey, boolean bIsHist)(Code) | | Constructs an existing resource which may be historical.
Parameters: dbintrf - the interface to the database Parameters: nId - the id of the resource Parameters: nKey - the unique key of the resource Parameters: bIsHist - true if the resource is historical |
AbstractParentObject | public AbstractParentObject(AbstractDataStoreInterface dbintrf, int nId)(Code) | | Standard constructor for an existing resource,
registering an AbstractDataStoreInterface to use
with all database communications.
Parameters: dbintrf - the interface to the database Parameters: nId - the id of the resource |
addChild | public void addChild(int nIndex, AbstractChildObject obj) throws InvalidChildException, PopulateException(Code) | | Inserts the specified child object at the specified position
in the list of children. Shifts the object currently at that
position (if any) and any subsequent objects to the
right (adds one to their indices).
Parameters: nIndex - the desired index for the specified child Parameters: obj - the child to be added throws: InvalidChildException - if the child is an invalid child for this parent throws: PopulateException - if there is an error populating the children of this object |
addChild | public void addChild(AbstractChildObject obj, boolean bIsSoftLink) throws InvalidChildException, PopulateException(Code) | | Adds the specified object as a child to this parent. If
bIsSoftLink is true then the relationship is
weak, meaning this group is not the main group of the
child.
Parameters: obj - the new child Parameters: bIsSoftLink - true if the relationship is weak throws: InvalidChildException - if the new child is invalid throws: PopulateException - if there is an error populating the children of this object |
addChild | public void addChild(int nIndex, AbstractChildObject obj, boolean bIsSoftLink) throws InvalidChildException, PopulateException(Code) | | Inserts the specified child object at the specified position
in the list of children. Shifts the object currently at that
position (if any) and any subsequent objects to the
right (adds one to their indices). The boolean
value bIsSoftLink determines whether this parent
is the default parent of the child, i.e. a value of true
specifies a weak relationship and therefore the parent
is not the default parent of the child.
Parameters: nIndex - the index of the new child Parameters: obj - the new child Parameters: bIsSoftLink - true if the relationship is weak throws: InvalidChildException - if the new child is invalid throws: PopulateException - if there is an error populating the children of this object |
clear | public void clear()(Code) | | |
clearChildren | public void clearChildren()(Code) | | Clears all stored lists of children.
|
getAllArchivedChildrenByClass | public List getAllArchivedChildrenByClass(Class clss) throws DataAccessException(Code) | | Returns a list of archived descendants matching the specified
Class .
Parameters: clss - the Class to match by the list of archived descendants matching the specified Class throws: DataAccessException - if there is an error populating the list of archived children |
getAllArchivedChildrenByType | public List getAllArchivedChildrenByType(int nType) throws DataAccessException(Code) | | Returns a list of all archived descendants, i.e. of this object and
its branch children, of the specified type, i.e. leaf, branch or all
children
Parameters: nType - the type code of children to return a list of all archived descendants of the specified type throws: DataAccessException - if there is an error populating the list of archived children |
getArchivedChildByName | public AbstractChildObject getArchivedChildByName(String sName) throws DataAccessException(Code) | | Returns the archived child with the specified name,
otherwise returns a null .
Parameters: sName - the name of the archived child to return the archived child with the specified name throws: DataAccessException - if there is an error populating the list of archived children |
getArchivedChildren | public List getArchivedChildren() throws DataAccessException(Code) | | Returns a list all archived children of this parent object
the list of archived children throws: DataAccessException - if there is an error populating the list of archived children |
getArchivedChildrenByClass | public List getArchivedChildrenByClass(Class clss) throws DataAccessException(Code) | | Returns a list of archived children which match the specified
Class .
Parameters: clss - the Class to match children by the list of archived children throws: DataAccessException - if there is an error populating the list of archived children |
getArchivedChildrenByType | public List getArchivedChildrenByType(int nType) throws DataAccessException(Code) | | Returns a list of archived children matching the type specified,
i.e. leaf, branch or all children.
Parameters: nType - the type code of children to return a list of archived children matching the type specified throws: DataAccessException - if there is an error populating the list of archived children |
getChild | public AbstractChildObject getChild(int nIndex) throws DataAccessException(Code) | | Returns the child of this parent object at the specified
index.
Parameters: nIndex - the index of the desired child object the index of the desired child object throws: DataAccessException - if there is an error populating the children of this object |
getChildClassNames | abstract public List getChildClassNames()(Code) | | Returns a list of class names of classes that can be children of this
object.
|
getChildren | public List getChildren() throws DataAccessException(Code) | | Returns a list of all children of this object.
a list of all children of this object throws: DataAccessException - if there is an error accessing the children of this object |
getChildrenByClass | public List getChildrenByClass(Class clss) throws DataAccessException(Code) | | Returns all children that match the class specified.
Parameters: clss - the class to match children against a list of children that match the specified class throws: DataAccessException - if there is an error accessing the children of this parent |
getChildrenByType | public List getChildrenByType(int nType) throws DataAccessException(Code) | | Returns a list of all children of the given type,
i.e. branch or leaf children.
Parameters: nType - the type code which determines which children are returned a list of all children of the given type throws: DataAccessException - if there is an error accessing the children of this parent |
getGroupChildJoinColumnRef | protected ColumnRef getGroupChildJoinColumnRef(String sChildTableName, String sCol) throws DataStoreException(Code) | | Returns the column reference for a column in the parent-child
relationship table.
Parameters: sChildTableName - the relationship table name Parameters: sCol - the column, tag or attribute name the corresponding column reference throws: DataStoreException - if the sCol reference is invalid |
getMaxIndex | public int getMaxIndex() throws DataAccessException(Code) | | Returns the current maximum child index position.
Note: this isn't the same as size as there is no enforcement rules on
index values being contiguous.
the current maximum child index position throws: DataAccessException - if an error occurs populating the children of this object |
indexOf | public int indexOf(AbstractChildObject child) throws DataAccessException(Code) | | Returns the index of the given child object in the list
of children.
Parameters: child - the child object the index of the given child object throws: DataAccessException - if there is an error populating the children of this object |
isChild | public boolean isChild(AbstractChildObject child) throws DataAccessException(Code) | | Returns true if the given object is a child of this object.
Parameters: child - the potential child object true if the given object is a child of this object. throws: DataAccessException - if there is an error populating the children of this object |
isTopLevel | public boolean isTopLevel()(Code) | | Returns true if this parent is a top level parent
in the hierarchy of relationships,
i.e. if it is not a child of another parent
true if this parent is a top level parent |
isValidChild | public boolean isValidChild(AbstractChildObject childObj)(Code) | | Returns true if the given object is of a valid
type to become a child of this object.
Parameters: childObj - the child object to test true if the given object is of a valid type to become a child of this object. |
removeChild | protected void removeChild(Element el) throws PopulateException(Code) | | Removes the object which is represented by the given XML element
from the children of this object.
Parameters: el - the XML element representing a child throws: PopulateException - if an error occurs creating an object from the XML element |
setChildren | public void setChildren(List children) throws InvalidChildException, PopulateException(Code) | | Sets the complete list of children of this object, children will be
saved with their order position taken from their index in the list.
Parameters: children - the list of AbstractChildObject throws: InvalidChildException - if any of the new children is invalid throws: PopulateException - if there is an error populating the children of this object |
workflowObjectArchived | public void workflowObjectArchived(EditEvent event)(Code) | | |
workflowObjectLocked | public void workflowObjectLocked(EditEvent event)(Code) | | |
workflowObjectReactivated | public void workflowObjectReactivated(EditEvent event)(Code) | | |
workflowObjectStatusChanged | public void workflowObjectStatusChanged(EditEvent event)(Code) | | |
workflowObjectUnlocked | public void workflowObjectUnlocked(EditEvent event)(Code) | | |
Methods inherited from org.openharmonise.rm.resources.AbstractChildObject | protected void addColumnsToPopulateQuery(SelectStatement select, boolean bIsHist) throws DataStoreException(Code)(Java Doc) protected void addDataToSave(InsertStatement insert) throws DataStoreException(Code)(Java Doc) protected void addParent(AbstractParentObject group) throws PopulateException(Code)(Java Doc) public Editable archive() throws EditException(Code)(Java Doc) public Editable changeStatus(Status status) throws EditException(Code)(Java Doc) public void clear()(Code)(Java Doc) public Object clone()(Code)(Java Doc) protected AbstractParentObject createGroupFromPath(String sFullPath) throws EditException(Code)(Java Doc) protected void delete(boolean bDeleteHist) throws DataStoreException, DataAccessException, EditException, PopulateException(Code)(Java Doc) protected void fullPopulate() throws PopulateException(Code)(Java Doc) public List getAllFullPaths() throws DataAccessException(Code)(Java Doc) public List getAllPaths() throws DataAccessException(Code)(Java Doc) public static ColumnRef getColumnRef(String sClassname, String sColumn, boolean bHist) throws DataStoreException(Code)(Java Doc) public String getFullPath() throws DataAccessException(Code)(Java Doc) public ColumnRef getInstanceColumnRef(String sColumn, boolean bIsHist) throws DataStoreException(Code)(Java Doc) public static ColumnRef getObjectColumnRef(String sTable, String sColumn) throws DataStoreException(Code)(Java Doc) protected ColumnRef getParentChildJoinColumnRef(String sCol) throws DataStoreException(Code)(Java Doc) abstract public String getParentObjectClassName()(Code)(Java Doc) public static String getParentObjectClassName(String sChildClassname) throws DataAccessException(Code)(Java Doc) public List getParents() throws DataAccessException(Code)(Java Doc) public String getPath() throws DataAccessException(Code)(Java Doc) public AbstractParentObject getRealParent() throws DataAccessException(Code)(Java Doc) public boolean isChanged() throws DataAccessException(Code)(Java Doc) public boolean isRealParent(AbstractParentObject obj) throws DataAccessException(Code)(Java Doc) public void markAsNew() throws PopulateException(Code)(Java Doc) public void populate(Element xmlElement, State state) throws PopulateException(Code)(Java Doc) protected void populateFromResultSetRow(ResultSet rs, SelectStatement select) throws PopulateException(Code)(Java Doc) protected void populateGroupsFromDatabase() throws PopulateException(Code)(Java Doc) public org.w3c.dom.Element publish(Element topEl, HarmoniseOutput xmlDoc, State state) throws PublishException(Code)(Java Doc) public Editable reactivate() throws EditException(Code)(Java Doc) protected void removeParent(AbstractParentObject group) throws PopulateException(Code)(Java Doc) protected void saveCoreData() throws EditException(Code)(Java Doc) protected void setRealParent(AbstractParentObject group) throws PopulateException(Code)(Java Doc) protected void update() throws EditException, DataStoreException(Code)(Java Doc) protected void updateParents() throws EditException(Code)(Java Doc)
|
Methods inherited from org.openharmonise.rm.resources.AbstractProfiledObject | protected void addColumnsToPopulateQuery(SelectStatement select, boolean bIsHist) throws DataStoreException(Code)(Java Doc) public void addProfile(Profile profile) throws InvalidProfileException(Code)(Java Doc) public Editable changeStatus(Status status) throws EditException(Code)(Java Doc) public void clear()(Code)(Java Doc) public Object clone()(Code)(Java Doc) protected void delete(boolean bDeleteHistory) throws DataStoreException, DataAccessException, EditException, PopulateException(Code)(Java Doc) protected void fillProfiles() throws PopulateException(Code)(Java Doc) protected void fullPopulate() throws PopulateException(Code)(Java Doc) public int getNumProfiles() throws DataAccessException(Code)(Java Doc) public Profile getProfile() throws DataAccessException(Code)(Java Doc) public Profile getProfile(String sName) throws DataAccessException(Code)(Java Doc) public List getProfiles() throws DataAccessException(Code)(Java Doc) public Map getProfilesMap() throws DataAccessException(Code)(Java Doc) public AbstractPropertyInstance getPropertyInstance(String sPropName) throws InvalidPropertyInstanceException, DataAccessException(Code)(Java Doc) public AbstractPropertyInstance getPropertyInstance(Property prop) throws InvalidPropertyInstanceException, DataAccessException(Code)(Java Doc) public void ignoreProfileRestrictions(boolean bIgnore)(Code)(Java Doc) public boolean isChanged() throws DataAccessException(Code)(Java Doc) public boolean isDefaultProfile(Profile prof)(Code)(Java Doc) protected boolean isProfileLoaded(String sName)(Code)(Java Doc) public void markAsNew() throws PopulateException(Code)(Java Doc) public void populate(Element xmlElement, State state) throws PopulateException(Code)(Java Doc) protected void populateFromResultSetRow(ResultSet rs, SelectStatement select) throws PopulateException(Code)(Java Doc) public List processResultSet(CachedResultSet rs, SelectStatement select)(Code)(Java Doc) public List processResultSet(CachedResultSet rs, SelectStatement select, int nLimit)(Code)(Java Doc) public Element publish(Element topEl, HarmoniseOutput xmlDoc, State state) throws PublishException(Code)(Java Doc) public void removeProfile(String sProfile) throws DataAccessException(Code)(Java Doc) protected void saveCoreData() throws EditException(Code)(Java Doc) protected void setDefaultProfile(String sName) throws InvalidProfileException, DataAccessException(Code)(Java Doc) public void setHistorical(boolean bIsHistorical)(Code)(Java Doc) public void setProfile(Profile profile) throws InvalidProfileException(Code)(Java Doc) protected void setProfiles(List profiles) throws InvalidProfileException(Code)(Java Doc) protected void setProfiles(Map profiles)(Code)(Java Doc) protected void setProfilesHistorical(boolean bIsHistorical)(Code)(Java Doc) public String toString()(Code)(Java Doc) protected void update() throws DataStoreException, EditException(Code)(Java Doc)
|
Methods inherited from org.openharmonise.rm.resources.AbstractEditableObject | public void acquireEditWriteLock() throws EditException(Code)(Java Doc) protected void addColumnsToPopulateQuery(SelectStatement select, boolean bIsHist) throws DataStoreException(Code)(Java Doc) protected void addDataToSave(InsertStatement insert) throws DataStoreException(Code)(Java Doc) public void addEditEventListener(EditEventListener listener)(Code)(Java Doc) public Editable archive() throws EditException(Code)(Java Doc) public Editable changeStatus(Status status) throws EditException(Code)(Java Doc) public void clear()(Code)(Java Doc) public Object clone()(Code)(Java Doc) public Editable createNewVersion() throws EditException(Code)(Java Doc) protected void delete(boolean bDeleteHist) throws DataStoreException, DataAccessException, EditException, PopulateException(Code)(Java Doc) public List getAllVersions() throws DataAccessException(Code)(Java Doc) public static ColumnRef getColumnRef(String sClassname, String sColumn, boolean bHist) throws DataStoreException(Code)(Java Doc) public String getDisplayName() throws DataAccessException(Code)(Java Doc) public List getHistoricalVersions() throws DataAccessException(Code)(Java Doc) public java.util.Date getHistoryDate() throws DataAccessException(Code)(Java Doc) public ColumnRef getInstanceColumnRef(String sColumn, boolean bIsHist) throws DataStoreException(Code)(Java Doc) public Editable getLiveVersion() throws DataAccessException(Code)(Java Doc) public User getLockOwner() throws DataAccessException(Code)(Java Doc) public int getLockUserId() throws DataAccessException(Code)(Java Doc) public static ColumnRef getObjectColumnRef(String sTable, String sColumn) throws DataStoreException(Code)(Java Doc) public List getPendingVersions() throws DataAccessException(Code)(Java Doc) public Status getStatus() throws DataAccessException(Code)(Java Doc) public String getVersionComment() throws DataAccessException(Code)(Java Doc) public java.util.Date getVersionDate() throws DataAccessException(Code)(Java Doc) public int getVersionNumber() throws DataAccessException(Code)(Java Doc) protected boolean isKeySupported()(Code)(Java Doc) public boolean isLiveVersion() throws DataAccessException(Code)(Java Doc) protected boolean isLockThread()(Code)(Java Doc) public boolean isLocked() throws DataAccessException(Code)(Java Doc) public boolean isPendingVersion() throws DataAccessException(Code)(Java Doc) public synchronized void lock(User usr) throws EditException(Code)(Java Doc) public void populate(Element xmlElement, State state) throws PopulateException(Code)(Java Doc) protected void populateFromResultSetRow(ResultSet rs, SelectStatement select) throws PopulateException(Code)(Java Doc) public Element publish(Element topEl, HarmoniseOutput xmlDoc, State state) throws PublishException(Code)(Java Doc) public Editable reactivate() throws EditException(Code)(Java Doc) public void releaseEditWriteLock()(Code)(Java Doc) public void removeEditEventListener(EditEventListener listener)(Code)(Java Doc) public Editable save() throws EditException(Code)(Java Doc) abstract protected void saveCoreData() throws EditException(Code)(Java Doc) abstract protected void saveNonCoreData() throws EditException(Code)(Java Doc) public void setDisplayName(String sDisplayName)(Code)(Java Doc) public void setVersionComment(String sVersionComment)(Code)(Java Doc) public void unlock(User usr) throws EditException(Code)(Java Doc) protected void update() throws DataStoreException, EditException(Code)(Java Doc) protected void updateDBStatus() throws PopulateException(Code)(Java Doc) public void workflowObjectArchived(EditEvent event)(Code)(Java Doc) public void workflowObjectLocked(EditEvent event)(Code)(Java Doc) public void workflowObjectReactivated(EditEvent event)(Code)(Java Doc) public void workflowObjectSaved(EditEvent event)(Code)(Java Doc) public void workflowObjectStatusChanged(EditEvent event)(Code)(Java Doc) public void workflowObjectUnlocked(EditEvent event)(Code)(Java Doc)
|
Methods inherited from org.openharmonise.rm.resources.AbstractObject | public void addCacheListener(CacheListener listener)(Code)(Java Doc) protected void addColumnsToPopulateQuery(SelectStatement select, boolean bIsHist) throws DataStoreException(Code)(Java Doc) public void clear()(Code)(Java Doc) public Object clone()(Code)(Java Doc) public int compareTo(Object obj)(Code)(Java Doc) public boolean equals(Object obj)(Code)(Java Doc) public boolean exists()(Code)(Java Doc) protected void fullPopulate() throws PopulateException(Code)(Java Doc) public List getCacheListeners()(Code)(Java Doc) public static ColumnRef getColumnRef(AbstractObject obj, String sColumn) throws DataStoreException(Code)(Java Doc) public static ColumnRef getColumnRef(String sClassname, String sColumn) throws DataStoreException(Code)(Java Doc) public static ColumnRef getColumnRef(String sClassname, String sColumn, boolean bHist) throws DataStoreException(Code)(Java Doc) protected static Collection getCoreColumnRefs(String sClassname) throws DataStoreException(Code)(Java Doc) abstract public String getDBTableName()(Code)(Java Doc) public AbstractDataStoreInterface getDataStoreInterface()(Code)(Java Doc) protected String getHistoricalDBTableName()(Code)(Java Doc) public int getId()(Code)(Java Doc) public ColumnRef getInstanceColumnRef(String sColumn, boolean bIsHist) throws DataStoreException(Code)(Java Doc) public int getKey() throws DataAccessException(Code)(Java Doc) public String getName() throws DataAccessException(Code)(Java Doc) protected static ColumnRef getObjectColumnRef(String sDBTable, String sColumn) throws DataStoreException(Code)(Java Doc) public String getSummary() throws DataAccessException(Code)(Java Doc) public static String getTableName(String sClassname, boolean bHist) throws DataStoreException(Code)(Java Doc) protected String getTableName(boolean bIsHist)(Code)(Java Doc) public String getType() throws DataAccessException(Code)(Java Doc) public int hashCode()(Code)(Java Doc) public boolean isChanged() throws DataAccessException(Code)(Java Doc) public boolean isHistorical()(Code)(Java Doc) abstract protected boolean isKeySupported()(Code)(Java Doc) protected boolean isPopulated()(Code)(Java Doc) protected void markAsNew() throws PopulateException(Code)(Java Doc) public void notifyCacheListeners()(Code)(Java Doc) public void populate(Element xmlElement, State state) throws PopulateException(Code)(Java Doc) protected synchronized void populateFromDatabase() throws PopulateException(Code)(Java Doc) protected void populateFromResultSetRow(ResultSet rs, SelectStatement select) throws PopulateException(Code)(Java Doc) public Element publish(Template template, HarmoniseOutput xmlDoc, State state) throws PublishException(Code)(Java Doc) public Element publish(Element topEl, HarmoniseOutput xmlDoc, State state) throws PublishException(Code)(Java Doc) public void removeCacheListener(CacheListener listener)(Code)(Java Doc) public void setDataStoreInterface(AbstractDataStoreInterface dsi) throws PopulateException(Code)(Java Doc) public void setHistorical(boolean bIsHistorical)(Code)(Java Doc) public void setId(int nId)(Code)(Java Doc) public void setIsChanged(boolean bIsChanged)(Code)(Java Doc) public void setKey(int nKey)(Code)(Java Doc) public void setName(String sName) throws InvalidNameException(Code)(Java Doc) public void setSummary(String sSummary)(Code)(Java Doc) public void setType(String type)(Code)(Java Doc)
|
|
|