|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CruciblePermissionsManager
Interface for managing default permissions scheme and project permissions schemes applied to new and existing projects. Methods here should generally not be called directly, but rather through the RepositoryPermissionsManager.
RepositoryPermissionsManager
Method Summary | |
---|---|
void |
createPermissions(String repositoryKey,
RepositoryPermissions permissions)
Creates the permissions for a given FishEye repository |
void |
setDefaultPermissions(RepositoryPermissions permissions)
Overwrites the default permissions for new FishEye repositories. |
void |
updatePermissions(String repositoryKey,
RepositoryPermissions permissions)
Updates the permissions for a given FishEye repository |
Method Detail |
---|
void createPermissions(String repositoryKey, RepositoryPermissions permissions) throws ApplicationCommunicationException, ApplicationNotFoundException
repositoryKey
- the key of the repository whose permissions will be setpermissions
- the new permissions
ApplicationCommunicationException
- when the communication to Crucible fails
ApplicationNotFoundException
void updatePermissions(String repositoryKey, RepositoryPermissions permissions) throws ApplicationCommunicationException, ApplicationNotFoundException
repositoryKey
- the key of the project whose permissions will be setpermissions
- the new permissions
ApplicationCommunicationException
- when the communication to Crucible fails
ApplicationNotFoundException
void setDefaultPermissions(RepositoryPermissions permissions) throws ApplicationCommunicationException, ApplicationNotFoundException
permissions
- the new defaults
ApplicationCommunicationException
- when the communication to Crucible fails
ApplicationNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |