Interface AttributeAssignDAO

All Superinterfaces:
GrouperDAO
All Known Implementing Classes:
Hib3AttributeAssignDAO

public interface AttributeAssignDAO extends GrouperDAO
attribute assign data access methods
  • Method Details

    • findAllEnabledDisabledMismatch

      Set<AttributeAssign> findAllEnabledDisabledMismatch(long queryTime)
      find records which are disabled which shouldnt be, and enabled which shouldnt be
      Parameters:
      queryTime -
      Returns:
      the attribute assignments
    • saveOrUpdate

      void saveOrUpdate(AttributeAssign attributeAssign)
      insert or update an attribute assign object
      Parameters:
      attributeAssign -
    • delete

      void delete(AttributeAssign attributeAssign)
      delete an attribute assign object
      Parameters:
      attributeAssign -
    • findById

      AttributeAssign findById(String id, boolean exceptionIfNotFound)
      find by id, use cache
      Parameters:
      id -
      exceptionIfNotFound -
      Returns:
      the attribute assign or null if not there
    • findById

      AttributeAssign findById(String id, boolean exceptionIfNotFound, boolean useCache)
      Parameters:
      id -
      exceptionIfNotFound -
      useCache - true to use cache, false for not
      Returns:
      the attribute assign or null if not there
    • findByGroupIdAndAttributeDefNameId

      Set<AttributeAssign> findByGroupIdAndAttributeDefNameId(String groupId, String attributeDefNameId)
      Parameters:
      groupId -
      attributeDefNameId -
      Returns:
      the attribute assigns or null if not there
    • findByGroupIdAndAttributeDefId

      Set<AttributeAssign> findByGroupIdAndAttributeDefId(String groupId, String attributeDefId)
      Parameters:
      groupId -
      attributeDefId -
      Returns:
      the attribute assigns or null if not there
    • findAttributeDefNamesByGroupIdAndAttributeDefId

      Set<AttributeDefName> findAttributeDefNamesByGroupIdAndAttributeDefId(String groupId, String attributeDefId)
      find attribute def names (distinct) by attribute def id
      Parameters:
      groupId -
      attributeDefId -
      Returns:
      the attribute defs
    • findByMemberIdAndAttributeDefNameId

      Set<AttributeAssign> findByMemberIdAndAttributeDefNameId(String memberId, String attributeDefNameId)
      Parameters:
      memberId -
      attributeDefNameId -
      Returns:
      the attribute assigns or null if not there
    • findByMemberIdAndAttributeDefId

      Set<AttributeAssign> findByMemberIdAndAttributeDefId(String memberId, String attributeDefId)
      Parameters:
      memberId -
      attributeDefId -
      Returns:
      the attribute assigns or null if not there
    • findAttributeDefNamesByMemberIdAndAttributeDefId

      Set<AttributeDefName> findAttributeDefNamesByMemberIdAndAttributeDefId(String memberId, String attributeDefId)
      find attribute def names (distinct) by attribute def id
      Parameters:
      memberId -
      attributeDefId -
      Returns:
      the attribute defs
    • findByAssignTypeId

      Set<AttributeAssignValueContainer> findByAssignTypeId(String attributeTypeAssignId)
      find attribute assigns by ids, as root (no security). this is for one type assignment.
      Parameters:
      attributeTypeAssignId - type assign id
      Returns:
      attributes
    • findByAttributeTypeDefNameId

      Map<AttributeAssign,Set<AttributeAssignValueContainer>> findByAttributeTypeDefNameId(String attributeTypeDefNameId, QueryOptions queryOptions)
      find attribute assigns by ids, as root (no security). order by attribute type def name, so they are in order
      Parameters:
      attributeTypeDefNameId - attribute def name of the type on the owner
      queryOptions -
      Returns:
      attributes grouped by the type assignment
    • findByStemIdAndAttributeDefNameId

      Set<AttributeAssign> findByStemIdAndAttributeDefNameId(String stemId, String attributeDefNameId)
      Parameters:
      stemId -
      attributeDefNameId -
      Returns:
      the attribute assigns or null if not there
    • findByStemIdAndAttributeDefId

      Set<AttributeAssign> findByStemIdAndAttributeDefId(String stemId, String attributeDefId)
      Parameters:
      stemId -
      attributeDefId -
      Returns:
      the attribute assigns or null if not there
    • findAttributeDefNamesByStemIdAndAttributeDefId

      Set<AttributeDefName> findAttributeDefNamesByStemIdAndAttributeDefId(String stemId, String attributeDefId)
      find attribute def names (distinct) by attribute def id
      Parameters:
      stemId -
      attributeDefId -
      Returns:
      the attribute defs
    • findAttributeDefNamesByAttributeDefIdAndAttributeDefId

      Set<AttributeDefName> findAttributeDefNamesByAttributeDefIdAndAttributeDefId(String attributeDefIdToAssignTo, String attributeDefIdToAssign)
      find attribute def names (distinct) by attribute def id
      Parameters:
      attributeDefIdToAssignTo -
      attributeDefIdToAssign -
      Returns:
      the attribute defs
    • findByAttributeDefIdAndAttributeDefId

      Set<AttributeAssign> findByAttributeDefIdAndAttributeDefId(String attributeDefIdToAssignTo, String attributeDefIdToAssign)
      Parameters:
      attributeDefIdToAssignTo -
      attributeDefIdToAssign -
      Returns:
      the attribute assigns or null if not there
    • findByAttributeDefIdAndAttributeDefNameId

      Set<AttributeAssign> findByAttributeDefIdAndAttributeDefNameId(String attributeDefIdToAssignTo, String attributeDefNameIdToAssign)
      Parameters:
      attributeDefIdToAssignTo -
      attributeDefNameIdToAssign -
      Returns:
      the attribute assigns or null if not there
    • findByOwnerAttributeAssignId

      Set<AttributeAssign> findByOwnerAttributeAssignId(String ownerAttributeAssignId)
      Parameters:
      ownerAttributeAssignId -
      Returns:
      the attribute assigns or empty if not there
    • findByOwnerAttributeAssignId

      Set<AttributeAssign> findByOwnerAttributeAssignId(String ownerAttributeAssignId, QueryOptions queryOptions)
      Parameters:
      ownerAttributeAssignId -
      queryOptions -
      Returns:
      the attribute assigns or empty if not there
    • findByOwnerAttributeDefId

      Set<AttributeAssign> findByOwnerAttributeDefId(String ownerAttributeDefId)
      Parameters:
      ownerAttributeDefId -
      Returns:
      the attribute assigns or empty if not there
    • findAttributeDefsByAttributeDefNameId

      Set<AttributeDef> findAttributeDefsByAttributeDefNameId(String attributeDefNameId)
      Parameters:
      attributeDefNameId -
      Returns:
      the attribute defs or empty if not there
    • findByOwnerGroupId

      Set<AttributeAssign> findByOwnerGroupId(String ownerGroupId)
      Parameters:
      ownerGroupId -
      Returns:
      the attribute assigns or empty if not there
    • findByOwnerMembershipIds

      Set<AttributeAssign> findByOwnerMembershipIds(Collection<String> ownerMembershipIds)
      retrieve by owner immediate membership ids. note, this is not a secure method, will return any results queried
      Parameters:
      ownerMembershipIds -
      Returns:
      the attribute assigns, will not return null
    • findByOwnerAttributeAssignIds

      Set<AttributeAssign> findByOwnerAttributeAssignIds(Collection<String> ownerAttributeAssignIds)
      retrieve by owner attribute assign ids. note, this is not a secure method, will return any results queried
      Parameters:
      ownerAttributeAssignIds -
      Returns:
      the attribute assigns, will not return null
    • findByOwnerStemId

      Set<AttributeAssign> findByOwnerStemId(String ownerStemId)
      Parameters:
      ownerStemId -
      Returns:
      the attribute assigns or empty if not there
    • findByOwnerMemberId

      Set<AttributeAssign> findByOwnerMemberId(String ownerMemberId)
      Parameters:
      ownerMemberId -
      Returns:
      the attribute assigns or empty if not there
    • findByOwnerMembershipId

      Set<AttributeAssign> findByOwnerMembershipId(String ownerMembershipId)
      Parameters:
      ownerMembershipId -
      Returns:
      the attribute assigns or empty if not there
    • findAttributeDefNamesByMembershipIdAndAttributeDefId

      Set<AttributeDefName> findAttributeDefNamesByMembershipIdAndAttributeDefId(String membershipIdToAssignTo, String attributeDefIdToAssign)
      find attribute def names (distinct) by attribute def id
      Parameters:
      membershipIdToAssignTo -
      attributeDefIdToAssign -
      Returns:
      the attribute defs
    • findByMembershipIdAndAttributeDefId

      Set<AttributeAssign> findByMembershipIdAndAttributeDefId(String membershipIdToAssignTo, String attributeDefIdToAssign)
      Parameters:
      membershipIdToAssignTo -
      attributeDefIdToAssign -
      Returns:
      the attribute assigns or null if not there
    • findByMembershipIdAndAttributeDefNameId

      Set<AttributeAssign> findByMembershipIdAndAttributeDefNameId(String membershipIdToAssignTo, String attributeDefNameIdToAssign)
      Parameters:
      membershipIdToAssignTo -
      attributeDefNameIdToAssign -
      Returns:
      the attribute assigns or null if not there
    • findAttributeDefNamesByAttrAssignIdAndAttributeDefId

      Set<AttributeDefName> findAttributeDefNamesByAttrAssignIdAndAttributeDefId(String attrAssignIdToAssignTo, String attributeDefIdToAssign)
      find attribute def names (distinct) by attribute def id
      Parameters:
      attrAssignIdToAssignTo -
      attributeDefIdToAssign -
      Returns:
      the attribute defs
    • findByAttrAssignIdAndAttributeDefId

      Set<AttributeAssign> findByAttrAssignIdAndAttributeDefId(String attrAssignIdToAssignTo, String attributeDefIdToAssign)
      Parameters:
      attrAssignIdToAssignTo -
      attributeDefIdToAssign -
      Returns:
      the attribute assigns or null if not there
    • findByAttributeDefNameId

      Set<AttributeAssign> findByAttributeDefNameId(String attributeDefNameId)
      Parameters:
      attributeDefNameId -
      Returns:
      the attribute assigns or empty if not there
    • findByAttrAssignIdAndAttributeDefNameId

      Set<AttributeAssign> findByAttrAssignIdAndAttributeDefNameId(String attrAssignIdToAssignTo, String attributeDefNameIdToAssign)
      Parameters:
      attrAssignIdToAssignTo -
      attributeDefNameIdToAssign -
      Returns:
      the attribute assigns or null if not there
    • findAttributeDefNamesByGroupIdMemberIdAndAttributeDefId

      Set<AttributeDefName> findAttributeDefNamesByGroupIdMemberIdAndAttributeDefId(String groupId, String memberId, String attributeDefIdToAssign)
      find attribute def names (distinct) by attribute def id
      Parameters:
      groupId -
      memberId -
      attributeDefIdToAssign -
      Returns:
      the attribute defs
    • findByGroupIdMemberIdAndAttributeDefId

      Set<AttributeAssign> findByGroupIdMemberIdAndAttributeDefId(String groupId, String memberId, String attributeDefIdToAssign)
      Parameters:
      groupId -
      memberId -
      attributeDefIdToAssign -
      Returns:
      the attribute assigns or null if not there
    • findByGroupIdMemberIdAndAttributeDefNameId

      Set<AttributeAssign> findByGroupIdMemberIdAndAttributeDefNameId(String groupId, String memberId, String attributeDefNameIdToAssign)
      Parameters:
      groupId -
      memberId -
      attributeDefNameIdToAssign -
      Returns:
      the attribute assigns or null if not there
    • saveUpdateProperties

      void saveUpdateProperties(AttributeAssign attributeAssign)
      save the update properties which are auto saved when business method is called
      Parameters:
      attributeAssign -
    • findByUuidOrKey

      AttributeAssign findByUuidOrKey(Collection<String> idsToIgnore, String id, String attributeDefNameId, String attributeAssignActionId, String ownerAttributeAssignId, String ownerAttributeDefId, String ownerGroupId, String ownerMemberId, String ownerMembershipId, String ownerStemId, boolean exceptionIfNull, Long disabledTimeDb, Long enabledTimeDb, String notes, boolean disallowed) throws GrouperDAOException
      Parameters:
      id - if find by id, that is it
      idsToIgnore - dont return anything in this list, already used or will be used
      attributeDefNameId - which attribute is assigned
      attributeAssignActionId - is the action for this assignment
      ownerAttributeAssignId - owner must match
      ownerAttributeDefId - owner must match
      ownerGroupId - owner must match
      ownerMemberId - owner must match
      ownerMembershipId - owner must match
      ownerStemId - owner must match
      exceptionIfNull -
      disabledTimeDb - if there are multiple without id match, and this matches, that is good
      enabledTimeDb - if there are multiple without id match, this is good
      notes - if there are multiple without id match, this is good
      disallowed - if there are multiple without id match, this is good
      Returns:
      the attribute assign or null
      Throws:
      GrouperDAOException
      Since:
      1.6.0
    • findByActionId

      Set<AttributeAssign> findByActionId(String actionId)
      Parameters:
      actionId -
      Returns:
      the assignments
    • findGroupAttributeAssignments

      Set<AttributeAssign> findGroupAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> groupIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or group ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      groupIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      includeAssignmentsOnAssignments - if assignments on assignments should also be included
      attributeDefType - null for all, or specify a type e.g. AttributeDefType.limit
      Returns:
      the assignments
    • findGroupAttributeAssignments

      Set<AttributeAssign> findGroupAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> groupIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or group ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      groupIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      includeAssignmentsOnAssignments - if assignments on assignments should also be included
      Returns:
      the assignments
    • findStemAttributeAssignments

      Set<AttributeAssign> findStemAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> stemIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or stem ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      stemIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      includeAssignmentsOnAssignments - if assignments on assignments should also be included
      Returns:
      the assignments
    • findStemAttributeAssignments

      Set<AttributeAssign> findStemAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> stemIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or stem ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      stemIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      includeAssignmentsOnAssignments - if assignments on assignments should also be included
      attributeDefType - null for all, or specify a type e.g. AttributeDefType.limit
      attributeDefValueType - required if sending theValue, can be: floating, integer, memberId, string, timestamp
      theValue - value if you are passing in one attributeDefNameLookup
      Returns:
      the assignments
    • findStemAttributeAssignments

      Set<AttributeAssign> findStemAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> stemIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean attributeCheckReadOnAttributeDef)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or stem ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      stemIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      includeAssignmentsOnAssignments - if assignments on assignments should also be included
      attributeDefType - null for all, or specify a type e.g. AttributeDefType.limit
      attributeDefValueType - required if sending theValue, can be: floating, integer, memberId, string, timestamp
      theValue - value if you are passing in one attributeDefNameLookup
      attributeCheckReadOnAttributeDef - if check READ security on attribute def
      Returns:
      the assignments
    • findStemAttributeAssignments

      Set<AttributeAssign> findStemAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> stemIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean attributeCheckReadOnAttributeDef, String idOfAttributeDefNameOnAssignment, Set<Object> attributeValuesOnAssignment, String idOfAttributeDefNameOnAssignment2, Set<Object> attributeValuesOnAssignment2)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or stem ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      stemIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      includeAssignmentsOnAssignments - if assignments on assignments should also be included
      attributeDefType - null for all, or specify a type e.g. AttributeDefType.limit
      attributeDefValueType - required if sending theValue, can be: floating, integer, memberId, string, timestamp
      theValue - value if you are passing in one attributeDefNameLookup
      attributeCheckReadOnAttributeDef - if check READ security on attribute def
      idOfAttributeDefNameOnAssignment - id of attribute def name that there is an assignment on assignment of with a value
      attributeValuesOnAssignment - values that the attribute def name on assignment of assignment has
      idOfAttributeDefNameOnAssignment2 - second id of attribute def name that there is an assignment on assignment of with a value
      attributeValuesOnAssignment2 - second values that the attribute def name on assignment of assignment has
      Returns:
      the assignments
    • findMemberAttributeAssignments

      Set<AttributeAssign> findMemberAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> memberIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or member ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      memberIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      includeAssignmentsOnAssignments - if assignments on assignments should also be included
      Returns:
      the assignments
    • findAttributeDefAttributeAssignments

      Set<AttributeAssign> findAttributeDefAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> attributeDefAssignToIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or attribute def assign to ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      attributeDefAssignToIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      includeAssignmentsOnAssignments - if assignments on assignments should also be included
      Returns:
      the assignments
    • findMembershipAttributeAssignments

      Set<AttributeAssign> findMembershipAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> membershipIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or membership ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      membershipIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      includeAssignmentsOnAssignments - if assignments on assignments should also be included
      Returns:
      the assignments
    • findAnyMembershipAttributeAssignments

      Set<AttributeAssign> findAnyMembershipAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<MultiKey> groupIdsAndMemberIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or membership ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      groupIdsAndMemberIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      includeAssignmentsOnAssignments - if assignments on assignments should also be included
      Returns:
      the assignments
    • findAnyMembershipAttributeAssignments

      Set<AttributeAssign> findAnyMembershipAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<MultiKey> groupIdsAndMemberIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or membership ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      groupIdsAndMemberIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      includeAssignmentsOnAssignments - if assignments on assignments should also be included
      attributeDefType - attr, perm, limit, or null for all
      Returns:
      the assignments
    • findAssignmentsOnAssignments

      Set<AttributeAssign> findAssignmentsOnAssignments(Collection<AttributeAssign> attributeAssigns, AttributeAssignType attributeAssignType, Boolean enabled)
      find assignments on assignments. Note, it is assumed the current user can read the assignments passed in (and other underlying objects), so only the attributeDefs of the assignments on assignments are checked for security
      Parameters:
      attributeAssigns - to find assignments on these assignments
      attributeAssignType - of the assignments we are looking for or null for all
      enabled - null for all, true for enabled only, false for disabled only
      Returns:
      the assignments
    • findAssignmentsOnAssignmentsByIds

      Set<AttributeAssign> findAssignmentsOnAssignmentsByIds(Collection<String> attributeAssignIds, AttributeAssignType attributeAssignType, AttributeDefType attributeDefType, Boolean enabled)
      find assignments on assignments. Note, it is assumed the current user can read the assignments passed in (and other underlying objects), so only the attributeDefs of the assignments on assignments are checked for security
      Parameters:
      attributeAssignIds - to find assignments on these assignment ids
      attributeAssignType - of the assignments we are looking for
      attributeDefType - attr, perm, limit, or null for all
      enabled - null for all, true for enabled only, false for disabled only
      Returns:
      the assignments
    • findAssignmentsOnAssignments

      Set<AttributeAssign> findAssignmentsOnAssignments(Collection<AttributeAssign> attributeAssigns, AttributeAssignType attributeAssignType, Boolean enabled, Boolean attributeCheckReadOnAttributeDef)
      find assignments on assignments. Note, it is assumed the current user can read the assignments passed in (and other underlying objects), so only the attributeDefs of the assignments on assignments are checked for security
      Parameters:
      attributeAssigns - to find assignments on these assignments
      attributeAssignType - of the assignments we are looking for or null for all
      enabled - null for all, true for enabled only, false for disabled only
      attributeCheckReadOnAttributeDef - if check read on attribute def
      Returns:
      the assignments
    • findAssignmentsOnAssignmentsByIds

      Set<AttributeAssign> findAssignmentsOnAssignmentsByIds(Collection<String> attributeAssignIds, AttributeAssignType attributeAssignType, AttributeDefType attributeDefType, Boolean enabled, Boolean attributeCheckReadOnAttributeDef)
      find assignments on assignments. Note, it is assumed the current user can read the assignments passed in (and other underlying objects), so only the attributeDefs of the assignments on assignments are checked for security
      Parameters:
      attributeAssignIds - to find assignments on these assignment ids
      attributeAssignType - of the assignments we are looking for
      attributeDefType - attr, perm, limit, or null for all
      enabled - null for all, true for enabled only, false for disabled only
      attributeCheckReadOnAttributeDef - if check read on attribute def
      Returns:
      the assignments
    • findGroupAttributeDefNames

      Set<AttributeDefName> findGroupAttributeDefNames(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> groupIds, Collection<String> actions, Boolean enabled)
      securely search for attribute def names. need to pass in either the assign ids, def ids, def name ids, or group ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      groupIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      Returns:
      the assignments
    • findMemberAttributeDefNames

      Set<AttributeDefName> findMemberAttributeDefNames(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> memberIds, Collection<String> actions, Boolean enabled)
      securely search for attribute def names. need to pass in either the assign ids, def ids, def name ids, or member ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      memberIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      Returns:
      the assignments
    • findMembershipAttributeDefNames

      Set<AttributeDefName> findMembershipAttributeDefNames(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> membershipIds, Collection<String> actions, Boolean enabled)
      securely search for attribute def names. need to pass in either the assign ids, def ids, def name ids, or membership ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      membershipIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      Returns:
      the assignments
    • findStemAttributeDefNames

      Set<AttributeDefName> findStemAttributeDefNames(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> stemIds, Collection<String> actions, Boolean enabled)
      securely search for attribute def names. need to pass in either the assign ids, def ids, def name ids, or stem ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      stemIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      Returns:
      the assignments
    • findAnyMembershipAttributeDefNames

      Set<AttributeDefName> findAnyMembershipAttributeDefNames(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<MultiKey> groupIdsAndMemberIds, Collection<String> actions, Boolean enabled)
      securely search for attribute def names. need to pass in either the assign ids, def ids, def name ids, or membership ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      groupIdsAndMemberIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      Returns:
      the assignments
    • findAttributeDefAttributeDefNames

      Set<AttributeDefName> findAttributeDefAttributeDefNames(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> attributeDefAssignToIds, Collection<String> actions, Boolean enabled)
      securely search for attributeDefNames. need to pass in either the assign ids, def ids, def name ids, or attribute def assign to ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      attributeDefAssignToIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      Returns:
      the assignments
    • findByAttributeDefNameAndValueString

      Set<AttributeAssign> findByAttributeDefNameAndValueString(String attributeDefNameId, String value, QueryOptions queryOptions)
      find by attribute name and value
      Parameters:
      attributeDefNameId -
      value -
      queryOptions -
      Returns:
      the attribute assigns that match
    • findAttributeAssignments

      Set<AttributeAssign> findAttributeAssignments(AttributeAssignType attributeAssignType, String attributeDefId, String attributeDefNameId, String ownerGroupId, String ownerStemId, String ownerMemberId, String ownerAttributeDefId, String ownerMembershipId, Boolean enabled, boolean includeAssignmentsOnAssignments)
      securely search for assignments
      Parameters:
      attributeAssignType -
      attributeDefId - optional
      attributeDefNameId - mutually exclusive with attributeDefIds
      ownerGroupId - optional
      ownerStemId - optional
      ownerMemberId - optional
      ownerAttributeDefId - optional
      ownerMembershipId - optional
      enabled - (null means all, true means enabled, false means disabled)
      includeAssignmentsOnAssignments - if assignments on assignments should also be included
      Returns:
      the assignments
    • findAssignmentsOnAssignmentsAttributeDefNames

      Set<AttributeDefName> findAssignmentsOnAssignmentsAttributeDefNames(Collection<AttributeAssign> attributeAssigns, AttributeAssignType attributeAssignType, Boolean enabled)
      search for assignments on assignments attribute def names
      Parameters:
      attributeAssigns - to search on
      attributeAssignType -
      enabled - null for all...
      Returns:
      the attribute def names
    • findAttributeDefAttributeAssignments

      Set<AttributeAssign> findAttributeDefAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> attributeDefAssignToIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or attribute def assign to ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      attributeDefAssignToIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      attributeDefType - attr, perm, limit, or null for all
      includeAssignmentsOnAssignments - if assignments on assignments should also be included
      attributeDefValueType - required if sending theValue, can be: floating, integer, memberId, string, timestamp
      theValue - value if you are passing in one attributeDefNameLookup
      Returns:
      the assignments
    • findAttributeDefAttributeAssignments

      Set<AttributeAssign> findAttributeDefAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> ownerAttributeDefIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, Boolean attributeCheckReadOnAttributeDef, String idOfAttributeDefNameOnAssignment, Set<Object> attributeValuesOnAssignment, String idOfAttributeDefNameOnAssignment2, Set<Object> attributeValuesOnAssignment2)
      Parameters:
      attributeAssignIds -
      attributeDefIds -
      attributeDefNameIds -
      ownerAttributeDefIds -
      actions -
      enabled -
      includeAssignmentsOnAssignments -
      attributeDefType -
      attributeDefValueType -
      theValue -
      attributeCheckReadOnAttributeDef -
      idOfAttributeDefNameOnAssignment - id of attribute def name that there is an assignment on assignment of with a value
      attributeValuesOnAssignment - values that the attribute def name on assignment of assignment has
      idOfAttributeDefNameOnAssignment2 - second id of attribute def name that there is an assignment on assignment of with a value
      attributeValuesOnAssignment2 - second values that the attribute def name on assignment of assignment has
      Returns:
      the set of attribute assignments
    • findAnyMembershipAttributeAssignments

      Set<AttributeAssign> findAnyMembershipAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<MultiKey> groupIdsAndMemberIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or membership ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      groupIdsAndMemberIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      includeAssignmentsOnAssignments - if assignments on assignments should also be included
      attributeDefType - attr, perm, limit, or null for all
      attributeDefValueType - required if sending theValue, can be: floating, integer, memberId, string, timestamp
      theValue - value if you are passing in one attributeDefNameLookup then get the assignment which tells you the owner as well
      Returns:
      the assignments
    • findGroupAttributeAssignments

      Set<AttributeAssign> findGroupAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> groupIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or group ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      groupIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      includeAssignmentsOnAssignments - if assignments on assignments should also be included
      attributeDefType - null for all, or specify a type e.g. AttributeDefType.limit
      attributeDefValueType - required if sending theValue, can be: floating, integer, memberId, string, timestamp
      theValue - value if you are passing in one attributeDefNameLookup then get the assignment which tells you the owner as well
      Returns:
      the assignments
    • findGroupAttributeAssignments

      Set<AttributeAssign> findGroupAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> groupIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean attributeCheckReadOnAttributeDef)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or group ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      groupIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      includeAssignmentsOnAssignments - if assignments on assignments should also be included
      attributeDefType - null for all, or specify a type e.g. AttributeDefType.limit
      attributeDefValueType - required if sending theValue, can be: floating, integer, memberId, string, timestamp
      theValue - value if you are passing in one attributeDefNameLookup then get the assignment which tells you the owner as well
      attributeCheckReadOnAttributeDef - if security should be checked on attribute def
      Returns:
      the assignments
    • findGroupAttributeAssignments

      Set<AttributeAssign> findGroupAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> groupIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean attributeCheckReadOnAttributeDef, String idOfAttributeDefNameOnAssignment, Set<Object> attributeValuesOnAssignment, String idOfAttributeDefNameOnAssignment2, Set<Object> attributeValuesOnAssignment2)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or group ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      groupIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      includeAssignmentsOnAssignments - if assignments on assignments should also be included
      attributeDefType - null for all, or specify a type e.g. AttributeDefType.limit
      attributeDefValueType - required if sending theValue, can be: floating, integer, memberId, string, timestamp
      theValue - value if you are passing in one attributeDefNameLookup then get the assignment which tells you the owner as well
      attributeCheckReadOnAttributeDef - if security should be checked on attribute def
      idOfAttributeDefNameOnAssignment - id of attribute def name that there is an assignment on assignment of with a value
      attributeValuesOnAssignment - values that the attribute def name on assignment of assignment has
      idOfAttributeDefNameOnAssignment2 - second id of attribute def name that there is an assignment on assignment of with a value
      attributeValuesOnAssignment2 - second values that the attribute def name on assignment of assignment has
      Returns:
      the assignments
    • findMemberAttributeAssignments

      Set<AttributeAssign> findMemberAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> memberIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean attributeCheckReadOnAttributeDef, String idOfAttributeDefNameOnAssignment, Set<Object> attributeValuesOnAssignment, String idOfAttributeDefNameOnAssignment2, Set<Object> attributeValuesOnAssignment2)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or group ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      memberIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      includeAssignmentsOnAssignments - if assignments on assignments should also be included
      attributeDefType - null for all, or specify a type e.g. AttributeDefType.limit
      attributeDefValueType - required if sending theValue, can be: floating, integer, memberId, string, timestamp
      theValue - value if you are passing in one attributeDefNameLookup then get the assignment which tells you the owner as well
      attributeCheckReadOnAttributeDef - if security should be checked on attribute def
      idOfAttributeDefNameOnAssignment - id of attribute def name that there is an assignment on assignment of with a value
      attributeValuesOnAssignment - values that the attribute def name on assignment of assignment has
      idOfAttributeDefNameOnAssignment2 - second id of attribute def name that there is an assignment on assignment of with a value
      attributeValuesOnAssignment2 - second values that the attribute def name on assignment of assignment has
      Returns:
      the assignments
    • findGroupAttributeAssignmentsByAttribute

      Set<Object[]> findGroupAttributeAssignmentsByAttribute(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnGroup, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, boolean includeAssignmentsOnAssignments, String filter, Boolean splitFilter)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or group ids cannot have more than 100 bind variables
      Parameters:
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      checkAttributeReadOnGroup -
      attributeCheckReadOnAttributeDef -
      queryOptions -
      retrieveValues -
      includeAssignmentsOnAssignments - if include assignments on assignments
      filter - filter if filtering by group info
      splitFilter - true (default) if filter has spaces, split and look for all anywhere
      Returns:
      attrdefs, attrdefnames, groups, assignments and optionally set of values
    • findGroupAttributeAssignmentsOnAssignmentsByAttribute

      Set<Object[]> findGroupAttributeAssignmentsOnAssignmentsByAttribute(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnGroup, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, String filter, Boolean splitFilter)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or group ids cannot have more than 100 bind variables
      Parameters:
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      checkAttributeReadOnGroup -
      attributeCheckReadOnAttributeDef -
      queryOptions -
      retrieveValues -
      filter - filter if filtering by group info
      splitFilter - true (default) if filter has spaces, split and look for all anywhere
      Returns:
      attr defs, attr def names, groups and assignments and optionally set of values
    • findStemAttributeAssignmentsOnAssignmentsByAttribute

      Set<Object[]> findStemAttributeAssignmentsOnAssignmentsByAttribute(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnGroup, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, String filter, Boolean splitFilter)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids cannot have more than 100 bind variables
      Parameters:
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      checkAttributeReadOnGroup -
      attributeCheckReadOnAttributeDef -
      queryOptions -
      retrieveValues -
      filter - filter if filtering by group info
      splitFilter - true (default) if filter has spaces, split and look for all anywhere
      Returns:
      attr defs, attr def names, stems and assignments and optionally set of values
    • findAttributeDefAttributeAssignmentsOnAssignmentsByAttribute

      Set<Object[]> findAttributeDefAttributeAssignmentsOnAssignmentsByAttribute(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnOwnerAttributeDef, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, String filter, Boolean splitFilter)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids cannot have more than 100 bind variables
      Parameters:
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      checkAttributeReadOnOwnerAttributeDef -
      attributeCheckReadOnAttributeDef -
      queryOptions -
      retrieveValues -
      filter - filter if filtering by group info
      splitFilter - true (default) if filter has spaces, split and look for all anywhere
      Returns:
      attr defs, attr def names, stems and assignments and optionally set of values
    • findMemberAttributeAssignments

      Set<AttributeAssign> findMemberAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> memberIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or member ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      memberIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      includeAssignmentsOnAssignments - if assignments on assignments should also be included
      attributeDefType - null for all, or specify a type e.g. AttributeDefType.limit
      attributeDefValueType - required if sending theValue, can be: floating, integer, memberId, string, timestamp
      theValue - value if you are passing in one attributeDefNameLookup
      Returns:
      the assignments
    • findMembershipAttributeAssignments

      Set<AttributeAssign> findMembershipAttributeAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> membershipIds, Collection<String> actions, Boolean enabled, boolean includeAssignmentsOnAssignments, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or membership ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      membershipIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      includeAssignmentsOnAssignments - if assignments on assignments should also be included
      attributeDefType - null for all, or specify a type e.g. AttributeDefType.limit
      attributeDefValueType - required if sending theValue, can be: floating, integer, memberId, string, timestamp
      theValue - value if you are passing in one attributeDefNameLookup then get the assignment which tells you the owner as well
      Returns:
      the assignments
    • findStemAttributeAssignmentsOnAssignments

      Set<AttributeAssign> findStemAttributeAssignmentsOnAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> stemIds, Collection<String> actions, Boolean enabled, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean includeAssignmentsFromAssignments, Collection<String> ownerAttributeAssignIds, Collection<String> ownerAttributeDefIds, Collection<String> ownerAttributeDefNameIds, Collection<String> ownerActions, boolean useCache)
      securely search for assignments on assignments of stems. need to pass in either the assign ids, def ids, def name ids, or stem ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      stemIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      attributeDefType - null for all, or specify a type e.g. AttributeDefType.limit
      attributeDefValueType - required if sending theValue, can be: floating, integer, memberId, string, timestamp
      theValue - value if you are passing in one attributeDefNameLookup
      includeAssignmentsFromAssignments - T|F if you are finding an assignment that is an assignmentOnAssignment, then get the assignment which tells you the owner as well
      ownerAttributeAssignIds - attribute assignment ids of the owner assignments (where the attributes are assigned to)
      ownerAttributeDefIds - attribute definition ids of the owner assignments (where the attributes are assigned to)
      ownerAttributeDefNameIds - attribute definition names ids of the owner assignments (where the attributes are assigned to)
      ownerActions - actions of the owner assignment
      useCache - to use a cache or not
      Returns:
      the assignments
    • findAssignmentsFromAssignments

      Set<AttributeAssign> findAssignmentsFromAssignments(Collection<AttributeAssign> attributeAssigns, AttributeAssignType attributeAssignType, Boolean enabled, boolean useCache)
      find assignments from assignments. Note, it is assumed the current user can read the assignments passed in (and other underlying objects), so only the attributeDefs of the assignments on assignments are checked for security
      Parameters:
      attributeAssigns - to find assignments on these assignments
      attributeAssignType - of the assignments we are looking for or null for all
      enabled - null for all, true for enabled only, false for disabled only
      useCache -
      Returns:
      the assignments
    • findAssignmentsFromAssignmentsByIds

      Set<AttributeAssign> findAssignmentsFromAssignmentsByIds(Collection<String> attributeAssignIds, AttributeAssignType attributeAssignType, AttributeDefType attributeDefType, Boolean enabled)
      find assignments from assignments. Note, it is assumed the current user can read the assignments passed in (and other underlying objects), so only the attributeDefs of the assignments on assignments are checked for security
      Parameters:
      attributeAssignIds - to find assignments on these assignment ids
      attributeAssignType - of the assignments we are looking for
      attributeDefType - attr, perm, limit, or null for all
      enabled - null for all, true for enabled only, false for disabled only
      Returns:
      the assignments
    • findByIds

      Set<AttributeAssign> findByIds(Collection<String> ids, Boolean enabled, boolean useCache)
      find attribute assignments by ids, this is not a secure method, any ids passed in will be returned if they exist
      Parameters:
      ids - no limit on number of ids passed
      enabled - true to find enabled only, false to return disabled only
      useCache - true to use a cache for the query, false if not
      Returns:
      the results never null
    • findMemberAttributeAssignmentsOnAssignments

      Set<AttributeAssign> findMemberAttributeAssignmentsOnAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> memberIds, Collection<String> actions, Boolean enabled, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean includeAssignmentsFromAssignments, Collection<String> ownerAttributeAssignIds, Collection<String> ownerAttributeDefIds, Collection<String> ownerAttributeDefNameIds, Collection<String> ownerActions, boolean useCache)
      securely search for assignments on assignments of members. need to pass in either the assign ids, def ids, def name ids, or member ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      memberIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      attributeDefType - null for all, or specify a type e.g. AttributeDefType.limit
      attributeDefValueType - required if sending theValue, can be: floating, integer, memberId, string, timestamp
      theValue - value if you are passing in one attributeDefNameLookup
      includeAssignmentsFromAssignments - T|F if you are finding an assignment that is an assignmentOnAssignment, then get the assignment which tells you the owner as well
      ownerAttributeAssignIds - attribute assignment ids of the owner assignments (where the attributes are assigned to)
      ownerAttributeDefIds - attribute definition ids of the owner assignments (where the attributes are assigned to)
      ownerAttributeDefNameIds - attribute definition names ids of the owner assignments (where the attributes are assigned to)
      ownerActions - actions of the owner assignment
      useCache - to use a cache or not
      Returns:
      the assignments
    • findGroupAttributeAssignmentsOnAssignments

      Set<AttributeAssign> findGroupAttributeAssignmentsOnAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> groupIds, Collection<String> actions, Boolean enabled, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean includeAssignmentsFromAssignments, Collection<String> ownerAttributeAssignIds, Collection<String> ownerAttributeDefIds, Collection<String> ownerAttributeDefNameIds, Collection<String> ownerActions, boolean useCache)
      securely search for assignments on assignments of groups. need to pass in either the assign ids, def ids, def name ids, or stem ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      groupIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      attributeDefType - null for all, or specify a type e.g. AttributeDefType.limit
      attributeDefValueType - required if sending theValue, can be: floating, integer, memberId, string, timestamp
      theValue - value if you are passing in one attributeDefNameLookup
      includeAssignmentsFromAssignments - T|F if you are finding an assignment that is an assignmentOnAssignment, then get the assignment which tells you the owner as well
      ownerAttributeAssignIds - attribute assignment ids of the owner assignments (where the attributes are assigned to)
      ownerAttributeDefIds - attribute definition ids of the owner assignments (where the attributes are assigned to)
      ownerAttributeDefNameIds - attribute definition names ids of the owner assignments (where the attributes are assigned to)
      ownerActions - actions of the owner assignment
      useCache - to use a cache or not
      Returns:
      the assignments
    • findAttributeDefAttributeAssignmentsOnAssignments

      Set<AttributeAssign> findAttributeDefAttributeAssignmentsOnAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> mainOwnerAttributeDefIds, Collection<String> actions, Boolean enabled, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean includeAssignmentsFromAssignments, Collection<String> ownerAttributeAssignIds, Collection<String> ownerAttributeDefIds, Collection<String> ownerAttributeDefNameIds, Collection<String> ownerActions, boolean useCache)
      securely search for assignments on assignments of attribute defs. need to pass in either the assign ids, def ids, def name ids, or stem ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      mainOwnerAttributeDefIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      attributeDefType - null for all, or specify a type e.g. AttributeDefType.limit
      attributeDefValueType - required if sending theValue, can be: floating, integer, memberId, string, timestamp
      theValue - value if you are passing in one attributeDefNameLookup
      includeAssignmentsFromAssignments - T|F if you are finding an assignment that is an assignmentOnAssignment, then get the assignment which tells you the owner as well
      ownerAttributeAssignIds - attribute assignment ids of the owner assignments (where the attributes are assigned to)
      ownerAttributeDefIds - attribute definition ids of the owner assignments (where the attributes are assigned to)
      ownerAttributeDefNameIds - attribute definition names ids of the owner assignments (where the attributes are assigned to)
      ownerActions - actions of the owner assignment
      useCache - to use a cache or not
      Returns:
      the assignments
    • findMembershipAttributeAssignmentsOnAssignments

      Set<AttributeAssign> findMembershipAttributeAssignmentsOnAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> membershipIds, Collection<String> actions, Boolean enabled, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean includeAssignmentsFromAssignments, Collection<String> ownerAttributeAssignIds, Collection<String> ownerAttributeDefIds, Collection<String> ownerAttributeDefNameIds, Collection<String> ownerActions, boolean useCache)
      securely search for assignments on assignments of immediate memberships. need to pass in either the assign ids, def ids, def name ids, or imm membership ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      membershipIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      attributeDefType - null for all, or specify a type e.g. AttributeDefType.limit
      attributeDefValueType - required if sending theValue, can be: floating, integer, memberId, string, timestamp
      theValue - value if you are passing in one attributeDefNameLookup
      includeAssignmentsFromAssignments - T|F if you are finding an assignment that is an assignmentOnAssignment, then get the assignment which tells you the owner as well
      ownerAttributeAssignIds - attribute assignment ids of the owner assignments (where the attributes are assigned to)
      ownerAttributeDefIds - attribute definition ids of the owner assignments (where the attributes are assigned to)
      ownerAttributeDefNameIds - attribute definition names ids of the owner assignments (where the attributes are assigned to)
      ownerActions - actions of the owner assignment
      useCache - to use a cache or not
      Returns:
      the assignments
    • findAnyMembershipAttributeAssignmentsOnAssignments

      Set<AttributeAssign> findAnyMembershipAttributeAssignmentsOnAssignments(Collection<String> attributeAssignIds, Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<MultiKey> groupIdsAndMemberIds, Collection<String> actions, Boolean enabled, AttributeDefType attributeDefType, AttributeDefValueType attributeDefValueType, Object theValue, boolean includeAssignmentsFromAssignments, Collection<String> ownerAttributeAssignIds, Collection<String> ownerAttributeDefIds, Collection<String> ownerAttributeDefNameIds, Collection<String> ownerActions, boolean useCache)
      securely search for assignments on assignments of effective memberships (or immediate). need to pass in either the assign ids, def ids, def name ids, or imm membership ids cannot have more than 100 bind variables
      Parameters:
      attributeAssignIds -
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      groupIdsAndMemberIds - optional
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      attributeDefType - null for all, or specify a type e.g. AttributeDefType.limit
      attributeDefValueType - required if sending theValue, can be: floating, integer, memberId, string, timestamp
      theValue - value if you are passing in one attributeDefNameLookup
      includeAssignmentsFromAssignments - T|F if you are finding an assignment that is an assignmentOnAssignment, then get the assignment which tells you the owner as well
      ownerAttributeAssignIds - attribute assignment ids of the owner assignments (where the attributes are assigned to)
      ownerAttributeDefIds - attribute definition ids of the owner assignments (where the attributes are assigned to)
      ownerAttributeDefNameIds - attribute definition names ids of the owner assignments (where the attributes are assigned to)
      ownerActions - actions of the owner assignment
      useCache - to use a cache or not
      Returns:
      the assignments
    • findLegacyGroupTypeAssignmentsByGroupId

      Map<String,AttributeAssign> findLegacyGroupTypeAssignmentsByGroupId(String groupId)
      Returns legacy group types (assigned to a given group) that were either migrated or created in the new attribute framework.
      Parameters:
      groupId -
      Returns:
      the values where the keys are the legacy group type names
    • findStemAttributeAssignmentsByAttribute

      Set<Object[]> findStemAttributeAssignmentsByAttribute(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnStem, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, boolean includeAssignmentsOnAssignments, String filter, Boolean splitFilter)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids cannot have more than 100 bind variables
      Parameters:
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      checkAttributeReadOnStem -
      attributeCheckReadOnAttributeDef -
      queryOptions -
      retrieveValues -
      includeAssignmentsOnAssignments -
      filter - filter if filtering by group info
      splitFilter - true (default) if filter has spaces, split and look for all anywhere
      Returns:
      attrdefs, attrdefnames, stems, assignments and optionally set of values
    • findAttributeDefAttributeAssignmentsByAttribute

      Set<Object[]> findAttributeDefAttributeAssignmentsByAttribute(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnOwnerAttributeDef, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, boolean includeAssignmentsOnAssignments, String filter, Boolean splitFilter)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids cannot have more than 100 bind variables
      Parameters:
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      checkAttributeReadOnOwnerAttributeDef -
      attributeCheckReadOnAttributeDef -
      queryOptions -
      retrieveValues -
      includeAssignmentsOnAssignments -
      filter - filter if filtering by group info
      splitFilter - true (default) if filter has spaces, split and look for all anywhere
      Returns:
      attrdefs, attrdefnames, stems, assignments and optionally set of values
    • findMemberAttributeAssignmentsByAttribute

      Set<Object[]> findMemberAttributeAssignmentsByAttribute(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, boolean includeAssignmentsOnAssignments, String filter, Boolean splitFilter)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids cannot have more than 100 bind variables
      Parameters:
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      attributeCheckReadOnAttributeDef -
      queryOptions -
      retrieveValues -
      includeAssignmentsOnAssignments -
      filter - filter if filtering by group info
      splitFilter - true (default) if filter has spaces, split and look for all anywhere
      Returns:
      attrdefs, attrdefnames, members, assignments and optionally set of values
    • findMemberAttributeAssignmentsOnAssignmentsByAttribute

      Set<Object[]> findMemberAttributeAssignmentsOnAssignmentsByAttribute(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, String filter, Boolean splitFilter)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or group ids cannot have more than 100 bind variables
      Parameters:
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      attributeCheckReadOnAttributeDef -
      queryOptions -
      retrieveValues -
      filter - filter if filtering by group info
      splitFilter - true (default) if filter has spaces, split and look for all anywhere
      Returns:
      attr defs, attr def names, stems and assignments and optionally set of values
    • findImmediateMembershipAttributeAssignmentsByAttribute

      Set<Object[]> findImmediateMembershipAttributeAssignmentsByAttribute(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnGroup, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, boolean includeAssignmentsOnAssignments, String filter, Boolean splitFilter)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or group ids cannot have more than 100 bind variables
      Parameters:
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      checkAttributeReadOnGroup -
      attributeCheckReadOnAttributeDef -
      queryOptions -
      retrieveValues -
      includeAssignmentsOnAssignments - if include assignments on assignments
      filter - filter if filtering by group info
      splitFilter - true (default) if filter has spaces, split and look for all anywhere
      Returns:
      attrdefs, attrdefnames, groups/members/memberships array, assignments and optionally set of values
    • findImmediateMembershipAttributeAssignmentsOnAssignmentsByAttribute

      Set<Object[]> findImmediateMembershipAttributeAssignmentsOnAssignmentsByAttribute(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnGroup, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, String filter, Boolean splitFilter)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or group ids cannot have more than 100 bind variables
      Parameters:
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      checkAttributeReadOnGroup -
      attributeCheckReadOnAttributeDef -
      queryOptions -
      retrieveValues -
      filter - filter if filtering by group info
      splitFilter - true (default) if filter has spaces, split and look for all anywhere
      Returns:
      attr defs, attr def names, groups/members/memberships array, and assignments and optionally set of values
    • findAnyMembershipAttributeAssignmentsOnAssignmentsByAttribute

      Set<Object[]> findAnyMembershipAttributeAssignmentsOnAssignmentsByAttribute(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnGroup, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, String filter, Boolean splitFilter)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or group ids cannot have more than 100 bind variables
      Parameters:
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      checkAttributeReadOnGroup -
      attributeCheckReadOnAttributeDef -
      queryOptions -
      retrieveValues -
      filter - filter if filtering by group info
      splitFilter - true (default) if filter has spaces, split and look for all anywhere
      Returns:
      attr defs, attr def names, groups/members array, and assignments and optionally set of values
    • findAnyMembershipAttributeAssignmentsByAttribute

      Set<Object[]> findAnyMembershipAttributeAssignmentsByAttribute(Collection<String> attributeDefIds, Collection<String> attributeDefNameIds, Collection<String> actions, Boolean enabled, Boolean checkAttributeReadOnGroup, Boolean attributeCheckReadOnAttributeDef, QueryOptions queryOptions, boolean retrieveValues, boolean includeAssignmentsOnAssignments, String filter, Boolean splitFilter)
      securely search for assignments. need to pass in either the assign ids, def ids, def name ids, or group ids cannot have more than 100 bind variables
      Parameters:
      attributeDefIds - optional
      attributeDefNameIds - mutually exclusive with attributeDefIds
      actions - (null means all actions)
      enabled - (null means all, true means enabled, false means disabled)
      checkAttributeReadOnGroup -
      attributeCheckReadOnAttributeDef -
      queryOptions -
      retrieveValues -
      includeAssignmentsOnAssignments - if include assignments on assignments
      filter - filter if filtering by group info
      splitFilter - true (default) if filter has spaces, split and look for all anywhere
      Returns:
      attrdefs, attrdefnames, groups/members array, assignments and optionally set of values