Java Doc for MITList.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.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



Method Summary
public  voidaddAll(MITList list)
    
public  voidaddMITListItem(MITListItem item)
    
public  voidaddToCriteria(Criteria crit)
    
public  booleancontains(MITListItem item)
    
public  MITListcopy()
     Makes a copy of this object.
public  ListgetAllRModuleOptionTree(Attribute attribute)
    
public  ListgetAllRModuleUserAttributes()
    
public  ListgetAttributes(boolean activeOnly, boolean commonOnly)
     Get the list of all attributes in this MITList.
public  ListgetCommonAttributes()
    
public  ListgetCommonAttributes(boolean activeOnly)
    
public  ListgetCommonLeafRModuleOptions(Attribute attribute)
    
public  ListgetCommonNonUserAttributes()
    
public  ListgetCommonOptionAttributes()
    
public  ListgetCommonRModuleOptionTree(Attribute attribute)
    
public  ListgetCommonRModuleUserAttributes()
    
public  ListgetCommonUserAttributes(boolean activeOnly)
     gets a list of all of the User Attributes common to all modules in the list.
public  ListgetCommonUserAttributes()
    
public  ListgetDescendantsUnion(AttributeOption option)
    
public  ListgetExpandedMITListItems()
    
public  MITListItemgetFirstItem()
    
public  IssueTypegetIssueType()
    
public  ListgetIssueTypeIds()
    
public  ModulegetModule()
    
 ModulegetModule(MITListItem item)
    
public  ListgetModuleIds()
    
public  ListgetModules()
    
protected  RModuleUserAttributegetNewRModuleUserAttribute(Attribute attribute)
    
public  MITListgetPermittedSublist(String permission, ScarabUser user)
     Creates a new MITList containing only those items from this list for which the searcher has the given permission.
public  MITListgetPermittedSublist(String[] permissions, ScarabUser user)
     Creates a new MITList containing only those items from this list for which the searcher has at least one of the permission.
public  ListgetPotentialAssignees(boolean includeCommitters)
     potential assignee must have at least one of the permissions for the user attributes in all the modules.
protected  ListgetSavedRMUAs()
    
public  ScarabUsergetScarabUser()
    
public  ListgetUserAttributePermissions()
     gets a list of permissions associated with the User Attributes that are active for this Module.
public  booleanisAnonymous()
    
public  booleanisCommon(Attribute attribute, boolean activeOnly)
     Checks all items to see if they contain the attribute.
public  booleanisCommon(Attribute attribute)
    
public  booleanisCommon(AttributeOption option)
    
public  booleanisCommon(AttributeOption option, boolean activeOnly)
     Checks all items after the first to see if they contain the attribute.
public  booleanisEmpty()
    
public  booleanisModifiable()
    
public  booleanisSingleIssueType()
    
public  booleanisSingleModule()
    
public  booleanisSingleModuleIssueType()
    
public  Iteratoriterator()
    
public  voidsave(Connection con)
    
public  voidscheduleItemForDeletion(MITListItem item)
    
public  voidsetScarabUser(ScarabUser v)
    
public  intsize()
    
public  StringtoString()
    



Method Detail
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)



contains
public boolean contains(MITListItem item)(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)



getCommonLeafRModuleOptions
public List getCommonLeafRModuleOptions(Attribute attribute) throws TorqueException, ScarabException(Code)



getCommonNonUserAttributes
public List getCommonNonUserAttributes() throws TorqueException, DataSetException(Code)



getCommonOptionAttributes
public List getCommonOptionAttributes() throws TorqueException, DataSetException(Code)



getCommonRModuleOptionTree
public List getCommonRModuleOptionTree(Attribute attribute) throws TorqueException, ScarabException(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)



getDescendantsUnion
public List getDescendantsUnion(AttributeOption option) throws TorqueException(Code)



getExpandedMITListItems
public List getExpandedMITListItems()(Code)



getFirstItem
public MITListItem getFirstItem()(Code)



getIssueType
public IssueType getIssueType() throws TorqueException(Code)



getIssueTypeIds
public List getIssueTypeIds()(Code)



getModule
public Module getModule() throws TorqueException(Code)



getModule
Module getModule(MITListItem item) throws TorqueException(Code)



getModuleIds
public List getModuleIds()(Code)



getModules
public List getModules() throws TorqueException(Code)



getNewRModuleUserAttribute
protected RModuleUserAttribute getNewRModuleUserAttribute(Attribute attribute) 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)



getScarabUser
public ScarabUser getScarabUser() 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) 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)



iterator
public Iterator iterator()(Code)



save
public void save(Connection con) throws TorqueException(Code)



scheduleItemForDeletion
public void scheduleItemForDeletion(MITListItem item)(Code)



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



size
public int size()(Code)



toString
public String toString()(Code)



Fields inherited from org.tigris.scarab.om.BaseMITList
protected List collMITListItems(Code)(Java Doc)
protected List collQuerys(Code)(Java Doc)
protected List collRModuleUserAttributes(Code)(Java Doc)

