Java Doc for AbstractParentObject.java in  » Content-Management-System » harmonise » org » openharmonise » rm » resources » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Content Management System » harmonise » org.openharmonise.rm.resources 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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 $


Field Summary
final public static  intALL_NODES
    
final public static  intBRANCH_NODES
    
final public static  intLEAF_NODES
    
final public static  StringTAG_ATTACH
    
final public static  StringTAG_CHILDREN
    
final public static  StringTAG_CONTENTS
    
final public  StringTAG_DETACH
    
final public static  StringTAG_SUBGROUPS
    
protected  Listm_add_children
    
protected  Listm_add_real_children
    
protected  Listm_allArchivedChildren
    
protected  Listm_archivedChildren
    
protected  booleanm_bIsAllArchivedChildrenPopulated
    
protected  booleanm_bIsArchivedChildrenPopulated
    
protected  booleanm_bIsChildrenPopulated
    
protected  booleanm_bIsContentsChanged
    
protected  Listm_children
    
protected  intm_nMaxIndex
    
protected  Listm_real_children
    
protected  Listm_remove_children
    

Constructor Summary
public  AbstractParentObject()
     Constructs a new or anonymous instance without an interface to the database.
public  AbstractParentObject(AbstractDataStoreInterface dbintrf)
     Constructor for a new or anonymous instance.
public  AbstractParentObject(AbstractDataStoreInterface dbintrf, int nId, int nKey, boolean bIsHist)
     Constructs an existing resource which may be historical.
public  AbstractParentObject(AbstractDataStoreInterface dbintrf, int nId)
     Standard constructor for an existing resource, registering an AbstractDataStoreInterface to use with all database communications.

Method Summary
public  voidaddChild(AbstractChildObject obj)
     Adds the specified object as a child to this parent.
public  voidaddChild(int nIndex, AbstractChildObject obj)
     Inserts the specified child object at the specified position in the list of children.
public  voidaddChild(AbstractChildObject obj, boolean bIsSoftLink)
     Adds the specified object as a child to this parent.
public  voidaddChild(int nIndex, AbstractChildObject obj, boolean bIsSoftLink)
     Inserts the specified child object at the specified position in the list of children.
protected  voidaddChild(Element el)
     Adds the object which the given XML element represents as a child to this parent object.
public  EditablechangeStatus(Status status)
    
public  voidclear()
    
public  voidclearChildren()
     Clears all stored lists of children.
public  Objectclone()
    
protected  voiddelete(boolean bDeleteHist)
    
protected  voidfullPopulate()
    
public  ListgetAllArchivedChildrenByClass(Class clss)
     Returns a list of archived descendants matching the specified Class.
public  ListgetAllArchivedChildrenByType(int nType)
     Returns a list of all archived descendants, i.e.
public  AbstractChildObjectgetArchivedChildByName(String sName)
     Returns the archived child with the specified name, otherwise returns a null.
public  ListgetArchivedChildren()
    
public  ListgetArchivedChildrenByClass(Class clss)
     Returns a list of archived children which match the specified Class.
public  ListgetArchivedChildrenByType(int nType)
     Returns a list of archived children matching the type specified, i.e.
public  AbstractChildObjectgetChild(int nIndex)
     Returns the child of this parent object at the specified index.
public  AbstractChildObjectgetChildByName(String sName)
     Returns the child with the specified name, otherwise returns a null.
abstract public  ListgetChildClassNames()
     Returns a list of class names of classes that can be children of this object.
public  ListgetChildren()
     Returns a list of all children of this object.
public  ListgetChildrenByClass(Class clss)
     Returns all children that match the class specified.
public  ListgetChildrenByType(int nType)
     Returns a list of all children of the given type, i.e.
protected  ColumnRefgetGroupChildJoinColumnRef(String sChildTableName, String sCol)
     Returns the column reference for a column in the parent-child relationship table.
public  ColumnRefgetInstanceColumnRef(String sColumn, boolean bIsHist)
    
public  intgetMaxIndex()
     Returns the current maximum child index position.
public  StringgetPath()
    
public static  ListgetTopLevelGroups(AbstractDataStoreInterface dbinterf, AbstractParentObject grpObj)
     Returns a list of top level parent objects of a specified object type.
public  intindexOf(AbstractChildObject child)
     Returns the index of the given child object in the list of children.
public  booleanisChild(AbstractChildObject child)
     Returns true if the given object is a child of this object.
