|
|||||||||||
| 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.BaseMediatype
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 Mediatype
| Field Summary | |
protected java.util.List |
collPortletMediatypes
Collection to store aggregation of collPortletMediatypes |
| Fields inherited from class org.apache.torque.om.BaseObject |
NEW_ID |
| Constructor Summary | |
BaseMediatype()
|
|
| Method Summary | |
void |
addPortletMediatype(org.apache.jetspeed.om.dbregistry.PortletMediatype l)
Method called to associate a PortletMediatype object to this object through the PortletMediatype foreign key attribute |
org.apache.jetspeed.om.dbregistry.Mediatype |
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. |
java.lang.String |
getDescription()
Get the Description |
static java.util.List |
getFieldNames()
Generate a list of field names. |
boolean |
getHidden()
Get the Hidden |
long |
getId()
Get the Id |
java.lang.String |
getImage()
Get the Image |
java.lang.String |
getMimetype()
Get the Mimetype |
java.lang.String |
getName()
Get the Name |
org.apache.jetspeed.om.dbregistry.MediatypePeer |
getPeer()
returns a peer instance associated with this om. |
java.util.List |
getPortletMediatypes()
If this collection has already been initialized, returns the collection. |
java.util.List |
getPortletMediatypes(java.sql.Connection con)
If this collection has already been initialized, returns the collection. |
java.util.List |
getPortletMediatypes(org.apache.torque.util.Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
java.util.List |
getPortletMediatypes(org.apache.torque.util.Criteria criteria,
java.sql.Connection con)
If this collection has already been initialized with an identical criteria, it returns the collection. |
protected java.util.List |
getPortletMediatypesJoinMediatype(org.apache.torque.util.Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
protected java.util.List |
getPortletMediatypesJoinPortletDbEntry(org.apache.torque.util.Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
org.apache.torque.om.ObjectKey |
getPrimaryKey()
returns an id that differentiates this object from others of its class. |
java.lang.String |
getRole()
Get the Role |
java.lang.String |
getTitle()
Get the Title |
protected void |
initPortletMediatypes()
Temporary storage of collPortletMediatypes to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested. |
protected boolean |
isCacheOnSave()
Specify whether to cache the object after saving to the db. |
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 |
setDescription(java.lang.String v)
Set the value of Description |
void |
setHidden(boolean v)
Set the value of Hidden |
void |
setId(long v)
Set the value of Id |
void |
setImage(java.lang.String v)
Set the value of Image |
void |
setMimetype(java.lang.String v)
Set the value of Mimetype |
void |
setName(java.lang.String v)
Set the value of Name |
void |
setPrimaryKey(org.apache.torque.om.ObjectKey id)
Set the PrimaryKey using ObjectKey. |
void |
setPrimaryKey(java.lang.String key)
Set the PrimaryKey using a String. |
void |
setRole(java.lang.String v)
Set the value of Role |
void |
setTitle(java.lang.String v)
Set the value of Title |
| Methods inherited from class org.apache.torque.om.BaseObject |
equals, equals, getLog, hashCode, isModified, isNew, log, resetModified, setModified, setNew, setPrimaryKey |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected java.util.List collPortletMediatypes
| Constructor Detail |
public BaseMediatype()
| Method Detail |
public long getId()
public void setId(long v)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueExceptionpublic java.lang.String getName()
public void setName(java.lang.String v)
public boolean getHidden()
public void setHidden(boolean v)
public java.lang.String getMimetype()
public void setMimetype(java.lang.String v)
public java.lang.String getRole()
public void setRole(java.lang.String v)
public java.lang.String getTitle()
public void setTitle(java.lang.String v)
public java.lang.String getDescription()
public void setDescription(java.lang.String v)
public java.lang.String getImage()
public void setImage(java.lang.String v)
protected void initPortletMediatypes()
public void addPortletMediatype(org.apache.jetspeed.om.dbregistry.PortletMediatype l)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getPortletMediatypes()
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getPortletMediatypes(org.apache.torque.util.Criteria criteria)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getPortletMediatypes(java.sql.Connection con)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getPortletMediatypes(org.apache.torque.util.Criteria criteria,
java.sql.Connection con)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected java.util.List getPortletMediatypesJoinPortletDbEntry(org.apache.torque.util.Criteria criteria)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected java.util.List getPortletMediatypesJoinMediatype(org.apache.torque.util.Criteria criteria)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueExceptionpublic static java.util.List getFieldNames()
public java.lang.Object getByName(java.lang.String name)
getByName in class org.apache.torque.om.BaseObjectpublic java.lang.Object getByPeerName(java.lang.String name)
getByPeerName in class org.apache.torque.om.BaseObjectpublic 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.Persistentsave in class org.apache.torque.om.BaseObjectjava.lang.Exception
public void save(java.lang.String dbName)
throws org.apache.torque.TorqueException
save in interface org.apache.torque.om.Persistentsave in class org.apache.torque.om.BaseObjectorg.apache.torque.TorqueException
public void save(java.sql.Connection con)
throws org.apache.torque.TorqueException
save in interface org.apache.torque.om.Persistentsave in class org.apache.torque.om.BaseObjectorg.apache.torque.TorqueExceptionprotected boolean isCacheOnSave()
public void setPrimaryKey(org.apache.torque.om.ObjectKey id)
throws org.apache.torque.TorqueException
setPrimaryKey in interface org.apache.torque.om.PersistentsetPrimaryKey in class org.apache.torque.om.BaseObjectorg.apache.torque.TorqueException
public void setPrimaryKey(java.lang.String key)
throws org.apache.torque.TorqueException
setPrimaryKey in interface org.apache.torque.om.PersistentsetPrimaryKey in class org.apache.torque.om.BaseObjectorg.apache.torque.TorqueExceptionpublic org.apache.torque.om.ObjectKey getPrimaryKey()
getPrimaryKey in interface org.apache.torque.om.PersistentgetPrimaryKey in class org.apache.torque.om.BaseObject
public org.apache.jetspeed.om.dbregistry.Mediatype copy()
throws org.apache.torque.TorqueException
org.apache.torque.TorqueExceptionpublic org.apache.jetspeed.om.dbregistry.MediatypePeer getPeer()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||