Java Doc for AbstractChildObject.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

All known Subclasses:   org.openharmonise.rm.resources.publishing.WebPage,  org.openharmonise.rm.resources.content.Asset,  org.openharmonise.rm.resources.metadata.properties.Property,  org.openharmonise.rm.resources.AbstractParentObject,  org.openharmonise.rm.resources.users.User,  org.openharmonise.rm.resources.metadata.values.Value,  org.openharmonise.rm.resources.content.TextResource,
AbstractChildObject
abstract public class AbstractChildObject extends AbstractProfiledObject implements Editable,Publishable,DataStoreObject,Cloneable(Code)
Abstract class that provides the necessary functionality for objects which can be children in a parent-child relationship within Harmonise.
author:
   Michael Bell
version:
   $Revision: 1.7.2.1 $


Field Summary
final public static  StringARCHIVE_TIMESTAMP_FORMAT
    
final public static  StringATTRIB_DEFAULT
    
final public static  StringATTRIB_SHOWALL
    
final protected static  StringCLMN_CHILD_KEY
    
final protected static  StringCLMN_DATE
    
final protected static  StringCLMN_DEFAULT_LINK
    
final protected static  StringCLMN_PARENT_KEY
    
final protected static  StringCLMN_PATH
    
final protected static  StringIS_DEFAULT_GROUP
    
final public static  StringJOIN_TO
     String used for composing relationship table names.
final public static  StringTAG_GROUP
    
final public static  StringTAG_PATH
    
protected  booleanm_bIsGroupsPopulated
    
protected static  Mapm_child_parent_mappings
     Map of child class to parent classes.
protected  intm_defaultGroup
    
protected  Mapm_groups
    
protected  Listm_groups_to_save
    
protected  Stringm_sGroupClass
    
protected  Stringm_sPath
     The path of this object.
final public static  Stringseparator
    

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

Method Summary
protected  voidaddColumnsToPopulateQuery(SelectStatement select, boolean bIsHist)
    
protected  voidaddDataToSave(InsertStatement insert)
    
protected  voidaddParent(AbstractParentObject group)
    
public  Editablearchive()
    
public  EditablechangeStatus(Status status)
    
public  voidclear()
    
public  Objectclone()
    
protected  AbstractParentObjectcreateGroupFromPath(String sFullPath)
     Creates an AbstractParentObject from the specified path.
protected  voiddelete(boolean bDeleteHist)
    
protected  voidfullPopulate()
    
public  ListgetAllFullPaths()
     Returns a list of all possible full paths for this child.
public  ListgetAllPaths()
     Returns a list of of all the paths to this child object.
public static  ColumnRefgetColumnRef(String sClassname, String sColumn, boolean bHist)
    
public  StringgetFullPath()
     Returns the complete path string, which includes the name of this object, which specifies the default location in the hierarchy of parent-child relationships of this object.
public  ColumnRefgetInstanceColumnRef(String sColumn, boolean bIsHist)
    
public static  ColumnRefgetObjectColumnRef(String sTable, String sColumn)
    
protected  ColumnRefgetParentChildJoinColumnRef(String sCol)
     Returns the column reference for a column in the parent-child relationship table.
abstract public  StringgetParentObjectClassName()
     Returns the name of the class that may act as parent to this object.
public static  StringgetParentObjectClassName(String sChildClassname)
     Returns the class name of parent object for the given child object of type sChildClassname.
public  ListgetParents()
     Returns a list of all this child's parent objects.
public  StringgetPath()
     Returns the path string which specifies the default location in the hierarchy of parent-child relationships of this object.
public  AbstractParentObjectgetRealParent()
     Returns the 'real' parent of this child object.
public  booleanisChanged()
    
public  booleanisRealParent(AbstractParentObject obj)
     Returns true if the specified AbstractParentObject is the 'real' parent of this child object.
public  voidmarkAsNew()
    
public  voidpopulate(Element xmlElement, State state)
    
protected  voidpopulateFromResultSetRow(ResultSet rs, SelectStatement select)
    
protected  voidpopulateGroupsFromDatabase()
     Populates this object's store of parents from database.
public  org.w3c.dom.Elementpublish(Element topEl, HarmoniseOutput xmlDoc, State state)
    
public  Editablereactivate()
    
protected  voidremoveParent(AbstractParentObject group)
     Removes the specified parent object from this child's list of parents.
protected  voidsaveCoreData()
    
