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

AbstractScarabUser
abstract public class AbstractScarabUser extends BaseObject (Code)
This class contains common code for the use in ScarabUser implementations. Functionality that is not implementation specific should go here.
author:
   Jon S. Stevens
author:
   John McNally
version:
   $Id: AbstractScarabUser.java 10264 2006-08-27 15:37:01Z jorgeuriarte $


Field Summary
protected  Localelocale
     The user's preferred locale.

Constructor Summary
public  AbstractScarabUser()
     Calls the superclass constructor to initialize this object.

Method Summary
public  voidaddRMITsToCurrentMITList(List rmits)
    
abstract protected  voiddeleteRModuleUserAttribute(RModuleUserAttribute rmua)
    
protected  voidfilterRMITList(List rmits, String searchField, String searchString)
     Filter on module or issue type name.
public  ListgetAllRModuleIssueTypes(Module module)
    
public  MapgetAssociatedUsersMap()
    
public  ListgetCopyToModules(Module currentModule, String action, String searchString)
     Get modules user can copy or move to.
public  ListgetCopyToModules(Module currentModule)
    
public  ListgetCopyToModules(Module currentModule, String action)
    
public  IssueTypegetCurrentIssueType()
    
public  MITListgetCurrentMITList()
    
public  ModulegetCurrentModule()
    
public  RModuleIssueTypegetCurrentRModuleIssueType()
    
public  ReportBridgegetCurrentReport(String key)
    
public  ListgetEditableModules()
    
public  ListgetEditableModules(Module currEditModule)
    
abstract public  StringgetEmail()
    
public  intgetEnterIssueRedirect()
     Returns integer representing user preference for Which screen to return to after entering an issue. 1 = Enter New Issue.
abstract public  StringgetFirstName()
    
public  StringgetHomePage()
    
public  StringgetHomePage(Module module)
    
abstract public  StringgetLastName()
    
public  LocalegetLocale()
     Gets the users default locale from the users preferences.
public  ListgetMITLists()
    
public  StringgetMatrixTarget()
    
abstract public  ListgetModules()
    
abstract public  Module[]getModules(String permission)
    
abstract public  ListgetModules(boolean showDeletedModules)
    
public  StringgetMostRecentQuery()
    
public  StringgetName()
    
protected  RModuleUserAttributegetNewRModuleUserAttribute(Attribute attribute, Module module, IssueType issueType)
    
public  LocalegetPreferredLocale()
    
public  StringgetQueryTarget()
    
public  RModuleUserAttributegetRModuleUserAttribute(Module module, Attribute attribute, IssueType issueType)
    
public  ListgetRModuleUserAttributes(Module module, IssueType issueType)
    
abstract protected  ListgetRModuleUserAttributes(Criteria crit)
     Should return a list of RModuleUserAttribute's that meet the given criteria.
public  IssuegetReportingIssue(String key)
    
public  ListgetSearchableRMITs(String searchField, String searchString, String sortColumn, String sortPolarity, Module skipModule)
    
public  MapgetSelectedUsersMap()
    
public  StringgetStats()
    
public  ObjectgetThreadKey()
    
public  ListgetUnusedRModuleIssueTypes(Module module)
    
abstract public  IntegergetUserId()
    
public  booleanhasAnySearchableRMITs()
    
public  booleanhasMostRecentQuery()
    
abstract public  booleanhasPermission(String perm, Module module)
    
public  booleanhasPermission(String perm, List modules)
    
public  booleanisShowOtherModulesInIssueTypeList()
    
public  ObjectlastEnteredIssueTypeOrTemplate()
    
public  voidremoveItemsFromCurrentMITList(String[] ids)
    
public  voidsave()
    
public  voidsave(String dbName)
    
public  voidsave(Connection dbCon)
    
public  voidsetAssociatedUsersMap(Map associatedUsers)
    
public  voidsetCurrentIssueType(IssueType v)
    
public  voidsetCurrentMITList(MITList list)
    
public  voidsetCurrentModule(Module v)
    
public  StringsetCurrentReport(ReportBridge report)
    
public  voidsetCurrentReport(String key, ReportBridge report)
    
public  voidsetEnterIssueRedirect(int templateCode)
     Sets integer representing user preference for Which screen to return to after entering an issue. 1 = Enter New Issue.
public  voidsetHomePage(String homePage)
    
