Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ac
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OATS-CADC
ac
Commits
b9f1f7a4
Commit
b9f1f7a4
authored
9 years ago
by
Alinga Yeung
Browse files
Options
Downloads
Patches
Plain Diff
Story ac2. Removed unnecessary modifiers from the interface.
parent
9b6b6623
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
projects/cadcAccessControl-Server/src/ca/nrc/cadc/ac/server/GroupPersistence.java
+8
-8
8 additions, 8 deletions
...ol-Server/src/ca/nrc/cadc/ac/server/GroupPersistence.java
with
8 additions
and
8 deletions
projects/cadcAccessControl-Server/src/ca/nrc/cadc/ac/server/GroupPersistence.java
+
8
−
8
View file @
b9f1f7a4
...
...
@@ -79,7 +79,7 @@ import ca.nrc.cadc.ac.Role;
import
ca.nrc.cadc.ac.UserNotFoundException
;
import
ca.nrc.cadc.net.TransientException
;
public
abstract
interface
GroupPersistence
<
T
extends
Principal
>
public
interface
GroupPersistence
<
T
extends
Principal
>
{
/**
* Get all group names.
...
...
@@ -88,7 +88,7 @@ public abstract interface GroupPersistence<T extends Principal>
* @throws TransientException If an temporary, unexpected problem occurred.
* @throws AccessControlException If the operation is not permitted.
*/
public
Collection
<
String
>
getGroupNames
()
Collection
<
String
>
getGroupNames
()
throws
TransientException
,
AccessControlException
;
/**
...
...
@@ -102,7 +102,7 @@ public abstract interface GroupPersistence<T extends Principal>
* @throws TransientException If an temporary, unexpected problem occurred.
* @throws AccessControlException If the operation is not permitted.
*/
public
abstract
Group
getGroup
(
String
groupID
)
Group
getGroup
(
String
groupID
)
throws
GroupNotFoundException
,
TransientException
,
AccessControlException
;
...
...
@@ -121,7 +121,7 @@ public abstract interface GroupPersistence<T extends Principal>
* @throws GroupNotFoundException if one of the groups in group members or
* group admins does not exist in the server.
*/
public
abstract
Group
addGroup
(
Group
group
)
Group
addGroup
(
Group
group
)
throws
GroupAlreadyExistsException
,
TransientException
,
AccessControlException
,
UserNotFoundException
,
GroupNotFoundException
;
...
...
@@ -135,7 +135,7 @@ public abstract interface GroupPersistence<T extends Principal>
* @throws TransientException If an temporary, unexpected problem occurred.
* @throws AccessControlException If the operation is not permitted.
*/
public
abstract
void
deleteGroup
(
String
groupID
)
void
deleteGroup
(
String
groupID
)
throws
GroupNotFoundException
,
TransientException
,
AccessControlException
;
...
...
@@ -151,7 +151,7 @@ public abstract interface GroupPersistence<T extends Principal>
* @throws AccessControlException If the operation is not permitted.
* @throws UserNotFoundException If owner or group members not valid users.
*/
public
abstract
Group
modifyGroup
(
Group
group
)
Group
modifyGroup
(
Group
group
)
throws
GroupNotFoundException
,
TransientException
,
AccessControlException
,
UserNotFoundException
;
...
...
@@ -170,7 +170,7 @@ public abstract interface GroupPersistence<T extends Principal>
* @throws TransientException If an temporary, unexpected problem occurred.
* @throws AccessControlException If the operation is not permitted.
*/
public
abstract
Collection
<
Group
>
getGroups
(
T
userID
,
Role
role
,
Collection
<
Group
>
getGroups
(
T
userID
,
Role
role
,
String
groupID
)
throws
UserNotFoundException
,
GroupNotFoundException
,
TransientException
,
AccessControlException
;
...
...
@@ -187,7 +187,7 @@ public abstract interface GroupPersistence<T extends Principal>
* @throws TransientException If an temporary, unexpected problem occurred.
* @throws AccessControlException If the operation is not permitted.
*/
public
boolean
isMember
(
T
userID
,
String
groupID
)
boolean
isMember
(
T
userID
,
String
groupID
)
throws
UserNotFoundException
,
TransientException
,
AccessControlException
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment