| org.sakaiproject.discussion.impl.BaseDiscussionService org.sakaiproject.discussion.impl.DbDiscussionService
DbDiscussionService | public class DbDiscussionService extends BaseDiscussionService (Code) | |
DbDiscussionService fills out the BaseDiscussionService with a database implementation.
The sql scripts in src/sql/chef_discussion.sql must be run on the database.
|
m_autoDdl | protected boolean m_autoDdl(Code) | | Configuration: to run the ddl on init or not.
|
m_cTableName | protected String m_cTableName(Code) | | The name of the db table holding discussion channels.
|
m_convertToDraft | protected boolean m_convertToDraft(Code) | | Set if we are to run the to-draft/owner conversion.
|
m_locksInDb | protected boolean m_locksInDb(Code) | | If true, we do our locks in the remote database, otherwise we do them here.
|
m_rTableName | protected String m_rTableName(Code) | | The name of the db table holding discussion messages.
|
convertToDraftPlus | protected void convertToDraftPlus()(Code) | | fill in the draft and owner db fields, and also catagory and reply to
|
init | public void init()(Code) | | Final initialization, once all dependencies are set.
|
newStorage | protected Storage newStorage()(Code) | | Construct a Storage object.
The new storage object. |
setAutoDdl | public void setAutoDdl(String value)(Code) | | Configuration: to run the ddl on init or not.
Parameters: value - the auto ddl value. |
setContainerTableName | public void setContainerTableName(String name)(Code) | | Configuration: set the table name for the container.
Parameters: path - The table name for the container. |
setConvertDraft | public void setConvertDraft(String value)(Code) | | Configuration: run the to-draft/owner conversion
Parameters: value - The conversion desired value. |
setLocksInDb | public void setLocksInDb(String value)(Code) | | Configuration: set the locks-in-db
Parameters: path - The storage path. |
setResourceTableName | public void setResourceTableName(String name)(Code) | | Configuration: set the table name for the resource.
Parameters: path - The table name for the resource. |
setSqlService | public void setSqlService(SqlService service)(Code) | | Dependency: SqlService.
Parameters: service - The SqlService. |
Methods inherited from org.sakaiproject.discussion.impl.BaseDiscussionService | public DiscussionChannelEdit addDiscussionChannel(String ref) throws IdUsedException, IdInvalidException, PermissionException(Code)(Java Doc) public String archive(String siteId, Document doc, Stack stack, String archivePath, List attachments)(Code)(Java Doc) public void contextCreated(String context, boolean toolPlacement)(Code)(Java Doc) public void contextDeleted(String context, boolean toolPlacement)(Code)(Java Doc) public void contextUpdated(String context, boolean toolPlacement)(Code)(Java Doc) protected String eventId(String secure)(Code)(Java Doc) public Time getDate(Entity r)(Code)(Java Doc) public DiscussionChannel getDiscussionChannel(String ref) throws IdUnusedException, PermissionException(Code)(Java Doc) public String getLabel()(Code)(Java Doc) public String getOwnerId(Entity r)(Code)(Java Doc) protected String getReferenceRoot()(Code)(Java Doc) protected String getSummaryFromHeader(Message item, MessageHeader header)(Code)(Java Doc) public void init()(Code)(Java Doc) public boolean isDraft(Entity r)(Code)(Java Doc) public String[] myToolIds()(Code)(Java Doc) public Entity newContainer(String ref)(Code)(Java Doc) public Entity newContainer(Element element)(Code)(Java Doc) public Entity newContainer(Entity other)(Code)(Java Doc) public Edit newContainerEdit(String ref)(Code)(Java Doc) public Edit newContainerEdit(Element element)(Code)(Java Doc) public Edit newContainerEdit(Entity other)(Code)(Java Doc) protected MessageHeaderEdit newMessageHeader(Message msg, String id)(Code)(Java Doc) protected MessageHeaderEdit newMessageHeader(Message msg, Element el)(Code)(Java Doc) protected MessageHeaderEdit newMessageHeader(Message msg, MessageHeader other)(Code)(Java Doc) public Entity newResource(Entity container, String id, Object[] others)(Code)(Java Doc) public Entity newResource(Entity container, Element element)(Code)(Java Doc) public Entity newResource(Entity container, Entity other)(Code)(Java Doc) public Edit newResourceEdit(Entity container, String id, Object[] others)(Code)(Java Doc) public Edit newResourceEdit(Entity container, Element element)(Code)(Java Doc) public Edit newResourceEdit(Entity container, Entity other)(Code)(Java Doc) public boolean parseEntityReference(String reference, Reference ref)(Code)(Java Doc) protected void parseMergeChannelExtra(Element element3, String channelRef)(Code)(Java Doc) protected String serviceName()(Code)(Java Doc) public Object[] storageFields(Entity r)(Code)(Java Doc) public void transferCopyEntities(String fromContext, String toContext, List resourceIds)(Code)(Java Doc)
|
|
|