Package org.tailormap.api.persistence
Class Group
java.lang.Object
org.tailormap.api.persistence.AuditMetadata
org.tailormap.api.persistence.Group
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOrUpdateAdminProperty(String key, Object value, boolean isPublic) getName()getNotes()booleanvoidmapAdminPropertyValue(String key, boolean isPublic, Function<Object, Object> valueMapper) Maps a property value in the additional properties of the group.voidoidcClientIdSeen(String clientId) setAdditionalProperties(List<AdminAdditionalProperty> additionalProperties) setAliasForGroup(String aliasFor) setDescription(String title) setMembers(Set<User> members) setOidcInfo(GroupOidcInfo oidcInfo) setSystemGroup(boolean systemGroup) setVersion(Long version) Methods inherited from class org.tailormap.api.persistence.AuditMetadata
getCreatedBy, getCreatedDate, getLastModifiedBy, getLastModifiedDate, setCreatedBy, setCreatedDate, setLastModifiedBy, setLastModifiedDate
-
Field Details
-
ANONYMOUS
- See Also:
-
AUTHENTICATED
- See Also:
-
ADMIN
- See Also:
-
ACTUATOR
- See Also:
-
-
Constructor Details
-
Group
public Group()
-
-
Method Details
-
getName
-
setName
-
getVersion
-
setVersion
-
isSystemGroup
public boolean isSystemGroup() -
setSystemGroup
-
getDescription
-
setDescription
-
getNotes
-
setNotes
-
getMembers
-
setMembers
-
getAliasForGroup
-
setAliasForGroup
-
getAdditionalProperties
-
setAdditionalProperties
-
getOidcInfo
-
setOidcInfo
-
addOrUpdateAdminProperty
-
mapAdminPropertyValue
public void mapAdminPropertyValue(String key, boolean isPublic, Function<Object, Object> valueMapper) Maps a property value in the additional properties of the group. If the property does not exist, it will be created, and the valueMapper function will be called with a null value.- Parameters:
key- the key of the propertyisPublic- whether the property is publicvalueMapper- the function to map the value
-
oidcClientIdSeen
-