Skip navigation links
A C D F G H I M O R S T U V W X 

A

APPLICATION_ID - Static variable in interface org.sakaiproject.chat2.model.ChatManager
The type string for this application: should not change over time as it may be stored in various parts of persistent entities.

C

calculateDateByOffset(int) - Method in interface org.sakaiproject.chat2.model.ChatManager
Returns a Date object that is the offset number of days before the current date
channelId - Variable in class org.sakaiproject.chat2.model.TransferableChatMessage
 
CHAT - Static variable in interface org.sakaiproject.chat2.model.ChatManager
 
CHAT_FUNCTION_DELETE_ANY - Static variable in interface org.sakaiproject.chat2.model.ChatFunctions
 
CHAT_FUNCTION_DELETE_CHANNEL - Static variable in interface org.sakaiproject.chat2.model.ChatFunctions
 
CHAT_FUNCTION_DELETE_OWN - Static variable in interface org.sakaiproject.chat2.model.ChatFunctions
 
CHAT_FUNCTION_DELETE_PREFIX - Static variable in interface org.sakaiproject.chat2.model.ChatFunctions
 
CHAT_FUNCTION_EDIT_CHANNEL - Static variable in interface org.sakaiproject.chat2.model.ChatFunctions
 
CHAT_FUNCTION_NEW - Static variable in interface org.sakaiproject.chat2.model.ChatFunctions
 
CHAT_FUNCTION_NEW_CHANNEL - Static variable in interface org.sakaiproject.chat2.model.ChatFunctions
 
CHAT_FUNCTION_PREFIX - Static variable in interface org.sakaiproject.chat2.model.ChatFunctions
 
CHAT_FUNCTION_READ - Static variable in interface org.sakaiproject.chat2.model.ChatFunctions
 
CHAT_TOOL_ID - Static variable in interface org.sakaiproject.chat2.model.ChatManager
 
ChatChannel - Class in org.sakaiproject.chat2.model
 
ChatChannel(ChatChannel) - Constructor for class org.sakaiproject.chat2.model.ChatChannel
Set up a new ChatChannel with the set defaults
ChatFunctions - Interface in org.sakaiproject.chat2.model
These are the permissions for reporting.
ChatManager - Interface in org.sakaiproject.chat2.model
 
ChatMessage - Class in org.sakaiproject.chat2.model
 
ChatMessage() - Constructor for class org.sakaiproject.chat2.model.ChatMessage
 
content - Variable in class org.sakaiproject.chat2.model.TransferableChatMessage
 
countChannelMessages(ChatChannel) - Method in interface org.sakaiproject.chat2.model.ChatManager
createNewChannel(String, String, boolean, boolean, String) - Method in interface org.sakaiproject.chat2.model.ChatManager
Creates a new ChatChannel but doesn't put it in the database.
createNewMessage(ChatChannel, String) - Method in interface org.sakaiproject.chat2.model.ChatManager
creates an unsaved Chat Message

D

deleteChannel(ChatChannel) - Method in interface org.sakaiproject.chat2.model.ChatManager
deletes the channel from the database.
deleteChannelMessages(ChatChannel) - Method in interface org.sakaiproject.chat2.model.ChatManager
delete all Chat Messages in a given channel
deleteMessage(ChatMessage) - Method in interface org.sakaiproject.chat2.model.ChatManager
delete a Chat Message
DeleteMessage - Class in org.sakaiproject.chat2.model
 
DeleteMessage() - Constructor for class org.sakaiproject.chat2.model.DeleteMessage
 

F

FILTER_ALL - Static variable in class org.sakaiproject.chat2.model.ChatChannel
 
FILTER_BY_NUMBER - Static variable in class org.sakaiproject.chat2.model.ChatChannel
Message filter names
FILTER_BY_TIME - Static variable in class org.sakaiproject.chat2.model.ChatChannel
 
FILTER_NONE - Static variable in class org.sakaiproject.chat2.model.ChatChannel
 
FILTER_TODAY - Static variable in class org.sakaiproject.chat2.model.ChatChannel
 

G

