Java Doc for BaseAttachment.java in  » Issue-Tracking » scarab-0.21 » org » tigris » scarab » om » 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 » Issue Tracking » scarab 0.21 » org.tigris.scarab.om 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.tigris.scarab.om.BaseAttachment

All known Subclasses:   org.tigris.scarab.om.Attachment,
BaseAttachment
abstract public class BaseAttachment extends BaseObject implements org.apache.fulcrum.intake.Retrievable(Code)
You should not use this class directly. It should not even be extended all references should be to Attachment


Field Summary
protected  ListcollActivitySets
    
protected  ListcollActivitys
    


Method Summary
public  voidaddActivity(Activity l)
    
public  voidaddActivitySet(ActivitySet l)
    
public  Attachmentcopy()
     Makes a copy of this object.
protected  AttachmentcopyInto(Attachment copyObj)
    
public  ListgetActivitySets()
     If this collection has already been initialized, returns the collection.
public  ListgetActivitySets(Criteria criteria)
     If this collection has already been initialized with an identical criteria, it returns the collection.
public  ListgetActivitySets(Connection con)
     If this collection has already been initialized, returns the collection.
public  ListgetActivitySets(Criteria criteria, Connection con)
     If this collection has already been initialized with an identical criteria, it returns the collection.
protected  ListgetActivitySetsJoinActivitySetType(Criteria criteria)
     If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Attachment is new, it will return an empty collection; or if this Attachment has previously been saved, it will retrieve related ActivitySets from storage. This method is protected by default in order to keep the public api reasonable.
protected  ListgetActivitySetsJoinAttachment(Criteria criteria)
     If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Attachment is new, it will return an empty collection; or if this Attachment has previously been saved, it will retrieve related ActivitySets from storage. This method is protected by default in order to keep the public api reasonable.
protected  ListgetActivitySetsJoinScarabUserImpl(Criteria criteria)
     If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Attachment is new, it will return an empty collection; or if this Attachment has previously been saved, it will retrieve related ActivitySets from storage. This method is protected by default in order to keep the public api reasonable.
public  ListgetActivitys()
     If this collection has already been initialized, returns the collection.
public  ListgetActivitys(Criteria criteria)
     If this collection has already been initialized with an identical criteria, it returns the collection.
public  ListgetActivitys(Connection con)
     If this collection has already been initialized, returns the collection.
public  ListgetActivitys(Criteria criteria, Connection con)
     If this collection has already been initialized with an identical criteria, it returns the collection.
protected  ListgetActivitysJoinActivitySet(Criteria criteria)
     If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Attachment is new, it will return an empty collection; or if this Attachment has previously been saved, it will retrieve related Activitys from storage. This method is protected by default in order to keep the public api reasonable.
protected  ListgetActivitysJoinAttachment(Criteria criteria)
     If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Attachment is new, it will return an empty collection; or if this Attachment has previously been saved, it will retrieve related Activitys from storage. This method is protected by default in order to keep the public api reasonable.
protected  ListgetActivitysJoinAttribute(Criteria criteria)
     If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Attachment is new, it will return an empty collection; or if this Attachment has previously been saved, it will retrieve related Activitys from storage. This method is protected by default in order to keep the public api reasonable.
protected  ListgetActivitysJoinAttributeOptionRelatedByNewOptionId(Criteria criteria)
     If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Attachment is new, it will return an empty collection; or if this Attachment has previously been saved, it will retrieve related Activitys from storage. This method is protected by default in order to keep the public api reasonable.
protected  ListgetActivitysJoinAttributeOptionRelatedByOldOptionId(Criteria criteria)
     If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Attachment is new, it will return an empty collection; or if this Attachment has previously been saved, it will retrieve related Activitys from storage. This method is protected by default in order to keep the public api reasonable.
protected  ListgetActivitysJoinDepend(Criteria criteria)
     If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Attachment is new, it will return an empty collection; or if this Attachment has previously been saved, it will retrieve related Activitys from storage. This method is protected by default in order to keep the public api reasonable.
