|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.sharing.SharePermissionDeleteUtils
public class SharePermissionDeleteUtils
This is an adapter class that can be called when an entity, like groups and projects and roles, is deleted to allow the other associated SharePermissions to be deleted as well.
Constructor Summary | |
---|---|
SharePermissionDeleteUtils(ShareManager shareManager)
|
Method Summary | |
---|---|
void |
deleteGroupPermissions(String groupName)
This is called when a group is about to be deleted. |
void |
deleteProjectSharePermissions(Long projectId)
This is called when a project is about to be deleted. |
void |
deleteRoleSharePermissions(Long roleId)
This is called when a role is about to be deleted. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SharePermissionDeleteUtils(ShareManager shareManager)
Method Detail |
---|
public void deleteGroupPermissions(String groupName)
groupName
- the name of the group being deletedpublic void deleteRoleSharePermissions(Long roleId)
roleId
- the id of the role being deletedpublic void deleteProjectSharePermissions(Long projectId)
projectId
- the id of the project being deleted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |