|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.torque.om.BaseObject | +--org.apache.jetspeed.om.dbregistry.BasePortletMediatype
This class was autogenerated by Torque on: [Thu Apr 22 23:12:36 EDT 2004] You should not use this class directly. It should not even be extended all references should be to PortletMediatype
Field Summary |
Fields inherited from class org.apache.torque.om.BaseObject |
NEW_ID |
Constructor Summary | |
BasePortletMediatype()
|
Method Summary | |
org.apache.jetspeed.om.dbregistry.PortletMediatype |
copy()
Makes a copy of this object. |
java.lang.Object |
getByName(java.lang.String name)
Retrieves a field from the object by name passed in as a String. |
java.lang.Object |
getByPeerName(java.lang.String name)
Retrieves a field from the object by name passed in as a String. |
java.lang.Object |
getByPosition(int pos)
Retrieves a field from the object by Position as specified in the xml schema. |
static java.util.List |
getFieldNames()
Generate a list of field names. |
long |
getId()
Get the Id |
long |
getMediaId()
Get the MediaId |
org.apache.jetspeed.om.dbregistry.Mediatype |
getMediatype()
|
org.apache.jetspeed.om.dbregistry.PortletMediatypePeer |
getPeer()
returns a peer instance associated with this om. |
org.apache.jetspeed.om.dbregistry.PortletDbEntry |
getPortletDbEntry()
|
org.apache.torque.om.ObjectKey |
getPrimaryKey()
returns an id that differentiates this object from others of its class. |
void |
save()
Stores the object in the database. |
void |
save(java.sql.Connection con)
Stores the object in the database. |
void |
save(java.lang.String dbName)
Stores the object in the database. |
void |
setId(long v)
Set the value of Id |
void |
setMediaId(long v)
Set the value of MediaId |
void |
setMediatype(org.apache.jetspeed.om.dbregistry.Mediatype v)
Declares an association between this object and a Mediatype object |
void |
setMediatypeKey(org.apache.torque.om.ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey. |
void |
setPortletDbEntry(org.apache.jetspeed.om.dbregistry.PortletDbEntry v)
Declares an association between this object and a PortletDbEntry object |
void |
setPortletDbEntryKey(org.apache.torque.om.ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey. |
Methods inherited from class org.apache.torque.om.BaseObject |
equals, equals, getLog, hashCode, isModified, isNew, log, resetModified, setModified, setNew, setPrimaryKey, setPrimaryKey, setPrimaryKey |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BasePortletMediatype()
Method Detail |
public long getId()
public void setId(long v) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public long getMediaId()
public void setMediaId(long v) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void setPortletDbEntry(org.apache.jetspeed.om.dbregistry.PortletDbEntry v) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public org.apache.jetspeed.om.dbregistry.PortletDbEntry getPortletDbEntry() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void setPortletDbEntryKey(org.apache.torque.om.ObjectKey key) throws org.apache.torque.TorqueException
bar.setFooKey(foo.getPrimaryKey())
org.apache.torque.TorqueException
public void setMediatype(org.apache.jetspeed.om.dbregistry.Mediatype v) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public org.apache.jetspeed.om.dbregistry.Mediatype getMediatype() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void setMediatypeKey(org.apache.torque.om.ObjectKey key) throws org.apache.torque.TorqueException
bar.setFooKey(foo.getPrimaryKey())
org.apache.torque.TorqueException
public static java.util.List getFieldNames()
public java.lang.Object getByName(java.lang.String name)
getByName
in class org.apache.torque.om.BaseObject
public java.lang.Object getByPeerName(java.lang.String name)
getByPeerName
in class org.apache.torque.om.BaseObject
public java.lang.Object getByPosition(int pos)
getByPosition
in class org.apache.torque.om.BaseObject
public void save() throws java.lang.Exception
save
in interface org.apache.torque.om.Persistent
save
in class org.apache.torque.om.BaseObject
java.lang.Exception
public void save(java.lang.String dbName) throws org.apache.torque.TorqueException
save
in interface org.apache.torque.om.Persistent
save
in class org.apache.torque.om.BaseObject
org.apache.torque.TorqueException
public void save(java.sql.Connection con) throws org.apache.torque.TorqueException
save
in interface org.apache.torque.om.Persistent
save
in class org.apache.torque.om.BaseObject
org.apache.torque.TorqueException
public org.apache.torque.om.ObjectKey getPrimaryKey()
getPrimaryKey
in interface org.apache.torque.om.Persistent
getPrimaryKey
in class org.apache.torque.om.BaseObject
public org.apache.jetspeed.om.dbregistry.PortletMediatype copy() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public org.apache.jetspeed.om.dbregistry.PortletMediatypePeer getPeer()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |