| |
|
| org.tigris.scarab.om.BaseMITList org.tigris.scarab.om.MITList
MITList | public class MITList extends BaseMITList implements Persistent(Code) | | A class representing a list (not List) of MITListItems. MIT stands for
Module and IssueType. This class contains corresponding methods to many
in Module which take a single IssueType. for example
module.getAttributes(issueType) is replaced with
mitList.getCommonAttributes() in cases where several modules and issuetypes
are involved.
author: Jon S. Stevens author: John McNally version: $Id: MITList.java 10080 2006-04-30 23:38:30Z jorgeuriarte $ |
Inner Class :public class ItemsIterator implements Iterator | |
addAll | public void addAll(MITList list) throws TorqueException(Code) | | |
addMITListItem | public void addMITListItem(MITListItem item) throws TorqueException(Code) | | |
addToCriteria | public void addToCriteria(Criteria crit) throws TorqueException(Code) | | |
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.
|
getAllRModuleOptionTree | public List getAllRModuleOptionTree(Attribute attribute) throws TorqueException(Code) | | |
getAllRModuleUserAttributes | public List getAllRModuleUserAttributes() throws TorqueException, DataSetException, TurbineSecurityException(Code) | | |
getAttributes | public List getAttributes(boolean activeOnly, boolean commonOnly) throws TorqueException, DataSetException(Code) | | Get the list of all attributes in this MITList.
If activeOnly is set to true, return only active attrivutes.
If commonOnly is true,return only attributes, which are common
in all MITListItems in this list.
Parameters: activeOnly - Parameters: commonOnly - throws: TorqueException - throws: DataSetException - |
getCommonAttributes | public List getCommonAttributes() throws TorqueException, DataSetException(Code) | | |
getCommonAttributes | public List getCommonAttributes(boolean activeOnly) throws TorqueException, DataSetException(Code) | | |
getCommonNonUserAttributes | public List getCommonNonUserAttributes() throws TorqueException, DataSetException(Code) | | |
getCommonOptionAttributes | public List getCommonOptionAttributes() throws TorqueException, DataSetException(Code) | | |
getCommonRModuleUserAttributes | public List getCommonRModuleUserAttributes() throws TorqueException, DataSetException, TurbineSecurityException(Code) | | |
getCommonUserAttributes | public List getCommonUserAttributes(boolean activeOnly) throws TorqueException, DataSetException(Code) | | gets a list of all of the User Attributes common to all modules in
the list.
|
getCommonUserAttributes | public List getCommonUserAttributes() throws TorqueException, DataSetException(Code) | | |
getExpandedMITListItems | public List getExpandedMITListItems()(Code) | | |
getIssueTypeIds | public List getIssueTypeIds()(Code) | | |
getModule | public Module getModule() throws TorqueException(Code) | | |
getModules | public List getModules() throws TorqueException(Code) | | |
getPermittedSublist | public MITList getPermittedSublist(String permission, ScarabUser user) throws TorqueException(Code) | | Creates a new MITList containing only those items from this list
for which the searcher has the given permission.
Parameters: permission - a String value Parameters: searcher - a ScarabUser value a MITList value |
getPermittedSublist | public MITList getPermittedSublist(String[] permissions, ScarabUser user) throws TorqueException(Code) | | Creates a new MITList containing only those items from this list
for which the searcher has at least one of the permission.
Parameters: permission - a String value Parameters: searcher - a ScarabUser value a MITList value |
getPotentialAssignees | public List getPotentialAssignees(boolean includeCommitters) throws TorqueException, DataSetException(Code) | | potential assignee must have at least one of the permissions
for the user attributes in all the modules.
|
getSavedRMUAs | protected List getSavedRMUAs() throws TorqueException(Code) | | |
getUserAttributePermissions | public List getUserAttributePermissions() throws TorqueException, DataSetException(Code) | | gets a list of permissions associated with the User Attributes
that are active for this Module.
|
isAnonymous | public boolean isAnonymous()(Code) | | |
isCommon | public boolean isCommon(Attribute attribute, boolean activeOnly) throws TorqueException, DataSetException(Code) | | Checks all items to see if they contain the attribute.
Parameters: attribute - an Attribute value a boolean value |
isCommon | public boolean isCommon(Attribute attribute) throws TorqueException, DataSetException(Code) | | |
isCommon | public boolean isCommon(AttributeOption option, boolean activeOnly) throws TorqueException, DataSetException(Code) | | Checks all items after the first to see if they contain the attribute.
It is assumed the attribute is included in the first item.
Parameters: option - an Attribute value a boolean value |
isEmpty | public boolean isEmpty()(Code) | | tests if the list is empty
true if the list is empty, otherwise false |
isModifiable | public boolean isModifiable()(Code) | | Alias for getModifiable()
a boolean value |
isSingleIssueType | public boolean isSingleIssueType()(Code) | | |
isSingleModule | public boolean isSingleModule()(Code) | | |
isSingleModuleIssueType | public boolean isSingleModuleIssueType()(Code) | | |
setScarabUser | public void setScarabUser(ScarabUser v) throws TorqueException(Code) | | Declares an association between this object and a ScarabUser object
Parameters: v - |
|
|
|