Package io.phasetwo.service.model
Interface OrganizationModel
- All Superinterfaces:
WithAttributes
- All Known Implementing Classes:
OrganizationAdapter
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptionaddInvitation
(String email, org.keycloak.models.UserModel inviter) org.keycloak.models.UserModel
getId()
Stream
<org.keycloak.models.IdentityProviderModel> getInvitation
(String id) default Stream
<InvitationModel> getInvitationsByEmail
(String email) Stream
<org.keycloak.models.UserModel> getName()
org.keycloak.models.RealmModel
getRealm()
default OrganizationRoleModel
getRoleByName
(String name) getUrl()
void
grantMembership
(org.keycloak.models.UserModel user) boolean
hasMembership
(org.keycloak.models.UserModel user) void
removeRole
(String name) void
void
revokeInvitations
(String email) void
revokeMembership
(org.keycloak.models.UserModel user) Stream
<org.keycloak.models.UserModel> searchForMembersStream
(String search, Integer firstResult, Integer maxResults) void
setDisplayName
(String displayName) void
setDomains
(Set<String> domain) void
void
Methods inherited from interface io.phasetwo.service.model.WithAttributes
getAttributes, getAttributesStream, getFirstAttribute, removeAttribute, removeAttributes, setAttribute, setSingleAttribute
-
Method Details
-
getId
String getId() -
getName
String getName() -
setName
-
getDisplayName
String getDisplayName() -
setDisplayName
-
getDomains
-
setDomains
-
getDomain
-
getUrl
String getUrl() -
setUrl
-
getRealm
org.keycloak.models.RealmModel getRealm() -
getCreatedBy
org.keycloak.models.UserModel getCreatedBy() -
getMembersCount
Long getMembersCount() -
getMembersStream
Stream<org.keycloak.models.UserModel> getMembersStream() -
searchForMembersStream
-
hasMembership
boolean hasMembership(org.keycloak.models.UserModel user) -
grantMembership
void grantMembership(org.keycloak.models.UserModel user) -
revokeMembership
void revokeMembership(org.keycloak.models.UserModel user) -
getInvitationsStream
Stream<InvitationModel> getInvitationsStream() -
getInvitationsByEmail
-
getInvitation
-
revokeInvitation
-
revokeInvitations
-
addInvitation
-
getRolesStream
Stream<OrganizationRoleModel> getRolesStream() -
getRoleByName
-
removeRole
-
addRole
-
getIdentityProvidersStream
Stream<org.keycloak.models.IdentityProviderModel> getIdentityProvidersStream()
-