| org.tigris.scarab.om.BaseMITList
All known Subclasses: org.tigris.scarab.om.MITList,
BaseMITList | abstract public class BaseMITList 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 MITList
|
Method Summary | |
public void | addMITListItem(MITListItem l) | public void | addQuery(Query l) | public void | addRModuleUserAttribute(RModuleUserAttribute l) | public MITList | copy() Makes a copy of this object. | protected MITList | copyInto(MITList copyObj) | public boolean | getActive() | public Object | getByName(String name) Retrieves a field from the object by name passed in as a String. | public Object | getByPeerName(String name) Retrieves a field from the object by name passed in
as a String. | public Object | getByPosition(int pos) Retrieves a field from the object by Position as specified
in the xml schema. | public static synchronized List | getFieldNames() Generate a list of field names. | public Long | getListId() | public List | getMITListItems() If this collection has already been initialized, returns
the collection. | public List | getMITListItems(Criteria criteria) If this collection has already been initialized with
an identical criteria, it returns the collection. | public List | getMITListItems(Connection con) If this collection has already been initialized, returns
the collection. | public List | getMITListItems(Criteria criteria, Connection con) If this collection has already been initialized with
an identical criteria, it returns the collection. | protected List | getMITListItemsJoinIssueType(Criteria criteria) If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList is new, it will return
an empty collection; or if this MITList has previously
been saved, it will retrieve related MITListItems from storage.
This method is protected by default in order to keep the public
api reasonable. | protected List | getMITListItemsJoinMITList(Criteria criteria) If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList is new, it will return
an empty collection; or if this MITList has previously
been saved, it will retrieve related MITListItems from storage.
This method is protected by default in order to keep the public
api reasonable. | protected List | getMITListItemsJoinScarabModule(Criteria criteria) If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList is new, it will return
an empty collection; or if this MITList has previously
been saved, it will retrieve related MITListItems from storage.
This method is protected by default in order to keep the public
api reasonable. | public boolean | getModifiable() | public String | getName() | public MITListPeer | getPeer() returns a peer instance associated with this om. | public ObjectKey | getPrimaryKey() returns an id that differentiates this object from others
of its class. | public String | getQueryKey() get an id that differentiates this object from others
of its class. | public List | getQuerys() If this collection has already been initialized, returns
the collection. | public List | getQuerys(Criteria criteria) If this collection has already been initialized with
an identical criteria, it returns the collection. | public List | getQuerys(Connection con) If this collection has already been initialized, returns
the collection. | public List | getQuerys(Criteria criteria, Connection con) If this collection has already been initialized with
an identical criteria, it returns the collection. | protected List | getQuerysJoinFrequency(Criteria criteria) If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList is new, it will return
an empty collection; or if this MITList has previously
been saved, it will retrieve related Querys from storage.
This method is protected by default in order to keep the public
api reasonable. | protected List | getQuerysJoinIssueType(Criteria criteria) If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList is new, it will return
an empty collection; or if this MITList has previously
been saved, it will retrieve related Querys from storage.
This method is protected by default in order to keep the public
api reasonable. | protected List | getQuerysJoinMITList(Criteria criteria) If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList is new, it will return
an empty collection; or if this MITList has previously
been saved, it will retrieve related Querys from storage.
This method is protected by default in order to keep the public
api reasonable. | protected List | getQuerysJoinScarabModule(Criteria criteria) If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList is new, it will return
an empty collection; or if this MITList has previously
been saved, it will retrieve related Querys from storage.
This method is protected by default in order to keep the public
api reasonable. | protected List | getQuerysJoinScarabUserImpl(Criteria criteria) If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList is new, it will return
an empty collection; or if this MITList has previously
been saved, it will retrieve related Querys from storage.
This method is protected by default in order to keep the public
api reasonable. | protected List | getQuerysJoinScope(Criteria criteria) If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList is new, it will return
an empty collection; or if this MITList has previously
been saved, it will retrieve related Querys from storage.
This method is protected by default in order to keep the public
api reasonable. | public List | getRModuleUserAttributes() If this collection has already been initialized, returns
the collection. | public List | getRModuleUserAttributes(Criteria criteria) If this collection has already been initialized with
an identical criteria, it returns the collection. | public List | getRModuleUserAttributes(Connection con) If this collection has already been initialized, returns
the collection. | public List | getRModuleUserAttributes(Criteria criteria, Connection con) If this collection has already been initialized with
an identical criteria, it returns the collection. | protected List | getRModuleUserAttributesJoinAttribute(Criteria criteria) If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList is new, it will return
an empty collection; or if this MITList has previously
been saved, it will retrieve related RModuleUserAttributes from storage.
This method is protected by default in order to keep the public
api reasonable. | protected List | getRModuleUserAttributesJoinIssueType(Criteria criteria) If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList is new, it will return
an empty collection; or if this MITList has previously
been saved, it will retrieve related RModuleUserAttributes from storage.
This method is protected by default in order to keep the public
api reasonable. | protected List | getRModuleUserAttributesJoinMITList(Criteria criteria) If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList is new, it will return
an empty collection; or if this MITList has previously
been saved, it will retrieve related RModuleUserAttributes from storage.
This method is protected by default in order to keep the public
api reasonable. | protected List | getRModuleUserAttributesJoinScarabModule(Criteria criteria) If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList is new, it will return
an empty collection; or if this MITList has previously
been saved, it will retrieve related RModuleUserAttributes from storage.
This method is protected by default in order to keep the public
api reasonable. | protected List | getRModuleUserAttributesJoinScarabUserImpl(Criteria criteria) If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList is new, it will return
an empty collection; or if this MITList has previously
been saved, it will retrieve related RModuleUserAttributes from storage.
This method is protected by default in order to keep the public
api reasonable. | public ScarabUser | getScarabUser() Returns the associated ScarabUser object. | public ScarabUser | getScarabUser(Connection connection) | public Integer | getUserId() | protected void | initMITListItems() Temporary storage of collMITListItems to save a possible db hit in
the event objects are add to the collection, but the
complete collection is never requested. | protected void | initQuerys() Temporary storage of collQuerys to save a possible db hit in
the event objects are add to the collection, but the
complete collection is never requested. | protected void | initRModuleUserAttributes() Temporary storage of collRModuleUserAttributes 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. | public void | save() Stores the object in the database. | public void | save(String dbName) Stores the object in the database. | public void | save(Connection con) Stores the object in the database. | public void | setActive(boolean v) | public void | setListId(Long v) | public void | setModifiable(boolean v) | public void | setName(String v) | public void | setPrimaryKey(ObjectKey key) Set the PrimaryKey using ObjectKey. | public void | setPrimaryKey(String key) Set the PrimaryKey using a String. | public void | setQueryKey(String key) set an id that differentiates this object from others
of its class. | public void | setScarabUser(ScarabUser v) | public void | setScarabUserKey(ObjectKey key) | public void | setUserId(Integer v) | public String | toString() |
collMITListItems | protected List collMITListItems(Code) | | Collection to store aggregation of collMITListItems
|
collQuerys | protected List collQuerys(Code) | | Collection to store aggregation of collQuerys
|
collRModuleUserAttributes | protected List collRModuleUserAttributes(Code) | | Collection to store aggregation of collRModuleUserAttributes
|
addMITListItem | public void addMITListItem(MITListItem l) throws TorqueException(Code) | | Method called to associate a MITListItem object to this object
through the MITListItem foreign key attribute
Parameters: l - MITListItem throws: TorqueException - |
addQuery | public void addQuery(Query l) throws TorqueException(Code) | | Method called to associate a Query object to this object
through the Query foreign key attribute
Parameters: l - Query throws: TorqueException - |
addRModuleUserAttribute | public void addRModuleUserAttribute(RModuleUserAttribute l) throws TorqueException(Code) | | Method called to associate a RModuleUserAttribute object to this object
through the RModuleUserAttribute foreign key attribute
Parameters: l - RModuleUserAttribute throws: TorqueException - |
copy | public MITList 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.
|
getActive | public boolean getActive()(Code) | | Get the Active
boolean |
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 |
getFieldNames | public static synchronized List getFieldNames()(Code) | | Generate a list of field names.
a list of field names |
getListId | public Long getListId()(Code) | | Get the ListId
Long |
getMITListItems | public List getMITListItems() throws TorqueException(Code) | | If this collection has already been initialized, returns
the collection. Otherwise returns the results of
getMITListItems(new Criteria())
the collection of associated objects throws: TorqueException - |
getMITListItems | public List getMITListItems(Criteria criteria) throws TorqueException(Code) | | If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList has previously
been saved, it will retrieve related MITListItems from storage.
If this MITList is new, it will return
an empty collection or the current collection, the criteria
is ignored on a new object.
throws: TorqueException - |
getMITListItems | public List getMITListItems(Connection con) throws TorqueException(Code) | | If this collection has already been initialized, returns
the collection. Otherwise returns the results of
getMITListItems(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
|
getMITListItems | public List getMITListItems(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 MITList has previously
been saved, it will retrieve related MITListItems from storage.
If this MITList 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
|
getMITListItemsJoinIssueType | protected List getMITListItemsJoinIssueType(Criteria criteria) throws TorqueException(Code) | | If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList is new, it will return
an empty collection; or if this MITList has previously
been saved, it will retrieve related MITListItems 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 MITList.
|
getMITListItemsJoinMITList | protected List getMITListItemsJoinMITList(Criteria criteria) throws TorqueException(Code) | | If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList is new, it will return
an empty collection; or if this MITList has previously
been saved, it will retrieve related MITListItems 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 MITList.
|
getMITListItemsJoinScarabModule | protected List getMITListItemsJoinScarabModule(Criteria criteria) throws TorqueException(Code) | | If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList is new, it will return
an empty collection; or if this MITList has previously
been saved, it will retrieve related MITListItems 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 MITList.
|
getModifiable | public boolean getModifiable()(Code) | | Get the Modifiable
boolean |
getPeer | public MITListPeer 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.
|
getQuerys | public List getQuerys() throws TorqueException(Code) | | If this collection has already been initialized, returns
the collection. Otherwise returns the results of
getQuerys(new Criteria())
the collection of associated objects throws: TorqueException - |
getQuerys | public List getQuerys(Criteria criteria) throws TorqueException(Code) | | If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList has previously
been saved, it will retrieve related Querys from storage.
If this MITList is new, it will return
an empty collection or the current collection, the criteria
is ignored on a new object.
throws: TorqueException - |
getQuerys | public List getQuerys(Connection con) throws TorqueException(Code) | | If this collection has already been initialized, returns
the collection. Otherwise returns the results of
getQuerys(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
|
getQuerys | public List getQuerys(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 MITList has previously
been saved, it will retrieve related Querys from storage.
If this MITList 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
|
getQuerysJoinFrequency | protected List getQuerysJoinFrequency(Criteria criteria) throws TorqueException(Code) | | If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList is new, it will return
an empty collection; or if this MITList has previously
been saved, it will retrieve related Querys 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 MITList.
|
getQuerysJoinIssueType | protected List getQuerysJoinIssueType(Criteria criteria) throws TorqueException(Code) | | If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList is new, it will return
an empty collection; or if this MITList has previously
been saved, it will retrieve related Querys 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 MITList.
|
getQuerysJoinMITList | protected List getQuerysJoinMITList(Criteria criteria) throws TorqueException(Code) | | If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList is new, it will return
an empty collection; or if this MITList has previously
been saved, it will retrieve related Querys 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 MITList.
|
getQuerysJoinScarabModule | protected List getQuerysJoinScarabModule(Criteria criteria) throws TorqueException(Code) | | If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList is new, it will return
an empty collection; or if this MITList has previously
been saved, it will retrieve related Querys 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 MITList.
|
getQuerysJoinScarabUserImpl | protected List getQuerysJoinScarabUserImpl(Criteria criteria) throws TorqueException(Code) | | If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList is new, it will return
an empty collection; or if this MITList has previously
been saved, it will retrieve related Querys 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 MITList.
|
getQuerysJoinScope | protected List getQuerysJoinScope(Criteria criteria) throws TorqueException(Code) | | If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList is new, it will return
an empty collection; or if this MITList has previously
been saved, it will retrieve related Querys 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 MITList.
|
getRModuleUserAttributes | public List getRModuleUserAttributes() throws TorqueException(Code) | | If this collection has already been initialized, returns
the collection. Otherwise returns the results of
getRModuleUserAttributes(new Criteria())
the collection of associated objects throws: TorqueException - |
getRModuleUserAttributes | public List getRModuleUserAttributes(Criteria criteria) throws TorqueException(Code) | | If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList has previously
been saved, it will retrieve related RModuleUserAttributes from storage.
If this MITList is new, it will return
an empty collection or the current collection, the criteria
is ignored on a new object.
throws: TorqueException - |
getRModuleUserAttributes | public List getRModuleUserAttributes(Connection con) throws TorqueException(Code) | | If this collection has already been initialized, returns
the collection. Otherwise returns the results of
getRModuleUserAttributes(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
|
getRModuleUserAttributes | public List getRModuleUserAttributes(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 MITList has previously
been saved, it will retrieve related RModuleUserAttributes from storage.
If this MITList 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
|
getRModuleUserAttributesJoinAttribute | protected List getRModuleUserAttributesJoinAttribute(Criteria criteria) throws TorqueException(Code) | | If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList is new, it will return
an empty collection; or if this MITList has previously
been saved, it will retrieve related RModuleUserAttributes 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 MITList.
|
getRModuleUserAttributesJoinIssueType | protected List getRModuleUserAttributesJoinIssueType(Criteria criteria) throws TorqueException(Code) | | If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList is new, it will return
an empty collection; or if this MITList has previously
been saved, it will retrieve related RModuleUserAttributes 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 MITList.
|
getRModuleUserAttributesJoinMITList | protected List getRModuleUserAttributesJoinMITList(Criteria criteria) throws TorqueException(Code) | | If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList is new, it will return
an empty collection; or if this MITList has previously
been saved, it will retrieve related RModuleUserAttributes 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 MITList.
|
getRModuleUserAttributesJoinScarabModule | protected List getRModuleUserAttributesJoinScarabModule(Criteria criteria) throws TorqueException(Code) | | If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList is new, it will return
an empty collection; or if this MITList has previously
been saved, it will retrieve related RModuleUserAttributes 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 MITList.
|
getRModuleUserAttributesJoinScarabUserImpl | protected List getRModuleUserAttributesJoinScarabUserImpl(Criteria criteria) throws TorqueException(Code) | | If this collection has already been initialized with
an identical criteria, it returns the collection.
Otherwise if this MITList is new, it will return
an empty collection; or if this MITList has previously
been saved, it will retrieve related RModuleUserAttributes 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 MITList.
|
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 - |
initMITListItems | protected void initMITListItems()(Code) | | Temporary storage of collMITListItems to save a possible db hit in
the event objects are add to the collection, but the
complete collection is never requested.
|
initQuerys | protected void initQuerys()(Code) | | Temporary storage of collQuerys to save a possible db hit in
the event objects are add to the collection, but the
complete collection is never requested.
|
initRModuleUserAttributes | protected void initRModuleUserAttributes()(Code) | | Temporary storage of collRModuleUserAttributes 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 - |
setActive | public void setActive(boolean v)(Code) | | Set the value of Active
Parameters: v - new value |
setListId | public void setListId(Long v) throws TorqueException(Code) | | Set the value of ListId
Parameters: v - new value |
setModifiable | public void setModifiable(boolean v)(Code) | | Set the value of Modifiable
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 - listId 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.
|
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())
|
setUserId | public void setUserId(Integer v) throws TorqueException(Code) | | Set the value of UserId
Parameters: v - new value |
|
|