protected  ListgetActivitysJoinIssue(Criteria criteria)
     If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Attachment is new, it will return an empty collection; or if this Attachment has previously been saved, it will retrieve related Activitys from storage. This method is protected by default in order to keep the public api reasonable.
protected  ListgetActivitysJoinScarabUserImplRelatedByNewUserId(Criteria criteria)
     If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Attachment is new, it will return an empty collection; or if this Attachment has previously been saved, it will retrieve related Activitys from storage. This method is protected by default in order to keep the public api reasonable.
protected  ListgetActivitysJoinScarabUserImplRelatedByOldUserId(Criteria criteria)
     If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Attachment is new, it will return an empty collection; or if this Attachment has previously been saved, it will retrieve related Activitys from storage. This method is protected by default in order to keep the public api reasonable.
public  LonggetAttachmentId()
    
public  AttachmentTypegetAttachmentType()
     Returns the associated AttachmentType object.
public  AttachmentTypegetAttachmentType(Connection connection)
    
public  ObjectgetByName(String name)
     Retrieves a field from the object by name passed in as a String.
public  ObjectgetByPeerName(String name)
     Retrieves a field from the object by name passed in as a String.
public  ObjectgetByPosition(int pos)
     Retrieves a field from the object by Position as specified in the xml schema.
public  IntegergetCreatedBy()
    
public  DategetCreatedDate()
    
public  StringgetData()
    
public  booleangetDeleted()
    
public static synchronized  ListgetFieldNames()
     Generate a list of field names.
public  StringgetFileName()
    
public  IssuegetIssue()
     Returns the associated Issue object.
public  IssuegetIssue(Connection connection)
    
public  LonggetIssueId()
    
public  StringgetMimeType()
    
public  IntegergetModifiedBy()
    
public  DategetModifiedDate()
    
public  StringgetName()
    
public  AttachmentPeergetPeer()
     returns a peer instance associated with this om.
public  ObjectKeygetPrimaryKey()
     returns an id that differentiates this object from others of its class.
public  StringgetQueryKey()
     get an id that differentiates this object from others of its class.
public  ScarabUsergetScarabUserRelatedByCreatedBy()
     Returns the associated ScarabUser object.
public  ScarabUsergetScarabUserRelatedByCreatedBy(Connection connection)
    
public  ScarabUsergetScarabUserRelatedByModifiedBy()
     Returns the associated ScarabUser object.
public  ScarabUsergetScarabUserRelatedByModifiedBy(Connection connection)
    
public  IntegergetTypeId()
    
protected  voidinitActivitySets()
     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  voidinitActivitys()
     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  booleanisCacheOnSave()
     Specify whether to cache the object after saving to the db.
public  voidsave()
     Stores the object in the database.
public  voidsave(String dbName)
     Stores the object in the database.
public  voidsave(Connection con)
     Stores the object in the database.
public  voidsetAttachmentId(Long v)
    
public  voidsetAttachmentType(AttachmentType v)
    
public  voidsetAttachmentTypeKey(ObjectKey key)
    
public  voidsetCreatedBy(Integer v)
    
public  voidsetCreatedDate(Date v)
    
public  voidsetData(String v)
    
public  voidsetDeleted(boolean v)
    
public  voidsetFileName(String v)
    
public  voidsetIssue(Issue v)
    
public  voidsetIssueId(Long v)
    
public  voidsetIssueKey(ObjectKey key)
    
public  voidsetMimeType(String v)
    
public  voidsetModifiedBy(Integer v)
    
public  voidsetModifiedDate(Date v)
    
public  voidsetName(String v)
    
public  voidsetPrimaryKey(ObjectKey key)
     Set the PrimaryKey using ObjectKey.
public  voidsetPrimaryKey(String key)
     Set the PrimaryKey using a String.
public  voidsetQueryKey(String key)
     set an id that differentiates this object from others of its class.
public  voidsetScarabUserRelatedByCreatedBy(ScarabUser v)
    
public  voidsetScarabUserRelatedByCreatedByKey(ObjectKey key)
    