protected  voidsetRealParent(AbstractParentObject group)
     Adds and sets the given parent object as the 'real'/default parent of this child object.
protected  voidupdate()
    
protected  voidupdateParents()
     Updates all parents if this child object has added itself to any parent objects, only necessary if populate has been called.

Field Detail
ARCHIVE_TIMESTAMP_FORMAT
final public static String ARCHIVE_TIMESTAMP_FORMAT(Code)
Archive timestamp format, used in composing archived child names in the case of a duplicate name



ATTRIB_DEFAULT
final public static String ATTRIB_DEFAULT(Code)
Name of XML attribute which specifies whether a parent object is the default parent



ATTRIB_SHOWALL
final public static String ATTRIB_SHOWALL(Code)
Name of XML attribute which determines whether all parent objects should be published



CLMN_CHILD_KEY
final protected static String CLMN_CHILD_KEY(Code)
Relationship table child key column name



CLMN_DATE
final protected static String CLMN_DATE(Code)
Relationship table date column name



CLMN_DEFAULT_LINK
final protected static String CLMN_DEFAULT_LINK(Code)
Relationship table default link column name



CLMN_PARENT_KEY
final protected static String CLMN_PARENT_KEY(Code)
Relationship table parent key column name



CLMN_PATH
final protected static String CLMN_PATH(Code)
Relationship table path column name



IS_DEFAULT_GROUP
final protected static String IS_DEFAULT_GROUP(Code)
Constant value for default attribute when insantiating object with XML, specifically this value indicates that the parent object should be added as the default parent



JOIN_TO
final public static String JOIN_TO(Code)
String used for composing relationship table names. Note: the pattern for relationship table names is 'parentObj.getTableName() + JOIN_TO + childObj.getTableName()'



TAG_GROUP
final public static String TAG_GROUP(Code)
Group tag name



TAG_PATH
final public static String TAG_PATH(Code)
Path tag name



m_bIsGroupsPopulated
protected boolean m_bIsGroupsPopulated(Code)
The boolean flag which indicates whether this object has populated it's Map of parents



m_child_parent_mappings
protected static Map m_child_parent_mappings(Code)
Map of child class to parent classes. Used to cache info.



m_defaultGroup
protected int m_defaultGroup(Code)
The identifier of the default parent



m_groups
protected Map m_groups(Code)
Map of parents of this child object



m_groups_to_save
protected List m_groups_to_save(Code)
The list of parent objects to save on the next save() operation



m_sGroupClass
protected String m_sGroupClass(Code)
The name of the class that may act as parent to this object



m_sPath
protected String m_sPath(Code)
The path of this object. Note: this is only used if the object is historical, otherwise the path is built on the fly from it's current relationships



separator
final public static String separator(Code)
The Harmonise path-separator character




Constructor Detail
AbstractChildObject
public AbstractChildObject()(Code)
Constructs a new or anonymous instance without an interface to the database.



AbstractChildObject
public AbstractChildObject(AbstractDataStoreInterface dbintrf)(Code)
Constructor for a new or anonymous instance.
Parameters:
  dbintrf - the data store interface



