Java Doc for HibernateUserManagerImpl.java in  » Blogger-System » apache-roller-3.1 » org » apache » roller » business » hibernate » 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 » Blogger System » apache roller 3.1 » org.apache.roller.business.hibernate 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.apache.roller.business.hibernate.HibernateUserManagerImpl

HibernateUserManagerImpl
public class HibernateUserManagerImpl implements UserManager(Code)
Hibernate implementation of the UserManager.

Inner Class :class IgnoreCaseEqExpression extends SimpleExpression

Field Summary
final static  longserialVersionUID
    

Constructor Summary
public  HibernateUserManagerImpl(HibernatePersistenceStrategy strat)
    

Method Summary
public  voidaddUser(UserData newUser)
    
public  voidaddWebsite(WebsiteData newWeblog)
    
public  ListgetAllPermissions(WebsiteData website)
    
public  ListgetAllPermissions(UserData user)
     Get all permissions of a user.
public  ListgetMostCommentedWebsites(Date startDate, Date endDate, int offset, int length)
    
public  WeblogTemplategetPage(String id)
    
public  WeblogTemplategetPageByLink(WebsiteData website, String pagelink)
     Use Hibernate directly because Roller's Query API does too much allocation.
public  WeblogTemplategetPageByName(WebsiteData website, String pagename)
    
public  ListgetPages(WebsiteData website)
    
public  ListgetPendingPermissions(UserData user)
    
public  ListgetPendingPermissions(WebsiteData website)
    
public  PermissionsDatagetPermissions(String inviteId)
    
public  PermissionsDatagetPermissions(WebsiteData website, UserData user)
    
public  UserDatagetUser(String id)
    
public  UserDatagetUserByUserName(String userName)
    
public  UserDatagetUserByUserName(String userName, Boolean enabled)
    
public  MapgetUserNameLetterMap()
    
public  ListgetUsers(int offset, int length)
    
public  ListgetUsers(Boolean enabled, Date startDate, Date endDate, int offset, int length)
    
public  ListgetUsers(WebsiteData website, Boolean enabled, int offset, int length)
    
public  ListgetUsersByLetter(char letter, int offset, int length)
    
public  ListgetUsersStartingWith(String startsWith, Boolean enabled, int offset, int length)
    
public  MapgetWeblogHandleLetterMap()
    
public  ListgetWeblogsByLetter(char letter, int offset, int length)
    
public  WebsiteDatagetWebsite(String id)
    
public  WebsiteDatagetWebsiteByHandle(String handle)
    
public  WebsiteDatagetWebsiteByHandle(String handle, Boolean enabled)
     Return website specified by handle.
public  ListgetWebsites(UserData user, Boolean enabled, Boolean active, Date startDate, Date endDate, int offset, int length)
    
public  PermissionsDatainviteUser(WebsiteData website, UserData user, short mask)
     Creates and stores a pending PermissionsData for user and website specified.
public  voidrelease()
    
public  voidremovePage(WeblogTemplate page)
    
public  voidremovePermissions(PermissionsData perms)
    
public  voidremoveUser(UserData user)
    
public  voidremoveWebsite(WebsiteData weblog)
    
public  voidretireUser(WebsiteData website, UserData user)
     Remove user permissions from a website.
public  voidsavePage(WeblogTemplate page)
    
public  voidsavePermissions(PermissionsData perms)
    
public  voidsaveUser(UserData data)
    
public  voidsaveWebsite(WebsiteData website)
     Update existing website.

Field Detail
serialVersionUID
final static long serialVersionUID(Code)




Constructor Detail
HibernateUserManagerImpl
public HibernateUserManagerImpl(HibernatePersistenceStrategy strat)(Code)




Method Detail
addUser
public void addUser(UserData newUser) throws RollerException(Code)



addWebsite
public void addWebsite(WebsiteData newWeblog) throws RollerException(Code)



getAllPermissions
public List getAllPermissions(WebsiteData website) throws RollerException(Code)
Get all permissions of a website (pendings not including)



getAllPermissions
public List getAllPermissions(UserData user) throws RollerException(Code)
Get all permissions of a user.



getMostCommentedWebsites
public List getMostCommentedWebsites(Date startDate, Date endDate, int offset, int length) throws RollerException(Code)



getPage
public WeblogTemplate getPage(String id) throws RollerException(Code)



getPageByLink
public WeblogTemplate getPageByLink(WebsiteData website, String pagelink) throws RollerException(Code)
Use Hibernate directly because Roller's Query API does too much allocation.



getPageByName
public WeblogTemplate getPageByName(WebsiteData website, String pagename) throws RollerException(Code)

See Also:   org.apache.roller.model.UserManager.getPageByName(WebsiteDatajava.lang.String)



getPages
public List getPages(WebsiteData website) throws RollerException(Code)

See Also:   org.apache.roller.model.UserManager.getPages(WebsiteData)



getPendingPermissions
public List getPendingPermissions(UserData user) throws RollerException(Code)
Get pending permissions for user



getPendingPermissions
public List getPendingPermissions(WebsiteData website) throws RollerException(Code)
Get pending permissions for website



getPermissions
public PermissionsData getPermissions(String inviteId) throws RollerException(Code)



getPermissions
public PermissionsData getPermissions(WebsiteData website, UserData user) throws RollerException(Code)
Return permissions for specified user in website



getUser
public UserData getUser(String id) throws RollerException(Code)



getUserByUserName
public UserData getUserByUserName(String userName) throws RollerException(Code)



getUserByUserName
public UserData getUserByUserName(String userName, Boolean enabled) throws RollerException(Code)



getUserNameLetterMap
public Map getUserNameLetterMap() throws RollerException(Code)



getUsers
public List getUsers(int offset, int length) throws RollerException(Code)



getUsers
public List getUsers(Boolean enabled, Date startDate, Date endDate, int offset, int length) throws RollerException(Code)



getUsers
public List getUsers(WebsiteData website, Boolean enabled, int offset, int length) throws RollerException(Code)
Get users of a website



getUsersByLetter
public List getUsersByLetter(char letter, int offset, int length) throws RollerException(Code)



getUsersStartingWith
public List getUsersStartingWith(String startsWith, Boolean enabled, int offset, int length) throws RollerException(Code)



getWeblogHandleLetterMap
public Map getWeblogHandleLetterMap() throws RollerException(Code)



getWeblogsByLetter
public List getWeblogsByLetter(char letter, int offset, int length) throws RollerException(Code)



getWebsite
public WebsiteData getWebsite(String id) throws RollerException(Code)



getWebsiteByHandle
public WebsiteData getWebsiteByHandle(String handle) throws RollerException(Code)



getWebsiteByHandle
public WebsiteData getWebsiteByHandle(String handle, Boolean enabled) throws RollerException(Code)
Return website specified by handle.



getWebsites
public List getWebsites(UserData user, Boolean enabled, Boolean active, Date startDate, Date endDate, int offset, int length) throws RollerException(Code)
Get websites of a user



inviteUser
public PermissionsData inviteUser(WebsiteData website, UserData user, short mask) throws RollerException(Code)
Creates and stores a pending PermissionsData for user and website specified. TODO BACKEND: do we really need this? can't we just use storePermissions()?



release
public void release()(Code)



removePage
public void removePage(WeblogTemplate page) throws RollerException(Code)



removePermissions
public void removePermissions(PermissionsData perms) throws RollerException(Code)



removeUser
public void removeUser(UserData user) throws RollerException(Code)



removeWebsite
public void removeWebsite(WebsiteData weblog) throws RollerException(Code)



retireUser
public void retireUser(WebsiteData website, UserData user) throws RollerException(Code)
Remove user permissions from a website. TODO: replace this with a domain model method like weblog.retireUser(user)



savePage
public void savePage(WeblogTemplate page) throws RollerException(Code)

See Also:   org.apache.roller.model.UserManager.storePage(org.apache.roller.pojos.WeblogTemplate)



savePermissions
public void savePermissions(PermissionsData perms) throws RollerException(Code)



saveUser
public void saveUser(UserData data) throws RollerException(Code)



saveWebsite
public void saveWebsite(WebsiteData website) throws RollerException(Code)
Update existing website.



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.