| org.sakaiproject.component.app.messageforums.PermissionManagerImpl
PermissionManagerImpl | public class PermissionManagerImpl extends HibernateDaoSupport implements PermissionManager(Code) | | |
Method Summary | |
public AreaControlPermission | createAreaControlPermissionForRole(String role, String typeId) | 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) | 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) | 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) | public AreaManager | getAreaManager() | 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) | 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) | 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) | public MessagePermissions | getDefaultTopicMessagePermissionForRole(Topic topic, String role, String typeId) Get the default topic message permission for a given role. | public EventTrackingService | getEventTrackingService() | public ForumControlPermission | getForumControlPermissionForRole(BaseForum forum, String role, String typeId) | public MessagePermissions | getForumMessagePermissionForRole(BaseForum forum, String role, String typeId) Get the forum message permission for a given role. | public IdManager | getIdManager() | public SessionManager | getSessionManager() | public TopicControlPermission | getTopicControlPermissionForRole(Topic topic, String role, String typeId) | public MessagePermissions | getTopicMessagePermissionForRole(Topic topic, String role, String typeId) Get the topic message permission for a given role. | public MessageForumsTypeManager | getTypeManager() | public void | init() | public void | saveAreaControlPermissionForRole(Area area, AreaControlPermission permission, String typeId) | public void | saveAreaMessagePermissionForRole(Area area, MessagePermissions permission, String typeId) Save an area message permission. | public void | saveDefaultAreaControlPermissionForRole(Area area, AreaControlPermission permission, String typeId) | public void | saveDefaultAreaMessagePermissionForRole(Area area, MessagePermissions permission, String typeId) Save a default area message permission. | public void | saveDefaultForumControlPermissionForRole(BaseForum forum, ForumControlPermission permission) | public void | saveDefaultForumMessagePermissionForRole(BaseForum forum, MessagePermissions permission) Save a default forum message permission. | public void | saveDefaultTopicControlPermissionForRole(Topic topic, TopicControlPermission permission) | public void | saveDefaultTopicMessagePermissionForRole(Topic topic, MessagePermissions permission) Save a default topic message permission. | public void | saveForumControlPermissionForRole(BaseForum forum, ForumControlPermission permission) | public void | saveForumMessagePermissionForRole(BaseForum forum, MessagePermissions permission) Save an forum message permission. | public void | saveTopicControlPermissionForRole(Topic topic, TopicControlPermission permission) | public void | saveTopicMessagePermissionForRole(Topic topic, MessagePermissions permission) Save an topic message permission. | public void | setAreaManager(AreaManager areaManager) | public void | setDefaultPermissionsManager(DefaultPermissionsManager defaultPermissionManager) | public void | setEventTrackingService(EventTrackingService eventTrackingService) | public void | setIdManager(IdManager idManager) | public void | setSessionManager(SessionManager sessionManager) | public void | setTypeManager(MessageForumsTypeManager typeManager) |
createAreaMessagePermissionForRole | public MessagePermissions createAreaMessagePermissionForRole(String role, String typeId)(Code) | | Create an empty area message 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).
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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).
|
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).
|
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).
|
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).
|
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).
|
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).
|
setDefaultPermissionsManager | public void setDefaultPermissionsManager(DefaultPermissionsManager defaultPermissionManager)(Code) | | Parameters: defaultPermissionsManager - The defaultPermissionsManager to set. |
|
|