Methods inherited from org.tigris.scarab.om.BaseMITList
public void addMITListItem(MITListItem l) throws TorqueException(Code)(Java Doc)
public void addQuery(Query l) throws TorqueException(Code)(Java Doc)
public void addRModuleUserAttribute(RModuleUserAttribute l) throws TorqueException(Code)(Java Doc)
public MITList copy() throws TorqueException(Code)(Java Doc)
protected MITList copyInto(MITList copyObj) throws TorqueException(Code)(Java Doc)
public boolean getActive()(Code)(Java Doc)
public Object getByName(String name)(Code)(Java Doc)
public Object getByPeerName(String name)(Code)(Java Doc)
public Object getByPosition(int pos)(Code)(Java Doc)
public static synchronized List getFieldNames()(Code)(Java Doc)
public Long getListId()(Code)(Java Doc)
public List getMITListItems() throws TorqueException(Code)(Java Doc)
public List getMITListItems(Criteria criteria) throws TorqueException(Code)(Java Doc)
public List getMITListItems(Connection con) throws TorqueException(Code)(Java Doc)
public List getMITListItems(Criteria criteria, Connection con) throws TorqueException(Code)(Java Doc)
protected List getMITListItemsJoinIssueType(Criteria criteria) throws TorqueException(Code)(Java Doc)
protected List getMITListItemsJoinMITList(Criteria criteria) throws TorqueException(Code)(Java Doc)
protected List getMITListItemsJoinScarabModule(Criteria criteria) throws TorqueException(Code)(Java Doc)
public boolean getModifiable()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public MITListPeer getPeer()(Code)(Java Doc)
public ObjectKey getPrimaryKey()(Code)(Java Doc)
public String getQueryKey()(Code)(Java Doc)
public List getQuerys() throws TorqueException(Code)(Java Doc)
public List getQuerys(Criteria criteria) throws TorqueException(Code)(Java Doc)
public List getQuerys(Connection con) throws TorqueException(Code)(Java Doc)
public List getQuerys(Criteria criteria, Connection con) throws TorqueException(Code)(Java Doc)
protected List getQuerysJoinFrequency(Criteria criteria) throws TorqueException(Code)(Java Doc)
protected List getQuerysJoinIssueType(Criteria criteria) throws TorqueException(Code)(Java Doc)
protected List getQuerysJoinMITList(Criteria criteria) throws TorqueException(Code)(Java Doc)
protected List getQuerysJoinScarabModule(Criteria criteria) throws TorqueException(Code)(Java Doc)
protected List getQuerysJoinScarabUserImpl(Criteria criteria) throws TorqueException(Code)(Java Doc)
protected List getQuerysJoinScope(Criteria criteria) throws TorqueException(Code)(Java Doc)
public List getRModuleUserAttributes() throws TorqueException(Code)(Java Doc)
public List getRModuleUserAttributes(Criteria criteria) throws TorqueException(Code)(Java Doc)
public List getRModuleUserAttributes(Connection con) throws TorqueException(Code)(Java Doc)
public List getRModuleUserAttributes(Criteria criteria, Connection con) throws TorqueException(Code)(Java Doc)
protected List getRModuleUserAttributesJoinAttribute(Criteria criteria) throws TorqueException(Code)(Java Doc)
protected List getRModuleUserAttributesJoinIssueType(Criteria criteria) throws TorqueException(Code)(Java Doc)
protected List getRModuleUserAttributesJoinMITList(Criteria criteria) throws TorqueException(Code)(Java Doc)
protected List getRModuleUserAttributesJoinScarabModule(Criteria criteria) throws TorqueException(Code)(Java Doc)
protected List getRModuleUserAttributesJoinScarabUserImpl(Criteria criteria) throws TorqueException(Code)(Java Doc)
public ScarabUser getScarabUser() throws TorqueException(Code)(Java Doc)
public ScarabUser getScarabUser(Connection connection) throws TorqueException(Code)(Java Doc)
public Integer getUserId()(Code)(Java Doc)
protected void initMITListItems()(Code)(Java Doc)
protected void initQuerys()(Code)(Java Doc)
protected void initRModuleUserAttributes()(Code)(Java Doc)
protected boolean isCacheOnSave()(Code)(Java Doc)
public void save() throws TorqueException(Code)(Java Doc)
public void save(String dbName) throws TorqueException(Code)(Java Doc)
public void save(Connection con) throws TorqueException(Code)(Java Doc)
public void setActive(boolean v)(Code)(Java Doc)
public void setListId(Long v) throws TorqueException(Code)(Java Doc)
public void setModifiable(boolean v)(Code)(Java Doc)
public void setName(String v)(Code)(Java Doc)
public void setPrimaryKey(ObjectKey key) throws TorqueException(Code)(Java Doc)
public void setPrimaryKey(String key) throws TorqueException(Code)(Java Doc)
public void setQueryKey(String key) throws TorqueException(Code)(Java Doc)
public void setScarabUser(ScarabUser v) throws TorqueException(Code)(Java Doc)
public void setScarabUserKey(ObjectKey key) throws TorqueException(Code)(Java Doc)
public void setUserId(Integer v) throws TorqueException(Code)(Java Doc)
public String toString()(Code)(Java Doc)

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