net.sourceforge.blogentis.om
Class BaseConfigurable

java.lang.Object
  extended byorg.apache.torque.om.BaseObject
      extended bynet.sourceforge.blogentis.om.BaseConfigurable
All Implemented Interfaces:
org.apache.torque.om.Persistent, java.io.Serializable
Direct Known Subclasses:
BasePost, BaseSection, BaseStoredBlog

public abstract class BaseConfigurable
extends org.apache.torque.om.BaseObject

Object in the database that have a persistent Configuration extend this class.

Author:
abas
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.torque.om.BaseObject
NEW_ID
 
Constructor Summary
BaseConfigurable()
           
 
Method Summary
abstract  BaseConfigurablePeer getConfigurablePeer()
           
abstract  byte[] getObjectData()
          Get the serialized form of the configuration.
abstract  void save(java.sql.Connection con)
          Save this object to the given Connection.
abstract  void setObjectData(byte[] v)
           
 
Methods inherited from class org.apache.torque.om.BaseObject
equals, equals, getByName, getByPeerName, getByPosition, getLog, getPrimaryKey, hashCode, isModified, isNew, log, resetModified, save, save, setModified, setNew, setPrimaryKey, setPrimaryKey, setPrimaryKey
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseConfigurable

public BaseConfigurable()
Method Detail

getObjectData

public abstract byte[] getObjectData()
Get the serialized form of the configuration.

Returns:
an array of bytes that contain the serialized view of this object Configuration.

setObjectData

public abstract void setObjectData(byte[] v)
Parameters:
v - the serialized form of the Configuration

save

public abstract void save(java.sql.Connection con)
                   throws org.apache.torque.TorqueException
Save this object to the given Connection.

Parameters:
con - a database connection
Throws:
org.apache.torque.TorqueException - when a database error occurs.

getConfigurablePeer

public abstract BaseConfigurablePeer getConfigurablePeer()


Copyright © 2003-2004 SourceForge.net. All Rights Reserved.