public  voidsetScarabUserRelatedByModifiedBy(ScarabUser v)
    
public  voidsetScarabUserRelatedByModifiedByKey(ObjectKey key)
    
public  voidsetTypeId(Integer v)
    
public  StringtoString()
    

Field Detail
collActivitySets
protected List collActivitySets(Code)
Collection to store aggregation of collActivitySets



collActivitys
protected List collActivitys(Code)
Collection to store aggregation of collActivitys





Method Detail
addActivity
public void addActivity(Activity l) throws TorqueException(Code)
Method called to associate a Activity object to this object through the Activity foreign key attribute
Parameters:
  l - Activity
throws:
  TorqueException -



addActivitySet
public void addActivitySet(ActivitySet l) throws TorqueException(Code)
Method called to associate a ActivitySet object to this object through the ActivitySet foreign key attribute
Parameters:
  l - ActivitySet
throws:
  TorqueException -



copy
public Attachment copy() throws TorqueException(Code)
Makes a copy of this object. It creates a new object filling in the simple attributes. It then fills all the association collections and sets the related objects to isNew=true.



copyInto
protected Attachment copyInto(Attachment copyObj) throws TorqueException(Code)



getActivitySets
public List getActivitySets() throws TorqueException(Code)
If this collection has already been initialized, returns the collection. Otherwise returns the results of getActivitySets(new Criteria()) the collection of associated objects
throws:
  TorqueException -



getActivitySets
public List getActivitySets(Criteria criteria) throws TorqueException(Code)
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Attachment has previously been saved, it will retrieve related ActivitySets from storage. If this Attachment is new, it will return an empty collection or the current collection, the criteria is ignored on a new object.
throws:
  TorqueException -



getActivitySets
public List getActivitySets(Connection con) throws TorqueException(Code)
If this collection has already been initialized, returns the collection. Otherwise returns the results of getActivitySets(new Criteria(),Connection) This method takes in the Connection also as input so that referenced objects can also be obtained using a Connection that is taken as input



getActivitySets
public List getActivitySets(Criteria criteria, Connection con) throws TorqueException(Code)
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Attachment has previously been saved, it will retrieve related ActivitySets from storage. If this Attachment is new, it will return an empty collection or the current collection, the criteria is ignored on a new object. This method takes in the Connection also as input so that referenced objects can also be obtained using a Connection that is taken as input



getActivitySetsJoinActivitySetType
protected List getActivitySetsJoinActivitySetType(Criteria criteria) throws TorqueException(Code)
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Attachment is new, it will return an empty collection; or if this Attachment has previously been saved, it will retrieve related ActivitySets from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in Attachment.



getActivitySetsJoinAttachment
protected List getActivitySetsJoinAttachment(Criteria criteria) throws TorqueException(Code)
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Attachment is new, it will return an empty collection; or if this Attachment has previously been saved, it will retrieve related ActivitySets from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in Attachment.



getActivitySetsJoinScarabUserImpl
protected List getActivitySetsJoinScarabUserImpl(Criteria criteria) throws TorqueException(Code)
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Attachment is new, it will return an empty collection; or if this Attachment has previously been saved, it will retrieve related ActivitySets from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in Attachment.



getActivitys
public List getActivitys() throws TorqueException(Code)
If this collection has already been initialized, returns the collection. Otherwise returns the results of getActivitys(new Criteria()) the collection of associated objects
throws:
  TorqueException -



getActivitys
public List getActivitys(Criteria criteria) throws TorqueException(Code)
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Attachment has previously been saved, it will retrieve related Activitys from storage. If this Attachment is new, it will return an empty collection or the current collection, the criteria is ignored on a new object.
throws:
  TorqueException -



getActivitys
public List getActivitys(Connection con) throws TorqueException(Code)
If this collection has already been initialized, returns the collection. Otherwise returns the results of getActivitys(new Criteria(),Connection) This method takes in the Connection also as input so that referenced objects can also be obtained using a Connection that is taken as input



