| org.sakaiproject.mailarchive.impl.BaseMailArchiveService org.sakaiproject.mailarchive.impl.DbMailArchiveService
DbMailArchiveService | public class DbMailArchiveService extends BaseMailArchiveService (Code) | |
DbMailArchiveService fills out the BaseMailArchiveService with a database implementation.
The sql scripts in src/sql/chef_mailarchive.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 mail archive 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 mail archive messages.
|
convertToDraft | protected void convertToDraft()(Code) | | fill in the draft and owner db fields
|
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.mailarchive.impl.BaseMailArchiveService | public MailArchiveChannelEdit addMailArchiveChannel(String ref) throws IdUsedException, IdInvalidException, PermissionException(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 void disableMailbox(String siteId)(Code)(Java Doc) protected void enableMailbox(String siteId)(Code)(Java Doc) protected String eventId(String secure)(Code)(Java Doc) public Time getDate(Entity r)(Code)(Java Doc) public String getLabel()(Code)(Java Doc) public MailArchiveChannel getMailArchiveChannel(String ref) throws IdUnusedException, PermissionException(Code)(Java Doc) public String getOwnerId(Entity r)(Code)(Java Doc) protected String getReferenceRoot()(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 String serviceName()(Code)(Java Doc) public void setNotificationService(NotificationService service)(Code)(Java Doc) public Object[] storageFields(Entity r)(Code)(Java Doc)
|
|
|