public  voidsetLastEnteredIssueType(IssueType type)
    
public  voidsetLastEnteredTemplate(Issue template)
    
public  voidsetLocale(Locale newLocale)
     Set the user's locale to a new value.
public  voidsetMostRecentQuery(String queryString)
    
public  StringsetReportingIssue(Issue issue)
    
public  voidsetReportingIssue(String key, Issue issue)
    
public  voidsetSelectedUsersMap(Map selectedUsers)
    
public  voidsetShowOtherModulesInIssueTypeList(boolean newShowOtherModulesInIssueTypeList)
    
public  voidsetSingleIssueTypeQueryTarget(IssueType type, String target)
    
public  voidsetThreadKey(Integer key)
    
protected  voidsortRMITList(List rmits, String sortColumn, String sortPolarity)
     Sort module or issue type name.
public  voidupdateIssueListAttributes(List attributes)
    

Field Detail
locale
protected Locale locale(Code)
The user's preferred locale.




Constructor Detail
AbstractScarabUser
public AbstractScarabUser()(Code)
Calls the superclass constructor to initialize this object.




Method Detail
addRMITsToCurrentMITList
public void addRMITsToCurrentMITList(List rmits) throws TorqueException(Code)



deleteRModuleUserAttribute
abstract protected void deleteRModuleUserAttribute(RModuleUserAttribute rmua) throws TorqueException, TurbineSecurityException(Code)



filterRMITList
protected void filterRMITList(List rmits, String searchField, String searchString) throws TorqueException(Code)
Filter on module or issue type name.



getAllRModuleIssueTypes
public List getAllRModuleIssueTypes(Module module) throws TorqueException(Code)

See Also:    ScarabUser#getAllRModuleIssueTypes(Module).



getAssociatedUsersMap
public Map getAssociatedUsersMap() throws TorqueException(Code)

See Also:   org.tigris.scarab.om.ScarabUser.getAssociatedUsersMap



getCopyToModules
public List getCopyToModules(Module currentModule, String action, String searchString) throws TorqueException(Code)
Get modules user can copy or move to. If copying, requires ISSUE_ENTER permission If moving, requires ISSUE_MOVE permission to move To another module, or ISSUE_EDIT to move to another issue type.



getCopyToModules
public List getCopyToModules(Module currentModule) throws TorqueException(Code)

See Also:   org.tigris.scarab.om.ScarabUser.getCopyToModules(Module)



getCopyToModules
public List getCopyToModules(Module currentModule, String action) throws TorqueException(Code)

See Also:   org.tigris.scarab.om.ScarabUser.getCopyToModules(ModuleString)



getCurrentIssueType
public IssueType getCurrentIssueType() throws TorqueException(Code)
The current issue type



getCurrentMITList
public MITList getCurrentMITList()(Code)



getCurrentModule
public Module getCurrentModule()(Code)
The current module



getCurrentRModuleIssueType
public RModuleIssueType getCurrentRModuleIssueType() throws TorqueException(Code)

See Also:   ScarabUser.getCurrentRModuleIssueType



getCurrentReport
public ReportBridge getCurrentReport(String key)(Code)

See Also:   org.tigris.scarab.om.ScarabUser.getCurrentReport(String)



getEditableModules
public List getEditableModules() throws TorqueException(Code)

See Also:   org.tigris.scarab.om.ScarabUser.getEditableModules



getEditableModules
public List getEditableModules(Module currEditModule) throws TorqueException(Code)

See Also:   org.tigris.scarab.om.ScarabUser.getEditableModules(Module)



getEmail
abstract public String getEmail()(Code)

See Also:   org.tigris.scarab.om.ScarabUser.getEmail



getEnterIssueRedirect
public int getEnterIssueRedirect() throws TorqueException(Code)
Returns integer representing user preference for Which screen to return to after entering an issue. 1 = Enter New Issue. 2 = Assign Issue (default) 3 = View Issue. 4 = Issue Types index.



getFirstName
abstract public String getFirstName()(Code)

See Also:   org.tigris.scarab.om.ScarabUser.getFirstName



getHomePage
public String getHomePage() throws TorqueException(Code)

See Also:   ScarabUser.getHomePage



getHomePage
public String getHomePage(Module module)(Code)

See Also:   ScarabUser.getHomePage(Module)



getLastName
abstract public String getLastName()(Code)

See Also:   org.tigris.scarab.om.ScarabUser.getLastName



getLocale
public Locale getLocale()(Code)
Gets the users default locale from the users preferences.



getMITLists
public List getMITLists() throws TorqueException(Code)
Gets active, named lists a List value
exception:
  TorqueException - if an error occurs



getMatrixTarget
public String getMatrixTarget()(Code)



getModules
abstract public List getModules() throws TorqueException(Code)

See Also:   org.tigris.scarab.om.ScarabUser.getModules



getModules
abstract public Module[] getModules(String permission) throws TorqueException(Code)

See Also:   org.tigris.scarab.om.ScarabUser.getModules(String)



getModules
abstract public List getModules(boolean showDeletedModules) throws TorqueException(Code)

See Also:   org.tigris.scarab.om.ScarabUser.getModules(boolean)



getMostRecentQuery
public String getMostRecentQuery()(Code)

See Also:   org.tigris.scarab.om.ScarabUser.getMostRecentQuery



getName
public String getName()(Code)

See Also:   org.tigris.scarab.om.ScarabUser.getName
See Also:   It will be the "FirstName LastName", if both names have a value.



getNewRModuleUserAttribute
protected RModuleUserAttribute getNewRModuleUserAttribute(Attribute attribute, Module module, IssueType issueType) throws TorqueException(Code)



getPreferredLocale
public Locale getPreferredLocale()(Code)
get preferred Locale from user preferences



getQueryTarget
public String getQueryTarget()(Code)

See Also:   ScarabUser.getQueryTarget



getRModuleUserAttribute
public RModuleUserAttribute getRModuleUserAttribute(Module module, Attribute attribute, IssueType issueType) throws TorqueException, ScarabException(Code)

See Also:   org.tigris.scarab.om.ScarabUser.getRModuleUserAttribute(ModuleAttributeIssueType)



getRModuleUserAttributes
public List getRModuleUserAttributes(Module module, IssueType issueType) throws TorqueException(Code)

See Also:   org.tigris.scarab.om.ScarabUser.getRModuleUserAttributes(ModuleIssueType)



getRModuleUserAttributes
abstract protected List getRModuleUserAttributes(Criteria crit) throws TorqueException(Code)
Should return a list of RModuleUserAttribute's that meet the given criteria.



getReportingIssue
public Issue getReportingIssue(String key)(Code)

See Also:   org.tigris.scarab.om.ScarabUser.getReportingIssue(String)



getSearchableRMITs
public List getSearchableRMITs(String searchField, String searchString, String sortColumn, String sortPolarity, Module skipModule) throws TorqueException(Code)

See Also:    ScarabUser#getSearchableRMITs(String, String, String, String, Module).
See Also:   This list does not include
See Also:   RModuleIssueTypes that are part of the current MITList.



getSelectedUsersMap
public Map getSelectedUsersMap() throws TorqueException(Code)

See Also:   org.tigris.scarab.om.ScarabUser.getSelectedUsersMap



getStats
public String getStats()(Code)
Report the sizes of maps used to hold per-thread attributes



getThreadKey
public Object getThreadKey()(Code)

See Also:   ScarabUser.getThreadKey



getUnusedRModuleIssueTypes
public List getUnusedRModuleIssueTypes(Module module) throws TorqueException(Code)

See Also:    ScarabUser#getUnusedRModuleIssueTypes(Module).



getUserId
abstract public Integer getUserId()(Code)
The Primary Key used to reference this user in storage



hasAnySearchableRMITs
public boolean hasAnySearchableRMITs() throws TorqueException, DataSetException(Code)

See Also:    ScarabUser#hasAnySearchableRMITs().



hasMostRecentQuery
public boolean hasMostRecentQuery()(Code)

See Also:   org.tigris.scarab.om.ScarabUser.hasMostRecentQuery



hasPermission
abstract public boolean hasPermission(String perm, Module module)(Code)

See Also:   org.tigris.scarab.om.ScarabUser.hasPermission(StringModule)



hasPermission
public boolean hasPermission(String perm, List modules)(Code)

See Also:   org.tigris.scarab.om.ScarabUser.hasPermission(StringList)



isShowOtherModulesInIssueTypeList
public boolean isShowOtherModulesInIssueTypeList()(Code)

See Also:   org.tigris.scarab.om.ScarabUser.isShowOtherModulesInIssueTypeList