getActivitys
public List getActivitys(Criteria criteria, Connection con) throws TorqueException(Code)
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Attachment has previously been saved, it will retrieve related Activitys from storage. If this Attachment is new, it will return an empty collection or the current collection, the criteria is ignored on a new object. This method takes in the Connection also as input so that referenced objects can also be obtained using a Connection that is taken as input



getActivitysJoinActivitySet
protected List getActivitysJoinActivitySet(Criteria criteria) throws TorqueException(Code)
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Attachment is new, it will return an empty collection; or if this Attachment has previously been saved, it will retrieve related Activitys from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in Attachment.



getActivitysJoinAttachment
protected List getActivitysJoinAttachment(Criteria criteria) throws TorqueException(Code)
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Attachment is new, it will return an empty collection; or if this Attachment has previously been saved, it will retrieve related Activitys from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in Attachment.



getActivitysJoinAttribute
protected List getActivitysJoinAttribute(Criteria criteria) throws TorqueException(Code)
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Attachment is new, it will return an empty collection; or if this Attachment has previously been saved, it will retrieve related Activitys from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in Attachment.



getActivitysJoinAttributeOptionRelatedByNewOptionId
protected List getActivitysJoinAttributeOptionRelatedByNewOptionId(Criteria criteria) throws TorqueException(Code)
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Attachment is new, it will return an empty collection; or if this Attachment has previously been saved, it will retrieve related Activitys from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in Attachment.



getActivitysJoinAttributeOptionRelatedByOldOptionId
protected List getActivitysJoinAttributeOptionRelatedByOldOptionId(Criteria criteria) throws TorqueException(Code)
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Attachment is new, it will return an empty collection; or if this Attachment has previously been saved, it will retrieve related Activitys from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in Attachment.



getActivitysJoinDepend
protected List getActivitysJoinDepend(Criteria criteria) throws TorqueException(Code)
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Attachment is new, it will return an empty collection; or if this Attachment has previously been saved, it will retrieve related Activitys from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in Attachment.



getActivitysJoinIssue
protected List getActivitysJoinIssue(Criteria criteria) throws TorqueException(Code)
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Attachment is new, it will return an empty collection; or if this Attachment has previously been saved, it will retrieve related Activitys from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in Attachment.



getActivitysJoinScarabUserImplRelatedByNewUserId
protected List getActivitysJoinScarabUserImplRelatedByNewUserId(Criteria criteria) throws TorqueException(Code)
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Attachment is new, it will return an empty collection; or if this Attachment has previously been saved, it will retrieve related Activitys from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in Attachment.



getActivitysJoinScarabUserImplRelatedByOldUserId
protected List getActivitysJoinScarabUserImplRelatedByOldUserId(Criteria criteria) throws TorqueException(Code)
If this collection has already been initialized with an identical criteria, it returns the collection. Otherwise if this Attachment is new, it will return an empty collection; or if this Attachment has previously been saved, it will retrieve related Activitys from storage. This method is protected by default in order to keep the public api reasonable. You can provide public methods for those you actually need in Attachment.



getAttachmentId
public Long getAttachmentId()(Code)
Get the AttachmentId Long



getAttachmentType
public AttachmentType getAttachmentType() throws TorqueException(Code)
Returns the associated AttachmentType object. If it was not retrieved before, the object is retrieved from the database the associated AttachmentType object
throws:
  TorqueException -



getAttachmentType
public AttachmentType getAttachmentType(Connection connection) throws TorqueException(Code)
Return the associated AttachmentType object If it was not retrieved before, the object is retrieved from the database using the passed connection
Parameters:
  connection - the connection used to retrieve the associated objectfrom the database, if it was not retrieved before the associated AttachmentType object
throws:
  TorqueException -



getByName
public Object getByName(String name)(Code)
Retrieves a field from the object by name passed in as a String.
Parameters:
  name - field name value



getByPeerName
public Object getByPeerName(String name)(Code)
Retrieves a field from the object by name passed in as a String. The String must be one of the static Strings defined in this Class' Peer.
Parameters:
  name - peer name value



