当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
Finder - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.migration.helper
Class Finder
java.lang.Object
org.jboss.portal.migration.helper.Finder
- public class Finder
- extends java.lang.Object
Class grouping reusable queries for migration
Method Summary |
static Role20Impl |
findRole20ByName(org.hibernate.Session session,
java.lang.String name)
|
static Role22Impl |
findRole22ByName(org.hibernate.Session session,
java.lang.String name)
|
static Role24Impl |
findRole24ByName(org.hibernate.Session session,
java.lang.String name)
|
static java.util.Set |
findRoles20(org.hibernate.Session session)
|
static java.util.Set |
findRoles20ByNames(org.hibernate.Session session,
java.lang.String[] names)
|
static java.util.Set |
findRoles22(org.hibernate.Session session)
|
static java.util.Set |
findRoles22ByNames(org.hibernate.Session session,
java.lang.String[] names)
|
static User20Impl |
findUser20ById(org.hibernate.Session session,
java.lang.Object id)
|
static User20Impl |
findUser20ById(org.hibernate.Session session,
java.lang.String id)
|
static User20Impl |
findUser20ByUserName(org.hibernate.Session session,
java.lang.String userName)
|
static User22Impl |
findUser22ById(org.hibernate.Session session,
java.lang.Object id)
|
static User22Impl |
findUser22ById(org.hibernate.Session session,
java.lang.String id)
|
static User22Impl |
findUser22ByUserName(org.hibernate.Session session,
java.lang.String userName)
|
static User24Impl |
findUser24ByUserName(org.hibernate.Session session,
java.lang.String userName)
|
static java.util.Set |
findUsers20(org.hibernate.Session session,
int offset,
int limit)
|
static java.util.Set |
findUsers20Ids(org.hibernate.Session session)
|
static java.util.Set |
findUsers22(org.hibernate.Session session,
int offset,
int limit)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Finder
public Finder()
findUsers20
public static java.util.Set findUsers20(org.hibernate.Session session,
int offset,
int limit)
throws ModuleException
- Throws:
ModuleException
findUser20ById
public static User20Impl findUser20ById(org.hibernate.Session session,
java.lang.String id)
throws java.lang.IllegalArgumentException,
ModuleException,
NoSuchUserException
- Throws:
java.lang.IllegalArgumentException
ModuleException
NoSuchUserException
findUser20ById
public static User20Impl findUser20ById(org.hibernate.Session session,
java.lang.Object id)
throws java.lang.IllegalArgumentException,
ModuleException,
NoSuchUserException
- Throws:
java.lang.IllegalArgumentException
ModuleException
NoSuchUserException
findUsers20Ids
public static java.util.Set findUsers20Ids(org.hibernate.Session session)
throws ModuleException
- Throws:
ModuleException
findUsers22
public static java.util.Set findUsers22(org.hibernate.Session session,
int offset,
int limit)
throws ModuleException
- Throws:
ModuleException
findUser22ById
public static User22Impl findUser22ById(org.hibernate.Session session,
java.lang.String id)
throws java.lang.IllegalArgumentException,
ModuleException,
NoSuchUserException
- Throws:
java.lang.IllegalArgumentException
ModuleException
NoSuchUserException
findUser22ById
public static User22Impl findUser22ById(org.hibernate.Session session,
java.lang.Object id)
throws java.lang.IllegalArgumentException,
ModuleException,
NoSuchUserException
- Throws:
java.lang.IllegalArgumentException
ModuleException
NoSuchUserException
findUser20ByUserName
public static User20Impl findUser20ByUserName(org.hibernate.Session session,
java.lang.String userName)
throws ModuleException
- Throws:
ModuleException
findUser22ByUserName
public static User22Impl findUser22ByUserName(org.hibernate.Session session,
java.lang.String userName)
throws ModuleException
- Throws:
ModuleException
findUser24ByUserName
public static User24Impl findUser24ByUserName(org.hibernate.Session session,
java.lang.String userName)
throws ModuleException
- Throws:
ModuleException
findRoles20
public static java.util.Set findRoles20(org.hibernate.Session session)
throws ModuleException
- Throws:
ModuleException
findRole20ByName
public static Role20Impl findRole20ByName(org.hibernate.Session session,
java.lang.String name)
throws ModuleException
- Throws:
ModuleException
findRoles20ByNames
public static java.util.Set findRoles20ByNames(org.hibernate.Session session,
java.lang.String[] names)
throws ModuleException
- Throws:
ModuleException
findRoles22
public static java.util.Set findRoles22(org.hibernate.Session session)
throws ModuleException
- Throws:
ModuleException
findRole22ByName
public static Role22Impl findRole22ByName(org.hibernate.Session session,
java.lang.String name)
throws ModuleException
- Throws:
ModuleException
findRole24ByName
public static Role24Impl findRole24ByName(org.hibernate.Session session,
java.lang.String name)
throws ModuleException
- Throws:
ModuleException
findRoles22ByNames
public static java.util.Set findRoles22ByNames(org.hibernate.Session session,
java.lang.String[] names)
throws ModuleException
- Throws:
ModuleException