lastEnteredIssueTypeOrTemplate
public Object lastEnteredIssueTypeOrTemplate()(Code)



removeItemsFromCurrentMITList
public void removeItemsFromCurrentMITList(String[] ids)(Code)



save
public void save() throws TorqueException(Code)

See Also:   org.apache.torque.om.Persistent.save
See Also:   this implementation throws an UnsupportedOperationException.



save
public void save(String dbName) throws TorqueException(Code)

See Also:   org.apache.torque.om.Persistent.save(String)
See Also:   this implementation throws an UnsupportedOperationException.



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

See Also:   org.apache.torque.om.Persistent.save(Connection)
See Also:   this implementation throws an UnsupportedOperationException.



setAssociatedUsersMap
public void setAssociatedUsersMap(Map associatedUsers) throws TorqueException(Code)

See Also:   org.tigris.scarab.om.ScarabUser.setAssociatedUsersMap(Map)



setCurrentIssueType
public void setCurrentIssueType(IssueType v)(Code)
The current issue type



setCurrentMITList
public void setCurrentMITList(MITList list)(Code)

See Also:   org.tigris.scarab.om.ScarabUser.setCurrentMITList(MITList)



setCurrentModule
public void setCurrentModule(Module v)(Code)
The current module



setCurrentReport
public String setCurrentReport(ReportBridge report) throws ScarabException(Code)

See Also:   org.tigris.scarab.om.ScarabUser.setCurrentReport(ReportBridge)



setCurrentReport
public void setCurrentReport(String key, ReportBridge report)(Code)

See Also:   org.tigris.scarab.om.ScarabUser.setCurrentReport(StringReportBridge)



setEnterIssueRedirect
public void setEnterIssueRedirect(int templateCode) throws TorqueException(Code)
Sets integer representing user preference for Which screen to return to after entering an issue. 1 = Enter New Issue. 2 = Assign Issue (default) 3 = View Issue. 4 = Issue Types index.



setHomePage
public void setHomePage(String homePage) throws TorqueException, ScarabException(Code)

See Also:   ScarabUser.setHomePage(String)



setLastEnteredIssueType
public void setLastEnteredIssueType(IssueType type)(Code)

See Also:   org.tigris.scarab.om.ScarabUser.setLastEnteredIssueType(IssueType)



setLastEnteredTemplate
public void setLastEnteredTemplate(Issue template)(Code)

See Also:   org.tigris.scarab.om.ScarabUser.setLastEnteredTemplate(Issue)



setLocale
public void setLocale(Locale newLocale)(Code)
Set the user's locale to a new value.



setMostRecentQuery
public void setMostRecentQuery(String queryString)(Code)

See Also:   org.tigris.scarab.om.ScarabUser.setMostRecentQuery(String)



setReportingIssue
public String setReportingIssue(Issue issue) throws ScarabException(Code)

See Also:   org.tigris.scarab.om.ScarabUser.setReportingIssue(Issue)



setReportingIssue
public void setReportingIssue(String key, Issue issue)(Code)

See Also:   org.tigris.scarab.om.ScarabUser.setReportingIssue(StringIssue)



setSelectedUsersMap
public void setSelectedUsersMap(Map selectedUsers) throws TorqueException(Code)

See Also:   org.tigris.scarab.om.ScarabUser.setSelectedUsersMap(Map)



setShowOtherModulesInIssueTypeList
public void setShowOtherModulesInIssueTypeList(boolean newShowOtherModulesInIssueTypeList)(Code)

See Also:   org.tigris.scarab.om.ScarabUser.setShowOtherModulesInIssueTypeList(boolean)



setSingleIssueTypeQueryTarget
public void setSingleIssueTypeQueryTarget(IssueType type, String target)(Code)

See Also:   ScarabUser.setSingleIssueTypeQueryTarget(IssueTypeString)



setThreadKey
public void setThreadKey(Integer key)(Code)

See Also:   ScarabUser.setThreadKey(Integer)



sortRMITList
protected void sortRMITList(List rmits, String sortColumn, String sortPolarity) throws TorqueException(Code)
Sort module or issue type name.



updateIssueListAttributes
public void updateIssueListAttributes(List attributes) throws TorqueException, TurbineSecurityException(Code)

See Also:   org.tigris.scarab.om.ScarabUser.updateIssueListAttributes(List)



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