getByPosition
public Object getByPosition(int pos)(Code)
Retrieves a field from the object by Position as specified in the xml schema. Zero-based.
Parameters:
  pos - position in xml schema value



getCreatedBy
public Integer getCreatedBy()(Code)
Get the CreatedBy Integer



getCreatedDate
public Date getCreatedDate()(Code)
Get the CreatedDate Date



getData
public String getData()(Code)
Get the Data String



getDeleted
public boolean getDeleted()(Code)
Get the Deleted boolean



getFieldNames
public static synchronized List getFieldNames()(Code)
Generate a list of field names. a list of field names



getFileName
public String getFileName()(Code)
Get the FileName String



getIssue
public Issue getIssue() throws TorqueException(Code)
Returns the associated Issue object. If it was not retrieved before, the object is retrieved from the database the associated Issue object
throws:
  TorqueException -



getIssue
public Issue getIssue(Connection connection) throws TorqueException(Code)
Return the associated Issue object If it was not retrieved before, the object is retrieved from the database using the passed connection
Parameters:
  connection - the connection used to retrieve the associated objectfrom the database, if it was not retrieved before the associated Issue object
throws:
  TorqueException -



getIssueId
public Long getIssueId()(Code)
Get the IssueId Long



getMimeType
public String getMimeType()(Code)
Get the MimeType String



getModifiedBy
public Integer getModifiedBy()(Code)
Get the ModifiedBy Integer



getModifiedDate
public Date getModifiedDate()(Code)
Get the ModifiedDate Date



getName
public String getName()(Code)
Get the Name String



getPeer
public AttachmentPeer getPeer()(Code)
returns a peer instance associated with this om. Since Peer classes are not to have any instance attributes, this method returns the same instance for all member of this class. The method could therefore be static, but this would prevent one from overriding the behavior.



getPrimaryKey
public ObjectKey getPrimaryKey()(Code)
returns an id that differentiates this object from others of its class.



getQueryKey
public String getQueryKey()(Code)
get an id that differentiates this object from others of its class.



getScarabUserRelatedByCreatedBy
public ScarabUser getScarabUserRelatedByCreatedBy() throws TorqueException(Code)
Returns the associated ScarabUser object. If it was not retrieved before, the object is retrieved from the database the associated ScarabUser object
throws:
  TorqueException -



getScarabUserRelatedByCreatedBy
public ScarabUser getScarabUserRelatedByCreatedBy(Connection connection) throws TorqueException(Code)
Return the associated ScarabUser object If it was not retrieved before, the object is retrieved from the database using the passed connection
Parameters:
  connection - the connection used to retrieve the associated objectfrom the database, if it was not retrieved before the associated ScarabUser object
throws:
  TorqueException -



getScarabUserRelatedByModifiedBy
public ScarabUser getScarabUserRelatedByModifiedBy() throws TorqueException(Code)
Returns the associated ScarabUser object. If it was not retrieved before, the object is retrieved from the database the associated ScarabUser object
throws:
  TorqueException -



getScarabUserRelatedByModifiedBy
public ScarabUser getScarabUserRelatedByModifiedBy(Connection connection) throws TorqueException(Code)
Return the associated ScarabUser object If it was not retrieved before, the object is retrieved from the database using the passed connection
Parameters:
  connection - the connection used to retrieve the associated objectfrom the database, if it was not retrieved before the associated ScarabUser object
throws:
  TorqueException -



getTypeId
public Integer getTypeId()(Code)
Get the TypeId Integer



initActivitySets
protected void initActivitySets()(Code)
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.



initActivitys
protected void initActivitys()(Code)
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.



isCacheOnSave
protected boolean isCacheOnSave()(Code)
Specify whether to cache the object after saving to the db. This method returns true



save
public void save() throws TorqueException(Code)
Stores the object in the database. If the object is new, it inserts it; otherwise an update is performed.
throws:
  TorqueException -



