Java Doc for JtracImpl.java in  » Issue-Tracking » jTrac » info » jtrac » 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 » jTrac » info.jtrac 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   info.jtrac.JtracImpl

JtracImpl
public class JtracImpl implements Jtrac(Code)
Jtrac Service Layer implementation This is where all the business logic is For data persistence this delegates to JtracDao




Method Summary
public  intbulkUpdateDeleteSpaceRole(Space space, String roleKey)
    
public  intbulkUpdateFieldToNull(Space space, Field field)
    
public  intbulkUpdateFieldToNullForValue(Space space, Field field, int optionKey)
    
public  intbulkUpdateRenameSpaceRole(Space space, String oldRoleKey, String newRoleKey)
    
public  intbulkUpdateStatusToOpen(Space space, int status)
    
public  voidclearIndexes()
    
public  StringencodeClearText(String clearText)
    
public  voidexecuteHourlyTask()
    
public  voidexecutePollingTask()
    
public  List<AbstractItem>findAllItems()
    
public  List<Space>findAllSpaces()
    
public  List<User>findAllUsers()
    
public  List<Item>findItems(ItemSearch itemSearch)
    
public  List<Space>findSpacesWhereGuestAllowed()
    
public  List<Space>findUnallocatedSpacesForUser(long userId)
    
public  List<User>findUnallocatedUsersForSpace(long spaceId)
    
public  List<UserSpaceRole>findUserRolesForSpace(long spaceId)
    
public  List<User>findUsersForSpace(long spaceId)
    
public  List<User>findUsersForUser(User user)
    
public  List<User>findUsersMatching(String searchText, String searchOn)
    
public  List<User>findUsersWithRoleForSpace(long spaceId, String roleKey)
    
public  StringgeneratePassword()
    
public  intgetAttachmentMaxSizeInMb()
    
public  StringgetDefaultLocale()
    
public  StringgetJtracHome()
    
public  Map<String, String>getLocales()
    
public  StringgetReleaseTimestamp()
    
public  StringgetReleaseVersion()
    
public  intgetSessionTimeoutInMinutes()
    
public  voidindex(AbstractItem item)
    
public  voidinit()
    
public  Map<String, String>loadAllConfig()
    
public  StringloadConfig(String param)
    
public  intloadCountOfHistoryInvolvingUser(User user)
    
public  intloadCountOfRecordsHavingFieldNotNull(Space space, Field field)
    
public  intloadCountOfRecordsHavingFieldWithValue(Space space, Field field, int optionKey)
    
public  intloadCountOfRecordsHavingStatus(Space space, int status)
    
public  CountsHolderloadCountsForUser(User user)
    
public  CountsloadCountsForUserSpace(User user, Space space)
    
public  HistoryloadHistory(long id)
    
public  ItemloadItem(long id)
    
public  ItemloadItemByRefId(String refId)
    
public  MetadataloadMetadata(long id)
    
public  SpaceloadSpace(long id)
    
public  SpaceloadSpace(String prefixCode)
    
public  UserloadUser(long id)
    
public  UserloadUser(String loginName)
    
public  UserDetailsloadUserByUsername(String loginName)
    
public  UserSpaceRoleloadUserSpaceRole(long id)
    
public  voidrebuildIndexes()
    
public  voidremoveItem(Item item)
    
public  voidremoveItemItem(ItemItem itemItem)
    
public  voidremoveSpace(Space space)
    
public  voidremoveUser(User user)
    
public  voidremoveUserSpaceRole(UserSpaceRole userSpaceRole)
    
public  voidsetDao(JtracDao dao)
    
public  voidsetIndexSearcher(IndexSearcher indexSearcher)
    
public  voidsetIndexer(Indexer indexer)
    
public  voidsetJtracHome(String jtracHome)
    
public  voidsetLocaleList(String[] array)
    
public  voidsetMessageSource(MessageSource messageSource)
    
public  voidsetPasswordEncoder(PasswordEncoder passwordEncoder)
    
public  voidsetReleaseTimestamp(String releaseTimestamp)
    
public  voidsetReleaseVersion(String releaseVersion)
    
public  voidstoreConfig(Config config)
    
public synchronized  voidstoreHistoryForItem(long itemId, History history, FileUpload fileUpload)
    
public synchronized  voidstoreItem(Item item, FileUpload fileUpload)
    
public  voidstoreMetadata(Metadata metadata)
    
public  voidstoreSpace(Space space)
    
public  voidstoreUser(User user)
    
public  voidstoreUser(User user, String password, boolean sendNotifications)
    
public  voidstoreUserSpaceRole(User user, Space space, String roleKey)
    
public  voidupdateItem(Item item, User user)
    
public  booleanvalidateTextSearchQuery(String text)
    



Method Detail
bulkUpdateDeleteSpaceRole
public int bulkUpdateDeleteSpaceRole(Space space, String roleKey)(Code)



bulkUpdateFieldToNull
public int bulkUpdateFieldToNull(Space space, Field field)(Code)



bulkUpdateFieldToNullForValue
public int bulkUpdateFieldToNullForValue(Space space, Field field, int optionKey)(Code)



bulkUpdateRenameSpaceRole
public int bulkUpdateRenameSpaceRole(Space space, String oldRoleKey, String newRoleKey)(Code)



bulkUpdateStatusToOpen
public int bulkUpdateStatusToOpen(Space space, int status)(Code)



clearIndexes
public void clearIndexes()(Code)



encodeClearText
public String encodeClearText(String clearText)(Code)
this has not been factored into the util package or a helper class because it depends on the PasswordEncoder configured



executeHourlyTask
public void executeHourlyTask()(Code)



executePollingTask
public void executePollingTask()(Code)



findAllItems
public List<AbstractItem> findAllItems()(Code)



findAllSpaces
public List<Space> findAllSpaces()(Code)



findAllUsers
public List<User> findAllUsers()(Code)



findItems
public List<Item> findItems(ItemSearch itemSearch)(Code)



findSpacesWhereGuestAllowed
public List<Space> findSpacesWhereGuestAllowed()(Code)



findUnallocatedSpacesForUser
public List<Space> findUnallocatedSpacesForUser(long userId)(Code)



findUnallocatedUsersForSpace
public List<User> findUnallocatedUsersForSpace(long spaceId)(Code)



findUserRolesForSpace
public List<UserSpaceRole> findUserRolesForSpace(long spaceId)(Code)



findUsersForSpace
public List<User> findUsersForSpace(long spaceId)(Code)



findUsersForUser
public List<User> findUsersForUser(User user)(Code)



findUsersMatching
public List<User> findUsersMatching(String searchText, String searchOn)(Code)



findUsersWithRoleForSpace
public List<User> findUsersWithRoleForSpace(long spaceId, String roleKey)(Code)



generatePassword
public String generatePassword()(Code)
this has not been factored into the util package or a helper class because it depends on the PasswordEncoder configured



getAttachmentMaxSizeInMb
public int getAttachmentMaxSizeInMb()(Code)



getDefaultLocale
public String getDefaultLocale()(Code)



getJtracHome
public String getJtracHome()(Code)



getLocales
public Map<String, String> getLocales()(Code)



getReleaseTimestamp
public String getReleaseTimestamp()(Code)



getReleaseVersion
public String getReleaseVersion()(Code)



getSessionTimeoutInMinutes
public int getSessionTimeoutInMinutes()(Code)



index
public void index(AbstractItem item)(Code)



init
public void init()(Code)
this is automatically called by spring init-method hook on startup, also called whenever config is edited to refresh TODO move config into a settings class to reduce service clutter



loadAllConfig
public Map<String, String> loadAllConfig()(Code)



loadConfig
public String loadConfig(String param)(Code)



loadCountOfHistoryInvolvingUser
public int loadCountOfHistoryInvolvingUser(User user)(Code)



loadCountOfRecordsHavingFieldNotNull
public int loadCountOfRecordsHavingFieldNotNull(Space space, Field field)(Code)



loadCountOfRecordsHavingFieldWithValue
public int loadCountOfRecordsHavingFieldWithValue(Space space, Field field, int optionKey)(Code)



loadCountOfRecordsHavingStatus
public int loadCountOfRecordsHavingStatus(Space space, int status)(Code)



loadCountsForUser
public CountsHolder loadCountsForUser(User user)(Code)



loadCountsForUserSpace
public Counts loadCountsForUserSpace(User user, Space space)(Code)



loadHistory
public History loadHistory(long id)(Code)



loadItem
public Item loadItem(long id)(Code)



loadItemByRefId
public Item loadItemByRefId(String refId)(Code)



loadMetadata
public Metadata loadMetadata(long id)(Code)



loadSpace
public Space loadSpace(long id)(Code)



loadSpace
public Space loadSpace(String prefixCode)(Code)



loadUser
public User loadUser(long id)(Code)



loadUser
public User loadUser(String loginName)(Code)



loadUserByUsername
public UserDetails loadUserByUsername(String loginName)(Code)



loadUserSpaceRole
public UserSpaceRole loadUserSpaceRole(long id)(Code)



rebuildIndexes
public void rebuildIndexes()(Code)



removeItem
public void removeItem(Item item)(Code)



removeItemItem
public void removeItemItem(ItemItem itemItem)(Code)



removeSpace
public void removeSpace(Space space)(Code)



removeUser
public void removeUser(User user)(Code)



removeUserSpaceRole
public void removeUserSpaceRole(UserSpaceRole userSpaceRole)(Code)



setDao
public void setDao(JtracDao dao)(Code)



setIndexSearcher
public void setIndexSearcher(IndexSearcher indexSearcher)(Code)



setIndexer
public void setIndexer(Indexer indexer)(Code)



setJtracHome
public void setJtracHome(String jtracHome)(Code)



setLocaleList
public void setLocaleList(String[] array)(Code)



setMessageSource
public void setMessageSource(MessageSource messageSource)(Code)



setPasswordEncoder
public void setPasswordEncoder(PasswordEncoder passwordEncoder)(Code)



setReleaseTimestamp
public void setReleaseTimestamp(String releaseTimestamp)(Code)



setReleaseVersion
public void setReleaseVersion(String releaseVersion)(Code)



storeConfig
public void storeConfig(Config config)(Code)



storeHistoryForItem
public synchronized void storeHistoryForItem(long itemId, History history, FileUpload fileUpload)(Code)



storeItem
public synchronized void storeItem(Item item, FileUpload fileUpload)(Code)



storeMetadata
public void storeMetadata(Metadata metadata)(Code)



storeSpace
public void storeSpace(Space space)(Code)



storeUser
public void storeUser(User user)(Code)



storeUser
public void storeUser(User user, String password, boolean sendNotifications)(Code)



storeUserSpaceRole
public void storeUserSpaceRole(User user, Space space, String roleKey)(Code)



updateItem
public void updateItem(Item item, User user)(Code)



validateTextSearchQuery
public boolean validateTextSearchQuery(String text)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.