| |
|
| org.tigris.scarab.om.BaseReport
All known Subclasses: org.tigris.scarab.om.Report,
BaseReport | abstract public class BaseReport 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 Report
|
copy | public Report 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.
|
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 |
getCreatedDate | public Date getCreatedDate()(Code) | | Get the CreatedDate
Date |
getDeleted | public boolean getDeleted()(Code) | | Get the Deleted
boolean |
getDescription | public String getDescription()(Code) | | Get the Description
String |
getFieldNames | public static synchronized List getFieldNames()(Code) | | Generate a list of field names.
a list of field names |
getIssueType | public IssueType getIssueType() throws TorqueException(Code) | | Returns the associated IssueType object.
If it was not retrieved before, the object is retrieved from
the database
the associated IssueType object throws: TorqueException - |
getIssueType | public IssueType getIssueType(Connection connection) throws TorqueException(Code) | | Return the associated IssueType 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 IssueType object throws: TorqueException - |
getIssueTypeId | public Integer getIssueTypeId()(Code) | | Get the IssueTypeId
Integer |
getModule | public Module getModule() throws TorqueException(Code) | | Returns the associated Module object.
If it was not retrieved before, the object is retrieved from
the database
the associated Module object throws: TorqueException - |
getModule | public Module getModule(Connection connection) throws TorqueException(Code) | | Return the associated Module 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 Module object throws: TorqueException - |
getModuleId | public Integer getModuleId()(Code) | | Get the ModuleId
Integer |
getPeer | public ReportPeer 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.
|
getQueryString | public String getQueryString()(Code) | | Get the QueryString
String |
getReportId | public Integer getReportId()(Code) | | Get the ReportId
Integer |
getScarabUser | public ScarabUser getScarabUser() 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 - |
getScarabUser | public ScarabUser getScarabUser(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 - |
getScope | public Scope getScope() throws TorqueException(Code) | | Returns the associated Scope object.
If it was not retrieved before, the object is retrieved from
the database
the associated Scope object throws: TorqueException - |
getScope | public Scope getScope(Connection connection) throws TorqueException(Code) | | Return the associated Scope 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 Scope object throws: TorqueException - |
getScopeId | public Integer getScopeId()(Code) | | Get the ScopeId
Integer |
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 - |
setCreatedDate | public void setCreatedDate(Date v)(Code) | | Set the value of CreatedDate
Parameters: v - new value |
setDeleted | public void setDeleted(boolean v)(Code) | | Set the value of Deleted
Parameters: v - new value |
setDescription | public void setDescription(String v)(Code) | | Set the value of Description
Parameters: v - new value |
setIssueType | public void setIssueType(IssueType v) throws TorqueException(Code) | | Declares an association between this object and a IssueType object
Parameters: v - IssueType throws: TorqueException - |
setIssueTypeId | public void setIssueTypeId(Integer v) throws TorqueException(Code) | | Set the value of IssueTypeId
Parameters: v - new value |
setIssueTypeKey | public void setIssueTypeKey(ObjectKey key) throws TorqueException(Code) | | Provides convenient way to set a relationship based on a
ObjectKey, for example
bar.setFooKey(foo.getPrimaryKey())
|
setModule | public void setModule(Module v) throws TorqueException(Code) | | Declares an association between this object and a Module object
Parameters: v - Module throws: TorqueException - |
setModuleId | public void setModuleId(Integer v) throws TorqueException(Code) | | Set the value of ModuleId
Parameters: v - new value |
setModuleKey | public void setModuleKey(ObjectKey key) throws TorqueException(Code) | | Provides convenient way to set a relationship based on a
ObjectKey, for example
bar.setFooKey(foo.getPrimaryKey())
|
setName | public void setName(String v)(Code) | | Set the value of Name
Parameters: v - new value |
setPrimaryKey | public void setPrimaryKey(ObjectKey key)(Code) | | Set the PrimaryKey using ObjectKey.
Parameters: key - reportId ObjectKey |
setPrimaryKey | public void setPrimaryKey(String key)(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.
|
setQueryString | public void setQueryString(String v)(Code) | | Set the value of QueryString
Parameters: v - new value |
setReportId | public void setReportId(Integer v)(Code) | | Set the value of ReportId
Parameters: v - new value |
setScarabUser | public void setScarabUser(ScarabUser v) throws TorqueException(Code) | | Declares an association between this object and a ScarabUser object
Parameters: v - ScarabUser throws: TorqueException - |
setScarabUserKey | public void setScarabUserKey(ObjectKey key) throws TorqueException(Code) | | Provides convenient way to set a relationship based on a
ObjectKey, for example
bar.setFooKey(foo.getPrimaryKey())
|
setScope | public void setScope(Scope v) throws TorqueException(Code) | | Declares an association between this object and a Scope object
Parameters: v - Scope throws: TorqueException - |
setScopeId | public void setScopeId(Integer v) throws TorqueException(Code) | | Set the value of ScopeId
Parameters: v - new value |
setScopeKey | public void setScopeKey(ObjectKey key) throws TorqueException(Code) | | Provides convenient way to set a relationship based on a
ObjectKey, for example
bar.setFooKey(foo.getPrimaryKey())
|
setUserId | public void setUserId(Integer v) throws TorqueException(Code) | | Set the value of UserId
Parameters: v - new value |
|
|
|