|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.torque.om.BaseObject
org.tigris.scarab.om.BaseAttachment
You should not use this class directly. It should not even be extended all references should be to Attachment
| Field Summary | |
protected java.util.List |
collActivitys
Collection to store aggregation of collActivitys |
protected java.util.List |
collActivitySets
Collection to store aggregation of collActivitySets |
| Fields inherited from class org.apache.torque.om.BaseObject |
NEW_ID |
| Constructor Summary | |
BaseAttachment()
|
|
| Method Summary | |
void |
addActivity(Activity l)
Method called to associate a Activity object to this object through the Activity foreign key attribute |
void |
addActivitySet(ActivitySet l)
Method called to associate a ActivitySet object to this object through the ActivitySet foreign key attribute |
Attachment |
copy()
Makes a copy of this object. |
protected Attachment |
copyInto(Attachment copyObj)
|
java.util.List |
getActivitys()
If this collection has already been initialized, returns the collection. |
java.util.List |
getActivitys(java.sql.Connection con)
If this collection has already been initialized, returns the collection. |
java.util.List |
getActivitys(org.apache.torque.util.Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
java.util.List |
getActivitys(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. |
java.util.List |
getActivitySets()
If this collection has already been initialized, returns the collection. |
java.util.List |
getActivitySets(java.sql.Connection con)
If this collection has already been initialized, returns the collection. |
java.util.List |
getActivitySets(org.apache.torque.util.Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
java.util.List |
getActivitySets(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 |
getActivitySetsJoinActivitySetType(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 |
getActivitySetsJoinAttachment(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 |
getActivitySetsJoinScarabUserImpl(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 |
getActivitysJoinActivitySet(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 |
getActivitysJoinAttachment(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 |
getActivitysJoinAttribute(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 |
getActivitysJoinAttributeOptionRelatedByNewOptionId(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 |
getActivitysJoinAttributeOptionRelatedByOldOptionId(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 |
getActivitysJoinDepend(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 |
getActivitysJoinIssue(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 |
getActivitysJoinScarabUserImplRelatedByNewUserId(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 |
getActivitysJoinScarabUserImplRelatedByOldUserId(org.apache.torque.util.Criteria criteria)
If this collection has already been initialized with an identical criteria, it returns the collection. |
java.lang.Long |
getAttachmentId()
Get the AttachmentId |
AttachmentType |
getAttachmentType()
Returns the associated AttachmentType object. |
AttachmentType |
getAttachmentType(java.sql.Connection connection)
Return the associated AttachmentType object If it was not retrieved before, the object is retrieved from the database using the passed connection |
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.Integer |
getCreatedBy()
Get the CreatedBy |
java.util.Date |
getCreatedDate()
Get the CreatedDate |
java.lang.String |
getData()
Get the Data |
boolean |
getDeleted()
Get the Deleted |
static java.util.List |
getFieldNames()
Generate a list of field names. |
java.lang.String |
getFileName()
Get the FileName |
Issue |
getIssue()
Returns the associated Issue object. |
Issue |
getIssue(java.sql.Connection connection)
Return the associated Issue object If it was not retrieved before, the object is retrieved from the database using the passed connection |
java.lang.Long |
getIssueId()
Get the IssueId |
java.lang.String |
getMimeType()
Get the MimeType |
java.lang.Integer |
getModifiedBy()
Get the ModifiedBy |
java.util.Date |
getModifiedDate()
Get the ModifiedDate |
java.lang.String |
getName()
Get the Name |
AttachmentPeer |
getPeer()
returns a peer instance associated with this om. |
org.apache.torque.om.ObjectKey |
getPrimaryKey()
returns an id that differentiates this object from others of its class. |
java.lang.String |
getQueryKey()
get an id that differentiates this object from others of its class. |
ScarabUser |
getScarabUserRelatedByCreatedBy()
Returns the associated ScarabUser object. |
ScarabUser |
getScarabUserRelatedByCreatedBy(java.sql.Connection connection)
Return the associated ScarabUser object If it was not retrieved before, the object is retrieved from the database using the passed connection |
ScarabUser |
getScarabUserRelatedByModifiedBy()
Returns the associated ScarabUser object. |
ScarabUser |
getScarabUserRelatedByModifiedBy(java.sql.Connection connection)
Return the associated ScarabUser object If it was not retrieved before, the object is retrieved from the database using the passed connection |
java.lang.Integer |
getTypeId()
Get the TypeId |
protected void |
initActivitys()
Temporary storage of collActivitys to save a possible db hit in the event objects are add to the collection, but the complete collection is never requested. |
protected void |
initActivitySets()
Temporary storage of collActivitySets 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 |
setAttachmentId(java.lang.Long v)
Set the value of AttachmentId |
void |
setAttachmentType(AttachmentType v)
Declares an association between this object and a AttachmentType object |
void |
setAttachmentTypeKey(org.apache.torque.om.ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey()) |
void |
setCreatedBy(java.lang.Integer v)
Set the value of CreatedBy |
void |
setCreatedDate(java.util.Date v)
Set the value of CreatedDate |
void |
setData(java.lang.String v)
Set the value of Data |
void |
setDeleted(boolean v)
Set the value of Deleted |
void |
setFileName(java.lang.String v)
Set the value of FileName |
void |
setIssue(Issue v)
Declares an association between this object and a Issue object |
void |
setIssueId(java.lang.Long v)
Set the value of IssueId |
void |
setIssueKey(org.apache.torque.om.ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey()) |
void |
setMimeType(java.lang.String v)
Set the value of MimeType |
void |
setModifiedBy(java.lang.Integer v)
Set the value of ModifiedBy |
void |
setModifiedDate(java.util.Date v)
Set the value of ModifiedDate |
void |
setName(java.lang.String v)
Set the value of Name |
void |
setPrimaryKey(org.apache.torque.om.ObjectKey key)
Set the PrimaryKey using ObjectKey. |
void |
setPrimaryKey(java.lang.String key)
Set the PrimaryKey using a String. |
void |
setQueryKey(java.lang.String key)
set an id that differentiates this object from others of its class. |
void |
setScarabUserRelatedByCreatedBy(ScarabUser v)
Declares an association between this object and a ScarabUser object |
void |
setScarabUserRelatedByCreatedByKey(org.apache.torque.om.ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey()) |
void |
setScarabUserRelatedByModifiedBy(ScarabUser v)
Declares an association between this object and a ScarabUser object |
void |
setScarabUserRelatedByModifiedByKey(org.apache.torque.om.ObjectKey key)
Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey()) |
void |
setTypeId(java.lang.Integer v)
Set the value of TypeId |
java.lang.String |
toString()
|
| Methods inherited from class org.apache.torque.om.BaseObject |
equals, equals, getLog, hashCode, isModified, isNew, resetModified, setModified, setNew, setPrimaryKey |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected java.util.List collActivitys
protected java.util.List collActivitySets
| Constructor Detail |
public BaseAttachment()
| Method Detail |
public java.lang.Long getAttachmentId()
public void setAttachmentId(java.lang.Long v)
throws org.apache.torque.TorqueException
v - new value
org.apache.torque.TorqueExceptionpublic java.lang.Long getIssueId()
public void setIssueId(java.lang.Long v)
throws org.apache.torque.TorqueException
v - new value
org.apache.torque.TorqueExceptionpublic java.lang.Integer getTypeId()
public void setTypeId(java.lang.Integer v)
throws org.apache.torque.TorqueException
v - new value
org.apache.torque.TorqueExceptionpublic java.lang.String getName()
public void setName(java.lang.String v)
v - new valuepublic java.lang.String getData()
public void setData(java.lang.String v)
v - new valuepublic java.lang.String getFileName()
public void setFileName(java.lang.String v)
v - new valuepublic java.lang.String getMimeType()
public void setMimeType(java.lang.String v)
v - new valuepublic java.lang.Integer getModifiedBy()
public void setModifiedBy(java.lang.Integer v)
throws org.apache.torque.TorqueException
v - new value
org.apache.torque.TorqueExceptionpublic java.lang.Integer getCreatedBy()
public void setCreatedBy(java.lang.Integer v)
throws org.apache.torque.TorqueException
v - new value
org.apache.torque.TorqueExceptionpublic java.util.Date getModifiedDate()
public void setModifiedDate(java.util.Date v)
v - new valuepublic java.util.Date getCreatedDate()
public void setCreatedDate(java.util.Date v)
v - new valuepublic boolean getDeleted()
public void setDeleted(boolean v)
v - new value
public void setIssue(Issue v)
throws org.apache.torque.TorqueException
v - Issue
org.apache.torque.TorqueException
public Issue getIssue()
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public Issue getIssue(java.sql.Connection connection)
throws org.apache.torque.TorqueException
connection - the connection used to retrieve the associated object
from the database, if it was not retrieved before
org.apache.torque.TorqueException
public void setIssueKey(org.apache.torque.om.ObjectKey key)
throws org.apache.torque.TorqueException
bar.setFooKey(foo.getPrimaryKey())
org.apache.torque.TorqueException
public void setAttachmentType(AttachmentType v)
throws org.apache.torque.TorqueException
v - AttachmentType
org.apache.torque.TorqueException
public AttachmentType getAttachmentType()
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public AttachmentType getAttachmentType(java.sql.Connection connection)
throws org.apache.torque.TorqueException
connection - the connection used to retrieve the associated object
from the database, if it was not retrieved before
org.apache.torque.TorqueException
public void setAttachmentTypeKey(org.apache.torque.om.ObjectKey key)
throws org.apache.torque.TorqueException
bar.setFooKey(foo.getPrimaryKey())
org.apache.torque.TorqueException
public void setScarabUserRelatedByCreatedBy(ScarabUser v)
throws org.apache.torque.TorqueException
v - ScarabUser
org.apache.torque.TorqueException
public ScarabUser getScarabUserRelatedByCreatedBy()
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public ScarabUser getScarabUserRelatedByCreatedBy(java.sql.Connection connection)
throws org.apache.torque.TorqueException
connection - the connection used to retrieve the associated object
from the database, if it was not retrieved before
org.apache.torque.TorqueException
public void setScarabUserRelatedByCreatedByKey(org.apache.torque.om.ObjectKey key)
throws org.apache.torque.TorqueException
bar.setFooKey(foo.getPrimaryKey())
org.apache.torque.TorqueException
public void setScarabUserRelatedByModifiedBy(ScarabUser v)
throws org.apache.torque.TorqueException
v - ScarabUser
org.apache.torque.TorqueException
public ScarabUser getScarabUserRelatedByModifiedBy()
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public ScarabUser getScarabUserRelatedByModifiedBy(java.sql.Connection connection)
throws org.apache.torque.TorqueException
connection - the connection used to retrieve the associated object
from the database, if it was not retrieved before
org.apache.torque.TorqueException
public void setScarabUserRelatedByModifiedByKey(org.apache.torque.om.ObjectKey key)
throws org.apache.torque.TorqueException
bar.setFooKey(foo.getPrimaryKey())
org.apache.torque.TorqueExceptionprotected void initActivitys()
public void addActivity(Activity l)
throws org.apache.torque.TorqueException
l - Activity
org.apache.torque.TorqueException
public java.util.List getActivitys()
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getActivitys(org.apache.torque.util.Criteria criteria)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getActivitys(java.sql.Connection con)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getActivitys(org.apache.torque.util.Criteria criteria,
java.sql.Connection con)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected java.util.List getActivitysJoinIssue(org.apache.torque.util.Criteria criteria)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected java.util.List getActivitysJoinAttribute(org.apache.torque.util.Criteria criteria)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected java.util.List getActivitysJoinActivitySet(org.apache.torque.util.Criteria criteria)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected java.util.List getActivitysJoinScarabUserImplRelatedByOldUserId(org.apache.torque.util.Criteria criteria)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected java.util.List getActivitysJoinScarabUserImplRelatedByNewUserId(org.apache.torque.util.Criteria criteria)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected java.util.List getActivitysJoinAttributeOptionRelatedByOldOptionId(org.apache.torque.util.Criteria criteria)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected java.util.List getActivitysJoinAttributeOptionRelatedByNewOptionId(org.apache.torque.util.Criteria criteria)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected java.util.List getActivitysJoinAttachment(org.apache.torque.util.Criteria criteria)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected java.util.List getActivitysJoinDepend(org.apache.torque.util.Criteria criteria)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueExceptionprotected void initActivitySets()
public void addActivitySet(ActivitySet l)
throws org.apache.torque.TorqueException
l - ActivitySet
org.apache.torque.TorqueException
public java.util.List getActivitySets()
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getActivitySets(org.apache.torque.util.Criteria criteria)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getActivitySets(java.sql.Connection con)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public java.util.List getActivitySets(org.apache.torque.util.Criteria criteria,
java.sql.Connection con)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected java.util.List getActivitySetsJoinScarabUserImpl(org.apache.torque.util.Criteria criteria)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected java.util.List getActivitySetsJoinActivitySetType(org.apache.torque.util.Criteria criteria)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected java.util.List getActivitySetsJoinAttachment(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)
name - field name
public java.lang.Object getByPeerName(java.lang.String name)
name - peer name
public java.lang.Object getByPosition(int pos)
pos - position in xml schema
public void save()
throws org.apache.torque.TorqueException
save in interface org.apache.torque.om.Persistentorg.apache.torque.TorqueException
public void save(java.lang.String dbName)
throws org.apache.torque.TorqueException
save in interface org.apache.torque.om.PersistentdbName -
org.apache.torque.TorqueException
public void save(java.sql.Connection con)
throws org.apache.torque.TorqueException
save in interface org.apache.torque.om.Persistentcon -
org.apache.torque.TorqueExceptionprotected boolean isCacheOnSave()
public void setPrimaryKey(org.apache.torque.om.ObjectKey key)
throws org.apache.torque.TorqueException
setPrimaryKey in interface org.apache.torque.om.Persistentkey - attachmentId ObjectKey
org.apache.torque.TorqueException
public void setPrimaryKey(java.lang.String key)
throws org.apache.torque.TorqueException
setPrimaryKey in interface org.apache.torque.om.Persistentkey -
org.apache.torque.TorqueExceptionpublic org.apache.torque.om.ObjectKey getPrimaryKey()
getPrimaryKey in interface org.apache.torque.om.Persistentpublic java.lang.String getQueryKey()
getQueryKey in interface org.apache.fulcrum.intake.Retrievable
public void setQueryKey(java.lang.String key)
throws org.apache.torque.TorqueException
setQueryKey in interface org.apache.fulcrum.intake.Retrievableorg.apache.torque.TorqueException
public Attachment copy()
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected Attachment copyInto(Attachment copyObj)
throws org.apache.torque.TorqueException
org.apache.torque.TorqueExceptionpublic AttachmentPeer getPeer()
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||