public  booleanisTopLevel()
     Returns true if this parent is a top level parent in the hierarchy of relationships, i.e.
public  booleanisValidChild(AbstractChildObject childObj)
     Returns true if the given object is of a valid type to become a child of this object.
public  voidmarkAsNew()
    
public  voidpopulate(Element xmlElement, State state)
    
public  org.w3c.dom.Elementpublish(Element topEl, HarmoniseOutput xmlDoc, State state)
    
public  voidremoveChild(AbstractChildObject obj)
     Removes the scpecified child from this object's list of children.
protected  voidremoveChild(Element el)
     Removes the object which is represented by the given XML element from the children of this object.
protected  voidsaveNonCoreData()
    
public  voidsetChildren(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  voidworkflowObjectArchived(EditEvent event)
    
public  voidworkflowObjectLocked(EditEvent event)
    
public  voidworkflowObjectReactivated(EditEvent event)
    
public  voidworkflowObjectSaved(EditEvent event)
    
public  voidworkflowObjectStatusChanged(EditEvent event)
    
public  voidworkflowObjectUnlocked(EditEvent event)
    

Field Detail
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




Constructor Detail
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




Method Detail
addChild
public void addChild(AbstractChildObject obj) throws InvalidChildException, PopulateException(Code)
Adds the specified object as a child to this parent.
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(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



addChild
protected void addChild(Element el) throws InvalidChildException, PopulateException(Code)
Adds the object which the given XML element represents as a child to this parent object.
Parameters:
  el - the XML element representing the new child
throws:
  InvalidChildException - if the new child is invalid for this parent
throws:
  PopulateException - if there is an error creating an object from the XML element



changeStatus
public Editable changeStatus(Status status) throws EditException(Code)



clear
public void clear()(Code)



clearChildren
public void clearChildren()(Code)
Clears all stored lists of children.



clone
public Object clone()(Code)



delete
protected void delete(boolean bDeleteHist) throws DataStoreException, DataAccessException, EditException, PopulateException(Code)



fullPopulate
protected void fullPopulate() throws PopulateException(Code)



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



getChildByName
public AbstractChildObject getChildByName(String sName) throws DataAccessException(Code)
Returns the child with the specified name, otherwise returns a null.
Parameters:
  string - the name of the desired child 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



getInstanceColumnRef
public ColumnRef getInstanceColumnRef(String sColumn, boolean bIsHist) throws DataStoreException(Code)



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



getPath
public String getPath() throws DataAccessException(Code)



getTopLevelGroups
public static List getTopLevelGroups(AbstractDataStoreInterface dbinterf, AbstractParentObject grpObj) throws DataAccessException(Code)
Returns a list of top level parent objects of a specified object type.
Parameters:
  dbinterf - the data store interface
Parameters:
  grpObj - an instance of the type of object to be returned a list of top level parent objects
throws:
  DataAccessException - if there is any errors building the list of objects



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.



markAsNew
public void markAsNew() throws PopulateException(Code)



populate
public void populate(Element xmlElement, State state) throws PopulateException(Code)



publish
public org.w3c.dom.Element publish(Element topEl, HarmoniseOutput xmlDoc, State state) throws PublishException(Code)



removeChild
public void removeChild(AbstractChildObject obj) throws PopulateException(Code)
Removes the scpecified child from this object's list of children.
Parameters:
  obj - the child to remove
throws:
  PopulateException - if an error occurs populating the children 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



saveNonCoreData
protected void saveNonCoreData() throws EditException(Code)



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)



workflowObjectSaved
public void workflowObjectSaved(EditEvent event)(Code)



workflowObjectStatusChanged
public void workflowObjectStatusChanged(EditEvent event)(Code)



workflowObjectUnlocked
public void workflowObjectUnlocked(EditEvent event)(Code)



Fields inherited from org.openharmonise.rm.resources.AbstractChildObject
final public static String ARCHIVE_TIMESTAMP_FORMAT(Code)(Java Doc)
final public static String ATTRIB_DEFAULT(Code)(Java Doc)
final public static String ATTRIB_SHOWALL(Code)(Java Doc)
final protected static String CLMN_CHILD_KEY(Code)(Java Doc)
final protected static String CLMN_DATE(Code)(Java Doc)
final protected static String CLMN_DEFAULT_LINK(Code)(Java Doc)
final protected static String CLMN_PARENT_KEY(Code)(Java Doc)
final protected static String CLMN_PATH(Code)(Java Doc)
final protected static String IS_DEFAULT_GROUP(Code)(Java Doc)
final public static String JOIN_TO(Code)(Java Doc)
final public static String TAG_GROUP(Code)(Java Doc)
final public static String TAG_PATH(Code)(Java Doc)
protected boolean m_bIsGroupsPopulated(Code)(Java Doc)
protected static Map m_child_parent_mappings(Code)(Java Doc)
protected int m_defaultGroup(Code)(Java Doc)
protected Map m_groups(Code)(Java Doc)
protected List m_groups_to_save(Code)(Java Doc)
protected String m_sGroupClass(Code)(Java Doc)
protected String m_sPath(Code)(Java Doc)
final public static String separator(Code)(Java Doc)

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)

