| org.sakaiproject.api.app.messageforums.PermissionManager
All known Subclasses: org.sakaiproject.component.app.messageforums.PermissionManagerImpl,
PermissionManager | public interface PermissionManager (Code) | | |
Method Summary | |
public AreaControlPermission | createAreaControlPermissionForRole(String role, String typeId) Create an empty area control permission with system properties
populated (ie: uuid). | public MessagePermissions | createAreaMessagePermissionForRole(String role, String typeId) Create an empty area message permission with system properties
populated (ie: uuid). | public ForumControlPermission | createForumControlPermissionForRole(String role, String typeId) Create an empty forum control permission with system properties
populated (ie: uuid). | public MessagePermissions | createForumMessagePermissionForRole(String role, String typeId) Create an empty forum message permission with system properties
populated (ie: uuid). | public TopicControlPermission | createTopicControlPermissionForRole(BaseForum forum, String role, String typeId) Create an empty topic control permission with system properties
populated (ie: uuid). | public MessagePermissions | createTopicMessagePermissionForRole(BaseForum forum, String role, String typeId) Create an empty topic message permission with system properties
populated (ie: uuid). | public ControlPermissions | getAreaControlPermissionByRoleAndType(String roleId, String typeId, boolean defaultValue) | public AreaControlPermission | getAreaControlPermissionForRole(String role, String typeId) Get the area control permission for a given role. | public MessagePermissions | getAreaMessagePermissionByRoleAndType(String roleId, String typeId, boolean defaultValue) | public MessagePermissions | getAreaMessagePermissionForRole(String role, String typeId) Get the area message permission for a given role. | public AreaControlPermission | getDefaultAreaControlPermissionForRole(String role, String typeId) Get the default area control permission for a given role. | public MessagePermissions | getDefaultAreaMessagePermissionForRole(String role, String typeId) Get the default area message permission for a given role. | public ForumControlPermission | getDefaultForumControlPermissionForRole(BaseForum forum, String role, String typeId) Get the default forum control permission for a given role. | public MessagePermissions | getDefaultForumMessagePermissionForRole(BaseForum forum, String role, String typeId) Get the default forum message permission for a given role. | public TopicControlPermission | getDefaultTopicControlPermissionForRole(Topic topic, String role, String typeId) Get the default topic control permission for a given role. | public MessagePermissions | getDefaultTopicMessagePermissionForRole(Topic topic, String role, String typeId) Get the default topic message permission for a given role. | public ForumControlPermission | getForumControlPermissionForRole(BaseForum forum, String role, String typeId) Get the forum control permission for a given role. | public MessagePermissions | getForumMessagePermissionForRole(BaseForum forum, String role, String typeId) Get the forum message permission for a given role. | public TopicControlPermission | getTopicControlPermissionForRole(Topic topic, String role, String typeId) Get the topic control permission for a given role. | public MessagePermissions | getTopicMessagePermissionForRole(Topic topic, String role, String typeId) Get the topic message permission for a given role. | public void | saveAreaControlPermissionForRole(Area area, AreaControlPermission permission, String typeId) Save an area control permission. | public void | saveAreaMessagePermissionForRole(Area area, MessagePermissions permission, String typeId) Save an area message permission. | public void | saveDefaultAreaControlPermissionForRole(Area area, AreaControlPermission permission, String typeId) Save a default area control permission. | public void | saveDefaultAreaMessagePermissionForRole(Area area, MessagePermissions permission, String typeId) Save a default area message permission. | public void | saveDefaultForumControlPermissionForRole(BaseForum forum, ForumControlPermission permission) Save a default forum control permission. | public void | saveDefaultForumMessagePermissionForRole(BaseForum forum, MessagePermissions permission) Save a default forum message permission. | public void | saveDefaultTopicControlPermissionForRole(Topic topic, TopicControlPermission permission) Save a default topic control permission. | public void | saveDefaultTopicMessagePermissionForRole(Topic topic, MessagePermissions permission) Save a default topic message permission. | public void | saveForumControlPermissionForRole(BaseForum forum, ForumControlPermission permission) Save an forum control permission. | public void | saveForumMessagePermissionForRole(BaseForum forum, MessagePermissions permission) Save an forum message permission. | public void | saveTopicControlPermissionForRole(Topic topic, TopicControlPermission permission) Save an topic control permission. | public void | saveTopicMessagePermissionForRole(Topic topic, MessagePermissions permission) Save an topic message permission. |
createAreaControlPermissionForRole | public AreaControlPermission createAreaControlPermissionForRole(String role, String typeId)(Code) | | Create an empty area control permission with system properties
populated (ie: uuid).
|
createAreaMessagePermissionForRole | public MessagePermissions createAreaMessagePermissionForRole(String role, String typeId)(Code) | | Create an empty area message permission with system properties
populated (ie: uuid).
|
createForumControlPermissionForRole | public ForumControlPermission createForumControlPermissionForRole(String role, String typeId)(Code) | | Create an empty forum control permission with system properties
populated (ie: uuid).
|
createForumMessagePermissionForRole | public MessagePermissions createForumMessagePermissionForRole(String role, String typeId)(Code) | | Create an empty forum message permission with system properties
populated (ie: uuid).
|
createTopicMessagePermissionForRole | public MessagePermissions createTopicMessagePermissionForRole(BaseForum forum, String role, String typeId)(Code) | | Create an empty topic message permission with system properties
populated (ie: uuid).
|
getAreaControlPermissionForRole | public AreaControlPermission getAreaControlPermissionForRole(String role, String typeId)(Code) | | Get the area control permission for a given role. This provides the permissions
that the role currently has.
|
getAreaMessagePermissionForRole | public MessagePermissions getAreaMessagePermissionForRole(String role, String typeId)(Code) | | Get the area message permission for a given role. This provides the permissions
that the role currently has.
|
getDefaultAreaControlPermissionForRole | public AreaControlPermission getDefaultAreaControlPermissionForRole(String role, String typeId)(Code) | | Get the default area control permission for a given role. This provides the
permissions that the role currently has.
|
getDefaultAreaMessagePermissionForRole | public MessagePermissions getDefaultAreaMessagePermissionForRole(String role, String typeId)(Code) | | Get the default area message permission for a given role. This provides the
permissions that the role currently has.
|
getDefaultForumControlPermissionForRole | public ForumControlPermission getDefaultForumControlPermissionForRole(BaseForum forum, String role, String typeId)(Code) | | Get the default forum control permission for a given role. This provides the
permissions that the role currently has.
|
getDefaultForumMessagePermissionForRole | public MessagePermissions getDefaultForumMessagePermissionForRole(BaseForum forum, String role, String typeId)(Code) | | Get the default forum message permission for a given role. This provides the
permissions that the role currently has.
|
getDefaultTopicControlPermissionForRole | public TopicControlPermission getDefaultTopicControlPermissionForRole(Topic topic, String role, String typeId)(Code) | | Get the default topic control permission for a given role. This provides the
permissions that the role currently has.
|
getDefaultTopicMessagePermissionForRole | public MessagePermissions getDefaultTopicMessagePermissionForRole(Topic topic, String role, String typeId)(Code) | | Get the default topic message permission for a given role. This provides the
permissions that the role currently has.
|
getForumControlPermissionForRole | public ForumControlPermission getForumControlPermissionForRole(BaseForum forum, String role, String typeId)(Code) | | Get the forum control permission for a given role. This provides the permissions
that the role currently has.
|
getForumMessagePermissionForRole | public MessagePermissions getForumMessagePermissionForRole(BaseForum forum, String role, String typeId)(Code) | | Get the forum message permission for a given role. This provides the permissions
that the role currently has.
|
getTopicControlPermissionForRole | public TopicControlPermission getTopicControlPermissionForRole(Topic topic, String role, String typeId)(Code) | | Get the topic control permission for a given role. This provides the permissions
that the role currently has.
|
getTopicMessagePermissionForRole | public MessagePermissions getTopicMessagePermissionForRole(Topic topic, String role, String typeId)(Code) | | Get the topic message permission for a given role. This provides the permissions
that the role currently has.
|
saveAreaControlPermissionForRole | public void saveAreaControlPermissionForRole(Area area, AreaControlPermission permission, String typeId)(Code) | | Save an area control permission. This is backed in the database by a single
Control permission (used for areas, forums, and topics).
|
saveAreaMessagePermissionForRole | public void saveAreaMessagePermissionForRole(Area area, MessagePermissions permission, String typeId)(Code) | | Save an area message permission. This is backed in the database by a single
message permission (used for areas, forums, and topics).
|
saveDefaultAreaControlPermissionForRole | public void saveDefaultAreaControlPermissionForRole(Area area, AreaControlPermission permission, String typeId)(Code) | | Save a default area control permission. This is backed in the database by a
single Control permission (used for areas, forums, and topics).
|
saveDefaultAreaMessagePermissionForRole | public void saveDefaultAreaMessagePermissionForRole(Area area, MessagePermissions permission, String typeId)(Code) | | Save a default area message permission. This is backed in the database by a
single message permission (used for areas, forums, and topics).
|
saveDefaultForumControlPermissionForRole | public void saveDefaultForumControlPermissionForRole(BaseForum forum, ForumControlPermission permission)(Code) | | Save a default forum control permission. This is backed in the database by a
single Control permission (used for topics, forums, and topics).
|
saveDefaultForumMessagePermissionForRole | public void saveDefaultForumMessagePermissionForRole(BaseForum forum, MessagePermissions permission)(Code) | | Save a default forum message permission. This is backed in the database by a
single message permission (used for topics, forums, and topics).
|
saveDefaultTopicControlPermissionForRole | public void saveDefaultTopicControlPermissionForRole(Topic topic, TopicControlPermission permission)(Code) | | Save a default topic control permission. This is backed in the database by a
single Control permission (used for areas, forums, and topics).
|
saveDefaultTopicMessagePermissionForRole | public void saveDefaultTopicMessagePermissionForRole(Topic topic, MessagePermissions permission)(Code) | | Save a default topic message permission. This is backed in the database by a
single message permission (used for areas, forums, and topics).
|
saveForumControlPermissionForRole | public void saveForumControlPermissionForRole(BaseForum forum, ForumControlPermission permission)(Code) | | Save an forum control permission. This is backed in the database by a single
Control permission (used for topics, forums, and topics).
|
saveForumMessagePermissionForRole | public void saveForumMessagePermissionForRole(BaseForum forum, MessagePermissions permission)(Code) | | Save an forum message permission. This is backed in the database by a single
message permission (used for topics, forums, and topics).
|
saveTopicControlPermissionForRole | public void saveTopicControlPermissionForRole(Topic topic, TopicControlPermission permission)(Code) | | Save an topic control permission. This is backed in the database by a single
Control permission (used for areas, forums, and topics).
|
saveTopicMessagePermissionForRole | public void saveTopicMessagePermissionForRole(Topic topic, MessagePermissions permission)(Code) | | Save an topic message permission. This is backed in the database by a single
message permission (used for areas, forums, and topics).
|
|
|