| 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 | |
Method Summary | |
public void | addUser(UserData newUser) | public void | addWebsite(WebsiteData newWeblog) | public List | getAllPermissions(WebsiteData website) | public List | getAllPermissions(UserData user) Get all permissions of a user. | public List | getMostCommentedWebsites(Date startDate, Date endDate, int offset, int length) | public WeblogTemplate | getPage(String id) | public WeblogTemplate | getPageByLink(WebsiteData website, String pagelink) Use Hibernate directly because Roller's Query API does too much allocation. | public WeblogTemplate | getPageByName(WebsiteData website, String pagename) | public List | getPages(WebsiteData website) | public List | getPendingPermissions(UserData user) | public List | getPendingPermissions(WebsiteData website) | public PermissionsData | getPermissions(String inviteId) | public PermissionsData | getPermissions(WebsiteData website, UserData user) | public UserData | getUser(String id) | public UserData | getUserByUserName(String userName) | public UserData | getUserByUserName(String userName, Boolean enabled) | public Map | getUserNameLetterMap() | public List | getUsers(int offset, int length) | public List | getUsers(Boolean enabled, Date startDate, Date endDate, int offset, int length) | public List | getUsers(WebsiteData website, Boolean enabled, int offset, int length) | public List | getUsersByLetter(char letter, int offset, int length) | public List | getUsersStartingWith(String startsWith, Boolean enabled, int offset, int length) | public Map | getWeblogHandleLetterMap() | public List | getWeblogsByLetter(char letter, int offset, int length) | public WebsiteData | getWebsite(String id) | public WebsiteData | getWebsiteByHandle(String handle) | public WebsiteData | getWebsiteByHandle(String handle, Boolean enabled) Return website specified by handle. | public List | getWebsites(UserData user, Boolean enabled, Boolean active, Date startDate, Date endDate, int offset, int length) | public PermissionsData | inviteUser(WebsiteData website, UserData user, short mask) Creates and stores a pending PermissionsData for user and website specified. | public void | release() | public void | removePage(WeblogTemplate page) | public void | removePermissions(PermissionsData perms) | public void | removeUser(UserData user) | public void | removeWebsite(WebsiteData weblog) | public void | retireUser(WebsiteData website, UserData user) Remove user permissions from a website. | public void | savePage(WeblogTemplate page) | public void | savePermissions(PermissionsData perms) | public void | saveUser(UserData data) | public void | saveWebsite(WebsiteData website) Update existing website. |
serialVersionUID | final static long serialVersionUID(Code) | | |
release | public void release()(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)
|
|
|