-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: KnoraUserGroup and KnoraUserGroupRepo (DEV-3288)
- Loading branch information
Showing
21 changed files
with
350 additions
and
217 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
...in/scala/org/knora/webapi/messages/admin/responder/groupsmessages/GroupsPayloadsADM.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/* | ||
* Copyright © 2021 - 2024 Swiss National Data and Service Center for the Humanities and/or DaSCH Service Platform contributors. | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package org.knora.webapi.messages.admin.responder.groupsmessages | ||
|
||
import org.knora.webapi.slice.admin.domain.model.* | ||
|
||
/** | ||
* Payload used for updating of an existing group. | ||
* | ||
* @param name the name of the group. | ||
* @param descriptions the descriptions of the group. | ||
* @param status the group's status. | ||
* @param selfjoin the group's self-join status. | ||
*/ | ||
final case class GroupUpdatePayloadADM( | ||
name: Option[GroupName] = None, | ||
descriptions: Option[GroupDescriptions] = None, | ||
// TODO-mpro: create separate payload for status update | ||
status: Option[GroupStatus] = None, | ||
selfjoin: Option[GroupSelfJoin] = None | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 0 additions & 58 deletions
58
webapi/src/main/scala/org/knora/webapi/slice/admin/domain/model/GroupIri.scala
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.