getCanCreateChannel(String) - Method in interface org.sakaiproject.chat2.model.ChatManager
Returns whether or not the user has permissions to create a new channel in the given context
getCanDelete(ChatMessage) - Method in interface org.sakaiproject.chat2.model.ChatManager
Returns whether or not the user has permissions to delete this message
getCanDelete(ChatChannel) - Method in interface org.sakaiproject.chat2.model.ChatManager
Returns whether or not the user has permissions to delete this channel
getCanDeleteAnyMessage(String) - Method in interface org.sakaiproject.chat2.model.ChatManager
Returns whether or not the user has permissions to delete any messages in this context
getCanEdit(ChatChannel) - Method in interface org.sakaiproject.chat2.model.ChatManager
Returns whether or not the user has permissions to edit this channel
getCanPostMessage(ChatChannel) - Method in interface org.sakaiproject.chat2.model.ChatManager
Returns whether or not the user can post messages in this channel
getCanReadMessage(ChatChannel) - Method in interface org.sakaiproject.chat2.model.ChatManager
Returns whether or not the user can read messages in this channel
getChannelMessages(ChatChannel, String, Date, int, int, boolean) - Method in interface org.sakaiproject.chat2.model.ChatManager
gets all the messages from the Channel after the passed date, limited to returning the the default maximum number of messages (100), use ChatManager.getChannelMessagesCount(ChatChannel, String, Date) to find the total number of messages
getChannelMessagesCount(ChatChannel, String, Date) - Method in interface org.sakaiproject.chat2.model.ChatManager
Gets the count of all the messages from the Channel after the passed date
getChatChannel(String) - Method in interface org.sakaiproject.chat2.model.ChatManager
gets one chat room
getContextChannels(String, boolean) - Method in interface org.sakaiproject.chat2.model.ChatManager
gets the rooms associated with the context
getContextChannels(String, String, String) - Method in interface org.sakaiproject.chat2.model.ChatManager
Gets the rooms associated with the context If no rooms are found, one is created with the passed title
getDefaultChannel(String, String) - Method in interface org.sakaiproject.chat2.model.ChatManager
Returns the context's default channel, or null if none.
getLabel() - Method in interface org.sakaiproject.chat2.model.ChatManager
Returns label used for entity producer
getMessage(String) - Method in interface org.sakaiproject.chat2.model.ChatManager
gets the message with the id
getMessageDateString(ChatMessage) - Method in interface org.sakaiproject.chat2.model.ChatManager
Get different date strings based on given ChatMessage::messageDate
getMessagesMax() - Method in interface org.sakaiproject.chat2.model.ChatManager
 
getPollInterval() - Method in interface org.sakaiproject.chat2.model.ChatManager
Get pollInterval (in milliseconds) from properties
getPresentUsers(String, String) - Method in interface org.sakaiproject.chat2.model.ChatManager
Get all online users in given siteId and chat channel id
getProperties() - Method in class org.sakaiproject.chat2.model.ChatChannel
 
getProperties() - Method in class org.sakaiproject.chat2.model.ChatMessage
 
getReference() - Method in class org.sakaiproject.chat2.model.ChatChannel
 
getReference(String) - Method in class org.sakaiproject.chat2.model.ChatChannel
 
getReference() - Method in class org.sakaiproject.chat2.model.ChatMessage
 
getReference(String) - Method in class org.sakaiproject.chat2.model.ChatMessage
 
getSessionKey() - Method in interface org.sakaiproject.chat2.model.ChatManager
Get session key (ussage_session_id:session_user_id) from current session
getUrl() - Method in class org.sakaiproject.chat2.model.ChatChannel
 
getUrl(String) - Method in class org.sakaiproject.chat2.model.ChatChannel
 
getUrl() - Method in class org.sakaiproject.chat2.model.ChatMessage
 
getUrl(String) - Method in class org.sakaiproject.chat2.model.ChatMessage
 
getUserTimeZone() - Method in interface org.sakaiproject.chat2.model.ChatManager
Get user timezone from preferencesService.

H

handleChatData(String, String, String) - Method in interface org.sakaiproject.chat2.model.ChatManager
- Update heartbeat for current user - Get undelivered (latest) messages - Get online users - Get removed messages
HeartBeat(String, String) - Static method in class org.sakaiproject.chat2.model.TransferableChatMessage
 

I

id - Variable in class org.sakaiproject.chat2.model.TransferableChatMessage
 
isMaintainer(String) - Method in interface org.sakaiproject.chat2.model.ChatManager
Returns whether or not the user is a site maintainer in this context