Fields inherited from org.openharmonise.rm.resources.AbstractProfiledObject
final public static String DEFAULT_PROFILE_NAME(Code)(Java Doc)
protected Map m_profiles(Code)(Java Doc)
protected List m_profiles2Remove(Code)(Java Doc)
protected String m_sDefaultKey(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)

Fields inherited from org.openharmonise.rm.resources.AbstractEditableObject
final public static String ATTRIB_IS_LOCKED(Code)(Java Doc)
final protected static String CLMN_DISPLAY_NAME(Code)(Java Doc)
final public static String TAG_DISPLAY_NAME(Code)(Java Doc)
final public static String TAG_HISTORICAL_VERSION(Code)(Java Doc)
final public static String TAG_HISTORY_DATE(Code)(Java Doc)
final public static String TAG_LIVE_VERSION(Code)(Java Doc)
final public static String TAG_LOCKED(Code)(Java Doc)
final public static String TAG_PENDING_VERSION(Code)(Java Doc)
final public static String TAG_STATUS(Code)(Java Doc)
final public static String TAG_VERSION(Code)(Java Doc)
final public static String TAG_VERSION_COMMENT(Code)(Java Doc)
final public static String TAG_VERSION_DATE(Code)(Java Doc)
protected java.util.Date m_dtHistDate(Code)(Java Doc)
protected java.util.Date m_dtVersionDate(Code)(Java Doc)
protected int m_nLiveId(Code)(Java Doc)
protected int m_nLockUserId(Code)(Java Doc)
protected int m_nVersionNumber(Code)(Java Doc)
protected CachePointer m_pending(Code)(Java Doc)
protected String m_sDisplayName(Code)(Java Doc)
protected String m_sVersionComment(Code)(Java Doc)
protected Status m_status(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)

Fields inherited from org.openharmonise.rm.resources.AbstractObject
final public static String ATTRIB_HISTORICAL(Code)(Java Doc)
final public static String ATTRIB_ID(Code)(Java Doc)
final public static String ATTRIB_KEY(Code)(Java Doc)
final public static String ATTRIB_NAME(Code)(Java Doc)
final public static String ATTRIB_OBJECT_TYPE(Code)(Java Doc)
final public static String ATTRIB_TYPE(Code)(Java Doc)
final protected static String CLMN_ID(Code)(Java Doc)
final protected static String CLMN_NAME(Code)(Java Doc)
final protected static String CLMN_SUMMARY(Code)(Java Doc)
final public static String EXT_HIST(Code)(Java Doc)
final public static int NOTDBSAVED_ID(Code)(Java Doc)
final public static int NOTDBSAVED_KEY(Code)(Java Doc)
final public static String TAG_HARMONISE_OBJECT(Code)(Java Doc)
final public static String TAG_LINK(Code)(Java Doc)
final public static String TAG_LINK_IMAGE(Code)(Java Doc)
final public static String TAG_LINK_TEXT(Code)(Java Doc)
final public static String TAG_NAME(Code)(Java Doc)
final public static String TAG_SUMMARY(Code)(Java Doc)
protected boolean m_bIsChanged(Code)(Java Doc)
protected boolean m_bIsPopulated(Code)(Java Doc)
protected AbstractDataStoreInterface m_dsi(Code)(Java Doc)
protected int m_nId(Code)(Java Doc)
protected int m_nObjectKey(Code)(Java Doc)
protected String m_sName(Code)(Java Doc)
protected String m_sSummary(Code)(Java Doc)
protected String m_sTable(Code)(Java Doc)
protected String m_sType(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)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.