Package com.skava.auth.util
Class GroupAttributeUtil
java.lang.Object
com.skava.auth.util.GroupAttributeUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic GroupAttribute
createGroupAttribute
(GroupAttributeVO input, GroupAttributeRepository groupAttributeRepository) static void
deleteGroupAttribute
(GroupAttribute groupAttribute, GroupAttributeRepository groupAttributeRepository) static GroupAttribute
getGroupAttribute
(long attributeId, GroupAttributeRepository groupAttributeRepository) static List<GroupAttribute>
searchGroupAttributes
(String filter, long collectionId, int offset, int limit, jakarta.persistence.EntityManager entityManager) static GroupAttribute
updateGroupAttribute
(GroupAttribute groupAttribute, GroupAttributeRepository groupAttributeRepository)
-
Method Details
-
createGroupAttribute
public static GroupAttribute createGroupAttribute(GroupAttributeVO input, GroupAttributeRepository groupAttributeRepository) - Parameters:
input
- aGroupAttributeVO
object.groupAttributeRepository
- aGroupAttributeRepository
object.- Returns:
- a
GroupAttribute
object.
-
getGroupAttribute
public static GroupAttribute getGroupAttribute(long attributeId, GroupAttributeRepository groupAttributeRepository) - Parameters:
attributeId
- aLong
object.groupAttributeRepository
- aGroupAttributeRepository
object.- Returns:
- a
GroupAttribute
object.
-
searchGroupAttributes
public static List<GroupAttribute> searchGroupAttributes(String filter, long collectionId, int offset, int limit, jakarta.persistence.EntityManager entityManager) -
updateGroupAttribute
public static GroupAttribute updateGroupAttribute(GroupAttribute groupAttribute, GroupAttributeRepository groupAttributeRepository) -
deleteGroupAttribute
public static void deleteGroupAttribute(GroupAttribute groupAttribute, GroupAttributeRepository groupAttributeRepository)
-