M

makeDefaultContextChannel(ChatChannel, String) - Method in interface org.sakaiproject.chat2.model.ChatManager
Makes the passed channel the default in the channel's context
MessageDateString - Class in org.sakaiproject.chat2.model
 
MessageDateString() - Constructor for class org.sakaiproject.chat2.model.MessageDateString
 
migrateMessage(String, Object[]) - Method in interface org.sakaiproject.chat2.model.ChatManager
Insert migrated message data

O

org.sakaiproject.chat2.model - package org.sakaiproject.chat2.model
 
owner - Variable in class org.sakaiproject.chat2.model.TransferableChatMessage
 

R

readObject(ObjectInputStream) - Method in class org.sakaiproject.chat2.model.TransferableChatMessage
 
REF_TYPE_CHANNEL - Static variable in interface org.sakaiproject.chat2.model.ChatManager
 
REF_TYPE_MESSAGE - Static variable in interface org.sakaiproject.chat2.model.ChatManager
The Reference type for a messgae.
REFERENCE_ROOT - Static variable in interface org.sakaiproject.chat2.model.ChatManager
This string starts the references to resources in this service.

S

sendMessage(ChatMessage) - Method in interface org.sakaiproject.chat2.model.ChatManager
sends the message out to the other clients
setBody(String) - Method in class org.sakaiproject.chat2.model.ChatMessage
Set body of chat message, adding html anchor tags as appropriate
setRawBody(String) - Method in class org.sakaiproject.chat2.model.ChatMessage
 
SimpleUser - Class in org.sakaiproject.chat2.model
 
SimpleUser() - Constructor for class org.sakaiproject.chat2.model.SimpleUser
 
siteId - Variable in class org.sakaiproject.chat2.model.TransferableChatMessage
 

T

timestamp - Variable in class org.sakaiproject.chat2.model.TransferableChatMessage
 
toChatMessage() - Method in class org.sakaiproject.chat2.model.TransferableChatMessage
 
toChatMessage(ChatChannel) - Method in class org.sakaiproject.chat2.model.TransferableChatMessage
 
toXml(Document, Stack) - Method in class org.sakaiproject.chat2.model.ChatChannel
Serialize the resource into XML, adding an element to the doc under the top of the stack element.
toXml(Document, Stack) - Method in class org.sakaiproject.chat2.model.ChatMessage
Serialize the resource into XML, adding an element to the doc under the top of the stack element.
TransferableChatMessage - Class in org.sakaiproject.chat2.model
Class used to transfer data through jGroups
TransferableChatMessage(ChatMessage) - Constructor for class org.sakaiproject.chat2.model.TransferableChatMessage
 
TransferableChatMessage(TransferableChatMessage.MessageType, String) - Constructor for class org.sakaiproject.chat2.model.TransferableChatMessage
 
TransferableChatMessage(TransferableChatMessage.MessageType, String, String) - Constructor for class org.sakaiproject.chat2.model.TransferableChatMessage
 
TransferableChatMessage(TransferableChatMessage.MessageType, String, String, String, String, String) - Constructor for class org.sakaiproject.chat2.model.TransferableChatMessage
 
TransferableChatMessage.MessageType - Enum in org.sakaiproject.chat2.model
 
type - Variable in class org.sakaiproject.chat2.model.TransferableChatMessage
 

U

updateChannel(ChatChannel, boolean) - Method in interface org.sakaiproject.chat2.model.ChatManager
updates the channel back into the database
updateMessage(ChatMessage) - Method in interface org.sakaiproject.chat2.model.ChatManager
saves a Chat Message

V

valueOf(String) - Static method in enum org.sakaiproject.chat2.model.TransferableChatMessage.MessageType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.sakaiproject.chat2.model.TransferableChatMessage.MessageType
Returns an array containing the constants of this enum type, in the order they are declared.

W

writeObject(ObjectOutputStream) - Method in class org.sakaiproject.chat2.model.TransferableChatMessage
 

X

xmlToChatChannel(Element, String) - Static method in class org.sakaiproject.chat2.model.ChatChannel
Converts the serialized xml back to a ChatChannel object
A C D F G H I M O R S T U V W X 
Skip navigation links

Copyright © 2003–2021 Sakai Project. All rights reserved.