save
public void save(String dbName) throws TorqueException(Code)
Stores the object in the database. If the object is new, it inserts it; otherwise an update is performed. Note: this code is here because the method body is auto-generated conditionally and therefore needs to be in this file instead of in the super class, BaseObject.
Parameters:
  dbName -
throws:
  TorqueException -



save
public void save(Connection con) throws TorqueException(Code)
Stores the object in the database. If the object is new, it inserts it; otherwise an update is performed. This method is meant to be used as part of a transaction, otherwise use the save() method and the connection details will be handled internally
Parameters:
  con -
throws:
  TorqueException -



setAttachmentId
public void setAttachmentId(Long v) throws TorqueException(Code)
Set the value of AttachmentId
Parameters:
  v - new value



setAttachmentType
public void setAttachmentType(AttachmentType v) throws TorqueException(Code)
Declares an association between this object and a AttachmentType object
Parameters:
  v - AttachmentType
throws:
  TorqueException -



setAttachmentTypeKey
public void setAttachmentTypeKey(ObjectKey key) throws TorqueException(Code)
Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey())



setCreatedBy
public void setCreatedBy(Integer v) throws TorqueException(Code)
Set the value of CreatedBy
Parameters:
  v - new value



setCreatedDate
public void setCreatedDate(Date v)(Code)
Set the value of CreatedDate
Parameters:
  v - new value



setData
public void setData(String v)(Code)
Set the value of Data
Parameters:
  v - new value



setDeleted
public void setDeleted(boolean v)(Code)
Set the value of Deleted
Parameters:
  v - new value



setFileName
public void setFileName(String v)(Code)
Set the value of FileName
Parameters:
  v - new value



setIssue
public void setIssue(Issue v) throws TorqueException(Code)
Declares an association between this object and a Issue object
Parameters:
  v - Issue
throws:
  TorqueException -



setIssueId
public void setIssueId(Long v) throws TorqueException(Code)
Set the value of IssueId
Parameters:
  v - new value



setIssueKey
public void setIssueKey(ObjectKey key) throws TorqueException(Code)
Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey())



setMimeType
public void setMimeType(String v)(Code)
Set the value of MimeType
Parameters:
  v - new value



setModifiedBy
public void setModifiedBy(Integer v) throws TorqueException(Code)
Set the value of ModifiedBy
Parameters:
  v - new value



setModifiedDate
public void setModifiedDate(Date v)(Code)
Set the value of ModifiedDate
Parameters:
  v - new value



setName
public void setName(String v)(Code)
Set the value of Name
Parameters:
  v - new value



setPrimaryKey
public void setPrimaryKey(ObjectKey key) throws TorqueException(Code)
Set the PrimaryKey using ObjectKey.
Parameters:
  key - attachmentId ObjectKey



setPrimaryKey
public void setPrimaryKey(String key) throws TorqueException(Code)
Set the PrimaryKey using a String.
Parameters:
  key -



setQueryKey
public void setQueryKey(String key) throws TorqueException(Code)
set an id that differentiates this object from others of its class.



setScarabUserRelatedByCreatedBy
public void setScarabUserRelatedByCreatedBy(ScarabUser v) throws TorqueException(Code)
Declares an association between this object and a ScarabUser object
Parameters:
  v - ScarabUser
throws:
  TorqueException -



setScarabUserRelatedByCreatedByKey
public void setScarabUserRelatedByCreatedByKey(ObjectKey key) throws TorqueException(Code)
Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey())



setScarabUserRelatedByModifiedBy
public void setScarabUserRelatedByModifiedBy(ScarabUser v) throws TorqueException(Code)
Declares an association between this object and a ScarabUser object
Parameters:
  v - ScarabUser
throws:
  TorqueException -



setScarabUserRelatedByModifiedByKey
public void setScarabUserRelatedByModifiedByKey(ObjectKey key) throws TorqueException(Code)
Provides convenient way to set a relationship based on a ObjectKey, for example bar.setFooKey(foo.getPrimaryKey())



setTypeId
public void setTypeId(Integer v) throws TorqueException(Code)
Set the value of TypeId
Parameters:
  v - new value



toString
public String toString()(Code)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.