AbstractChildObject
public AbstractChildObject(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 object



AbstractChildObject
public AbstractChildObject(AbstractDataStoreInterface dbintrf, int nId, int nKey, boolean bIsHist)(Code)
Standard constructor for an existing resource which may be historical.
Parameters:
  dbintrf - the interface to the database
Parameters:
  nId - the id of the object
Parameters:
  nKey - the unique key of the resource
Parameters:
  bIsHist - true if the object is historical




Method Detail
addColumnsToPopulateQuery
protected void addColumnsToPopulateQuery(SelectStatement select, boolean bIsHist) throws DataStoreException(Code)



addDataToSave
protected void addDataToSave(InsertStatement insert) throws DataStoreException(Code)



addParent
protected void addParent(AbstractParentObject group) throws PopulateException(Code)
Adds the specified parent object to this child's list of parents
Parameters:
  group - the new parent object
throws:
  PopulateException - if there is an erorr populating the list ofparent objects



archive
public Editable archive() throws EditException(Code)



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



clear
public void clear()(Code)



clone
public Object clone()(Code)



createGroupFromPath
protected AbstractParentObject createGroupFromPath(String sFullPath) throws EditException(Code)
Creates an AbstractParentObject from the specified path.
Parameters:
  sFullPath - the path describing the location of the parent object the parent object
throws:
  EditException - if an error occurs creating the object



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



fullPopulate
protected void fullPopulate() throws PopulateException(Code)



getAllFullPaths
public List getAllFullPaths() throws DataAccessException(Code)
Returns a list of all possible full paths for this child. a list of all possible full paths for this child
throws:
  DataAccessException - if an error occurs building anyof the paths



getAllPaths
public List getAllPaths() throws DataAccessException(Code)
Returns a list of of all the paths to this child object. a list of of all the paths to this child object
throws:
  DataAccessException - if an error occurs building anyof the paths



getColumnRef
public static ColumnRef getColumnRef(String sClassname, String sColumn, boolean bHist) throws DataStoreException(Code)



getFullPath
public String getFullPath() throws DataAccessException(Code)
Returns the complete path string, which includes the name of this object, which specifies the default location in the hierarchy of parent-child relationships of this object. the complete path string of this object
throws:
  DataAccessException - if an error occurs getting the main pathinformation



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



getObjectColumnRef
public static ColumnRef getObjectColumnRef(String sTable, String sColumn) throws DataStoreException(Code)



getParentChildJoinColumnRef
protected ColumnRef getParentChildJoinColumnRef(String sCol) throws DataStoreException(Code)
Returns the column reference for a column in the parent-child relationship table.
Parameters:
  sCol - the column, tag or attribute name the corresponding column reference
throws:
  DataStoreException - if an error occurs getting the column reference
throws:
  InvalidColumnReferenceException - if the given column name isinvalid



getParentObjectClassName
abstract public String getParentObjectClassName()(Code)
Returns the name of the class that may act as parent to this object. the name of the class that may act as parent to this object



getParentObjectClassName
public static String getParentObjectClassName(String sChildClassname) throws DataAccessException(Code)
Returns the class name of parent object for the given child object of type sChildClassname.
Parameters:
  sChildClassname - the child object class name the class name of parent object
throws:
  DataAccessException - if an error occurs



getParents
public List getParents() throws DataAccessException(Code)
Returns a list of all this child's parent objects. a list of all this child's parent objects.
throws:
  DataAccessException - if an error occurs populating theparent objects



getPath
public String getPath() throws DataAccessException(Code)
Returns the path string which specifies the default location in the hierarchy of parent-child relationships of this object. the path string which specifies the default location
throws:
  DataAccessException - if an error occurs accessing the realparent



getRealParent
public AbstractParentObject getRealParent() throws DataAccessException(Code)
Returns the 'real' parent of this child object.

Note: Real can be understood to mean the default or main parent of this child.

the 'real' parent of this child object.
throws:
  DataAccessException - if an error occurs populating this objector accessing it's live version



isChanged
public boolean isChanged() throws DataAccessException(Code)



isRealParent
public boolean isRealParent(AbstractParentObject obj) throws DataAccessException(Code)
Returns true if the specified AbstractParentObject is the 'real' parent of this child object.
Parameters:
  obj - the parent object true if the specified AbstractParentObject is the 'real' parent of this child object.
throws:
  DataAccessException - if an error occurs accessing the real parent



markAsNew
public void markAsNew() throws PopulateException(Code)



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



populateFromResultSetRow
protected void populateFromResultSetRow(ResultSet rs, SelectStatement select) throws PopulateException(Code)



populateGroupsFromDatabase
protected void populateGroupsFromDatabase() throws PopulateException(Code)
Populates this object's store of parents from database.
throws:
  PopulateException - if an error occurs populating this object



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



reactivate
public Editable reactivate() throws EditException(Code)



removeParent
protected void removeParent(AbstractParentObject group) throws PopulateException(Code)
Removes the specified parent object from this child's list of parents.
Parameters:
  group - the parent object to remove
throws:
  PopulateException - if there is an erorr populating the list ofparent objects



saveCoreData
protected void saveCoreData() throws EditException(Code)



setRealParent
protected void setRealParent(AbstractParentObject group) throws PopulateException(Code)
Adds and sets the given parent object as the 'real'/default parent of this child object.
Parameters:
  group - the default parent object
throws:
  PopulateException - if there is an error adding this parent object



update
protected void update() throws EditException, DataStoreException(Code)



updateParents
protected void updateParents() throws EditException(Code)
Updates all parents if this child object has added itself to any parent objects, only necessary if populate has been called.
throws:
  EditException - if an error occurs adding this child to a parent



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.