|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserRepositories
UserRepositories
Method Summary | |
---|---|
void |
createMissingRepositoryRoles(java.lang.String repoId)
Create any missing repository roles for the provided repository id. |
java.util.List<java.lang.String> |
getManagableRepositoryIds(java.lang.String principal)
Get the list of writable repository ids for the user specified. |
java.util.List<java.lang.String> |
getObservableRepositoryIds(java.lang.String principal)
Get the list of observable repository ids for the user specified. |
boolean |
isAuthorizedToDeleteArtifacts(java.lang.String principal,
java.lang.String repoId)
Check if user is authorized to delete artifacts in the repository. |
boolean |
isAuthorizedToUploadArtifacts(java.lang.String principal,
java.lang.String repoId)
Check if user is authorized to upload artifacts in the repository. |
Method Detail |
---|
java.util.List<java.lang.String> getObservableRepositoryIds(java.lang.String principal) throws PrincipalNotFoundException, AccessDeniedException, ArchivaSecurityException
principal
- the principle to obtain the observable repository ids from.
PrincipalNotFoundException
AccessDeniedException
ArchivaSecurityException
java.util.List<java.lang.String> getManagableRepositoryIds(java.lang.String principal) throws PrincipalNotFoundException, AccessDeniedException, ArchivaSecurityException
principal
- the principle to obtain the observable repository ids from.
PrincipalNotFoundException
AccessDeniedException
ArchivaSecurityException
void createMissingRepositoryRoles(java.lang.String repoId) throws ArchivaSecurityException
repoId
- the repository id to work off of.
ArchivaSecurityException
- if there was a problem creating the repository roles.boolean isAuthorizedToUploadArtifacts(java.lang.String principal, java.lang.String repoId) throws PrincipalNotFoundException, ArchivaSecurityException
principal
- repoId
-
PrincipalNotFoundException
ArchivaSecurityException
boolean isAuthorizedToDeleteArtifacts(java.lang.String principal, java.lang.String repoId) throws AccessDeniedException, ArchivaSecurityException
principal
- repoId
-
ArchivaSecurityException
AccessDeniedException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |