| org.sakaiproject.entity.api.ContextObserver
All known Subclasses: org.sakaiproject.calendar.impl.BaseCalendarService, org.sakaiproject.tool.gradebook.facades.sakai2impl.GradebookEntityProducer, org.sakaiproject.chat.impl.BaseChatService, org.sakaiproject.discussion.impl.BaseDiscussionService, org.sakaiproject.announcement.impl.BaseAnnouncementService, org.sakaiproject.mailarchive.impl.BaseMailArchiveService, org.sakaiproject.content.impl.BaseContentService,
ContextObserver | public interface ContextObserver (Code) | |
Services which implement ContextObserver declare themselves as wanting context change notification.
|
Method Summary | |
void | contextCreated(String context, boolean toolPlacement) This is called when a context is first created. | void | contextDeleted(String context, boolean toolPlacment) This is called when a context is being deleted. | void | contextUpdated(String context, boolean toolPlacement) This is called when a context is changed. | String[] | myToolIds() Provide the string array of tool ids, for tools that we need context preperation for. |
contextCreated | void contextCreated(String context, boolean toolPlacement)(Code) | | This is called when a context is first created.
Parameters: context - The context id. Parameters: toolPlacement - true if one of your tool is placed in the context. |
contextDeleted | void contextDeleted(String context, boolean toolPlacment)(Code) | | This is called when a context is being deleted.
Parameters: context - The context id. Parameters: toolPlacement - true if one of your tool is placed in the context after the change. |
contextUpdated | void contextUpdated(String context, boolean toolPlacement)(Code) | | This is called when a context is changed.
Parameters: context - The context id. Parameters: toolPlacement - true if one of your tool is placed in the context after the change. |
myToolIds | String[] myToolIds()(Code) | | Provide the string array of tool ids, for tools that we need context preperation for.
|
|
|