public class SelectDescriptorBuilder extends Object
| Constructor and Description |
|---|
SelectDescriptorBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SGroup> |
getChildrenOfGroup(org.bonitasoft.engine.identity.model.SGroup group,
int fromIndex,
int numberOfGroups) |
static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SGroup> |
getChildrenOfGroup(org.bonitasoft.engine.identity.model.SGroup group,
org.bonitasoft.engine.persistence.QueryOptions queryOptions) |
static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SGroup> |
getChildrenOfGroup(org.bonitasoft.engine.identity.model.SGroup group,
String field,
org.bonitasoft.engine.persistence.OrderByType order,
int fromIndex,
int numberOfGroups) |
static org.bonitasoft.engine.persistence.SelectOneDescriptor<org.bonitasoft.engine.identity.model.SCustomUserInfoDefinition> |
getCustomUserInfoDefinitionByName(String name) |
static <T extends org.bonitasoft.engine.persistence.PersistentObject> |
getElementById(Class<T> clazz,
String elementName,
long id) |
static <T extends org.bonitasoft.engine.persistence.PersistentObject> |
getElements(Class<T> clazz,
String elementName,
int fromIndex,
int numberOfElements) |
static <T extends org.bonitasoft.engine.persistence.PersistentObject> |
getElements(Class<T> clazz,
String elementName,
org.bonitasoft.engine.persistence.QueryOptions queryOptions) |
static <T extends org.bonitasoft.engine.persistence.PersistentObject> |
getElements(Class<T> clazz,
String elementName,
String field,
org.bonitasoft.engine.persistence.OrderByType order,
int fromIndex,
int numberOfElements) |
static <T extends org.bonitasoft.engine.persistence.PersistentObject> |
getElementsByIds(Class<T> clazz,
String elementName,
Collection<Long> ids) |
static org.bonitasoft.engine.persistence.SelectOneDescriptor<org.bonitasoft.engine.identity.model.SGroup> |
getGroupByName(String groupName) |
static org.bonitasoft.engine.persistence.SelectOneDescriptor<org.bonitasoft.engine.identity.model.SGroup> |
getGroupByPath(String parentPath,
String groupName) |
static <T extends org.bonitasoft.engine.persistence.PersistentObject> |
getLightElementById(Class<T> clazz,
String elementName,
long id) |
static org.bonitasoft.engine.persistence.SelectOneDescriptor<org.bonitasoft.engine.identity.model.SUserMembership> |
getLightUserMembership(long userId,
long groupId,
long roleId) |
static org.bonitasoft.engine.persistence.SelectOneDescriptor<Long> |
getNumberOfElement(String elementName,
Class<? extends org.bonitasoft.engine.persistence.PersistentObject> clazz) |
static org.bonitasoft.engine.persistence.SelectOneDescriptor<Long> |
getNumberOfGroupChildren(String groupParentPath) |
static org.bonitasoft.engine.persistence.SelectOneDescriptor<Long> |
getNumberOfUserMembershipsOfUser(long userId) |
static org.bonitasoft.engine.persistence.SelectOneDescriptor<Long> |
getNumberOfUsersByGroup(long groupId) |
static org.bonitasoft.engine.persistence.SelectOneDescriptor<Long> |
getNumberOfUsersByMembership(long groupId,
long roleId) |
static org.bonitasoft.engine.persistence.SelectOneDescriptor<Long> |
getNumberOfUsersByRole(long roleId) |
static org.bonitasoft.engine.persistence.SelectOneDescriptor<org.bonitasoft.engine.identity.model.SRole> |
getRoleByName(String roleName) |
static org.bonitasoft.engine.persistence.SelectOneDescriptor<org.bonitasoft.engine.identity.model.SUser> |
getUserByUserName(String userName) |
static org.bonitasoft.engine.persistence.SelectOneDescriptor<org.bonitasoft.engine.identity.model.SContactInfo> |
getUserContactInfo(long userId,
boolean isPersonal) |
static org.bonitasoft.engine.persistence.SelectOneDescriptor<org.bonitasoft.engine.identity.model.SUserMembership> |
getUserMembership(long userId,
long groupId,
long roleId) |
static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUserMembership> |
getUserMembershipsByGroup(long groupId,
int startIndex,
int maxResults) |
static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUserMembership> |
getUserMembershipsByRole(long roleId,
int startIndex,
int maxResults) |
static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUserMembership> |
getUserMembershipsOfUser(long userId) |
static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUserMembership> |
getUserMembershipsOfUser(long userId,
int fromIndex,
int numberOfMemberships) |
static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUserMembership> |
getUserMembershipsOfUser(long userId,
org.bonitasoft.engine.persistence.QueryOptions queryOptions) |
static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUserMembership> |
getUserMembershipsOfUser(long userId,
String field,
org.bonitasoft.engine.persistence.OrderByType order,
int fromIndex,
int numberOfMemberships) |
static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUserMembership> |
getUserMembershipsWithGroup(org.bonitasoft.engine.persistence.QueryOptions queryOptions) |
static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUserMembership> |
getUserMembershipsWithRole(org.bonitasoft.engine.persistence.QueryOptions queryOptions) |
static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUser> |
getUsersByGroup(long groupId,
int fromIndex,
int numberOfUsers) |
static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUser> |
getUsersByGroup(long groupId,
String field,
org.bonitasoft.engine.persistence.OrderByType order,
int fromIndex,
int numberOfUsers) |
static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUser> |
getUsersByManager(long managerUserId,
org.bonitasoft.engine.persistence.QueryOptions queryOptions) |
static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUser> |
getUsersByMembership(long groupId,
long roleId) |
static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUser> |
getUsersByMembership(long groupId,
long roleId,
int fromIndex,
int numberOfUsers) |
static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUser> |
getUsersByMembership(long groupId,
long roleId,
String field,
org.bonitasoft.engine.persistence.OrderByType order,
int fromIndex,
int numberOfUsers) |
static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUser> |
getUsersByRole(long roleId) |
static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUser> |
getUsersByRole(long roleId,
int fromIndex,
int numberOfUsers) |
static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUser> |
getUsersByRole(long roleId,
org.bonitasoft.engine.persistence.QueryOptions queryOptions) |
static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUser> |
getUsersByRole(long roleId,
String field,
org.bonitasoft.engine.persistence.OrderByType order,
int fromIndex,
int numberOfUsers) |
public static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SGroup> getChildrenOfGroup(org.bonitasoft.engine.identity.model.SGroup group, int fromIndex, int numberOfGroups)
public static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SGroup> getChildrenOfGroup(org.bonitasoft.engine.identity.model.SGroup group, org.bonitasoft.engine.persistence.QueryOptions queryOptions)
public static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SGroup> getChildrenOfGroup(org.bonitasoft.engine.identity.model.SGroup group, String field, org.bonitasoft.engine.persistence.OrderByType order, int fromIndex, int numberOfGroups)
public static <T extends org.bonitasoft.engine.persistence.PersistentObject> org.bonitasoft.engine.persistence.SelectByIdDescriptor<T> getElementById(Class<T> clazz, String elementName, long id)
public static <T extends org.bonitasoft.engine.persistence.PersistentObject> org.bonitasoft.engine.persistence.SelectListDescriptor<T> getElements(Class<T> clazz, String elementName, int fromIndex, int numberOfElements)
public static <T extends org.bonitasoft.engine.persistence.PersistentObject> org.bonitasoft.engine.persistence.SelectListDescriptor<T> getElements(Class<T> clazz, String elementName, org.bonitasoft.engine.persistence.QueryOptions queryOptions)
public static <T extends org.bonitasoft.engine.persistence.PersistentObject> org.bonitasoft.engine.persistence.SelectListDescriptor<T> getElements(Class<T> clazz, String elementName, String field, org.bonitasoft.engine.persistence.OrderByType order, int fromIndex, int numberOfElements)
public static <T extends org.bonitasoft.engine.persistence.PersistentObject> org.bonitasoft.engine.persistence.SelectListDescriptor<T> getElementsByIds(Class<T> clazz, String elementName, Collection<Long> ids)
public static org.bonitasoft.engine.persistence.SelectOneDescriptor<org.bonitasoft.engine.identity.model.SGroup> getGroupByName(String groupName)
public static org.bonitasoft.engine.persistence.SelectOneDescriptor<org.bonitasoft.engine.identity.model.SGroup> getGroupByPath(String parentPath, String groupName)
public static <T extends org.bonitasoft.engine.persistence.PersistentObject> org.bonitasoft.engine.persistence.SelectByIdDescriptor<T> getLightElementById(Class<T> clazz, String elementName, long id)
public static org.bonitasoft.engine.persistence.SelectOneDescriptor<org.bonitasoft.engine.identity.model.SUserMembership> getLightUserMembership(long userId, long groupId, long roleId)
public static org.bonitasoft.engine.persistence.SelectOneDescriptor<org.bonitasoft.engine.identity.model.SCustomUserInfoDefinition> getCustomUserInfoDefinitionByName(String name)
public static org.bonitasoft.engine.persistence.SelectOneDescriptor<Long> getNumberOfElement(String elementName, Class<? extends org.bonitasoft.engine.persistence.PersistentObject> clazz)
public static org.bonitasoft.engine.persistence.SelectOneDescriptor<Long> getNumberOfGroupChildren(String groupParentPath)
public static org.bonitasoft.engine.persistence.SelectOneDescriptor<Long> getNumberOfUserMembershipsOfUser(long userId)
public static org.bonitasoft.engine.persistence.SelectOneDescriptor<Long> getNumberOfUsersByGroup(long groupId)
public static org.bonitasoft.engine.persistence.SelectOneDescriptor<Long> getNumberOfUsersByMembership(long groupId, long roleId)
public static org.bonitasoft.engine.persistence.SelectOneDescriptor<Long> getNumberOfUsersByRole(long roleId)
public static org.bonitasoft.engine.persistence.SelectOneDescriptor<org.bonitasoft.engine.identity.model.SRole> getRoleByName(String roleName)
public static org.bonitasoft.engine.persistence.SelectOneDescriptor<org.bonitasoft.engine.identity.model.SUser> getUserByUserName(String userName)
public static org.bonitasoft.engine.persistence.SelectOneDescriptor<org.bonitasoft.engine.identity.model.SContactInfo> getUserContactInfo(long userId, boolean isPersonal)
public static org.bonitasoft.engine.persistence.SelectOneDescriptor<org.bonitasoft.engine.identity.model.SUserMembership> getUserMembership(long userId, long groupId, long roleId)
public static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUserMembership> getUserMembershipsByGroup(long groupId, int startIndex, int maxResults)
public static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUserMembership> getUserMembershipsByRole(long roleId, int startIndex, int maxResults)
public static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUserMembership> getUserMembershipsOfUser(long userId)
public static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUserMembership> getUserMembershipsOfUser(long userId, int fromIndex, int numberOfMemberships)
public static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUserMembership> getUserMembershipsOfUser(long userId, org.bonitasoft.engine.persistence.QueryOptions queryOptions)
public static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUserMembership> getUserMembershipsOfUser(long userId, String field, org.bonitasoft.engine.persistence.OrderByType order, int fromIndex, int numberOfMemberships)
public static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUserMembership> getUserMembershipsWithGroup(org.bonitasoft.engine.persistence.QueryOptions queryOptions)
public static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUserMembership> getUserMembershipsWithRole(org.bonitasoft.engine.persistence.QueryOptions queryOptions)
public static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUser> getUsersByGroup(long groupId, int fromIndex, int numberOfUsers)
public static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUser> getUsersByGroup(long groupId, String field, org.bonitasoft.engine.persistence.OrderByType order, int fromIndex, int numberOfUsers)
public static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUser> getUsersByManager(long managerUserId, org.bonitasoft.engine.persistence.QueryOptions queryOptions)
public static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUser> getUsersByMembership(long groupId, long roleId)
public static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUser> getUsersByMembership(long groupId, long roleId, int fromIndex, int numberOfUsers)
public static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUser> getUsersByMembership(long groupId, long roleId, String field, org.bonitasoft.engine.persistence.OrderByType order, int fromIndex, int numberOfUsers)
public static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUser> getUsersByRole(long roleId)
public static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUser> getUsersByRole(long roleId, int fromIndex, int numberOfUsers)
public static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUser> getUsersByRole(long roleId, org.bonitasoft.engine.persistence.QueryOptions queryOptions)
public static org.bonitasoft.engine.persistence.SelectListDescriptor<org.bonitasoft.engine.identity.model.SUser> getUsersByRole(long roleId, String field, org.bonitasoft.engine.persistence.OrderByType order, int fromIndex, int numberOfUsers)
Copyright © 2014 Bonitasoft S.A.. All rights reserved.