| java.lang.Object org.sakaiproject.site.impl.BaseSiteService org.sakaiproject.site.impl.DbSiteService
All known Subclasses: org.sakaiproject.site.impl.SiteServiceTest,
DbSiteService | abstract public class DbSiteService extends BaseSiteService (Code) | |
DbSiteService is an extension of the BaseSiteService with a database storage.
|
m_autoDdl | protected boolean m_autoDdl(Code) | | Configuration: to run the ddl on init or not.
|
m_siteFieldNames | protected String[] m_siteFieldNames(Code) | | All fields for site.
|
m_siteIdFieldName | protected String m_siteIdFieldName(Code) | | ID field for site.
|
m_sitePropTableName | protected String m_sitePropTableName(Code) | | Table name for site properties.
|
m_siteSortField | protected String m_siteSortField(Code) | | Site sort field.
|
m_siteTableName | protected String m_siteTableName(Code) | | Table name for sites.
|
m_useExternalLocks | protected boolean m_useExternalLocks(Code) | | If true, we do our locks in the remote database, otherwise we do them here.
|
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. |
setExternalLocks | public void setExternalLocks(String value)(Code) | | Configuration: set the external locks value.
Parameters: value - The external locks value. |
sqlService | abstract protected SqlService sqlService()(Code) | | the MemoryService collaborator. |
Methods inherited from org.sakaiproject.site.impl.BaseSiteService | protected void addLiveProperties(BaseSite site)(Code)(Java Doc) protected void addLiveUpdateProperties(BaseSite site)(Code)(Java Doc) public Site addSite(String id, String type) throws IdInvalidException, IdUsedException, PermissionException(Code)(Java Doc) public Site addSite(String id, Site other) throws IdInvalidException, IdUsedException, PermissionException(Code)(Java Doc) public void addSiteAdvisor(SiteAdvisor siteAdvisor)(Code)(Java Doc) protected String adjustSkin(String skin, boolean published)(Code)(Java Doc) public boolean allowAccessSite(String id)(Code)(Java Doc) public boolean allowAddSite(String id)(Code)(Java Doc) public boolean allowRemoveSite(String id)(Code)(Java Doc) public boolean allowUnjoinSite(String id)(Code)(Java Doc) public boolean allowUpdateGroupMembership(String id)(Code)(Java Doc) public boolean allowUpdateSite(String id)(Code)(Java Doc) public boolean allowUpdateSiteMembership(String id)(Code)(Java Doc) public boolean allowViewRoster(String id)(Code)(Java Doc) public String archive(String siteId, Document doc, Stack stack, String archivePath, List attachments)(Code)(Java Doc) abstract protected AuthzGroupService authzGroupService()(Code)(Java Doc) protected String convertReferenceUrl(String url)(Code)(Java Doc) public int countSites(SelectionType type, Object ofType, String criteria, Map propertyCriteria)(Code)(Java Doc) public void destroy()(Code)(Java Doc) protected void disableAuthorizationGroup(String ref)(Code)(Java Doc) protected void disableAzg(Site site)(Code)(Java Doc) protected void disableRelated(Site site)(Code)(Java Doc) protected void doSave(BaseSite site, boolean isNew)(Code)(Java Doc) protected void enableAuthorizationGroup(String ref, String templateId, String userId, String fallbackTemplate)(Code)(Java Doc) protected void enableAzg(BaseSite site)(Code)(Java Doc) protected void enableAzgSecurityAdvisor()(Code)(Java Doc) protected void enableRelated(BaseSite site, boolean isNew)(Code)(Java Doc) protected void enforceGroupSubMembership(String siteId)(Code)(Java Doc) abstract protected EntityManager entityManager()(Code)(Java Doc) abstract protected EventTrackingService eventTrackingService()(Code)(Java Doc) public Group findGroup(String refOrId)(Code)(Java Doc) public SitePage findPage(String id)(Code)(Java Doc) public ToolConfiguration findTool(String id)(Code)(Java Doc) abstract protected FunctionManager functionManager()(Code)(Java Doc) protected String getAccessPoint(boolean relative)(Code)(Java Doc) public Time getDate(Entity r)(Code)(Java Doc) protected Site getDefinedSite(String id) throws IdUnusedException(Code)(Java Doc) public Entity getEntity(Reference ref)(Code)(Java Doc) public Collection getEntityAuthzGroups(Reference ref, String userId)(Code)(Java Doc) public String getEntityDescription(Reference ref)(Code)(Java Doc) public ResourceProperties getEntityResourceProperties(Reference ref)(Code)(Java Doc) public String getEntityUrl(Reference ref)(Code)(Java Doc) public HttpAccess getHttpAccess()(Code)(Java Doc) public String getLabel()(Code)(Java Doc) public String[] getLayoutNames()(Code)(Java Doc) public String getOwnerId(Entity r)(Code)(Java Doc) public Site getSite(String id) throws IdUnusedException(Code)(Java Doc) public List<SiteAdvisor> getSiteAdvisors()(Code)(Java Doc) public String getSiteDisplay(String id)(Code)(Java Doc) public String getSiteSkin(String id)(Code)(Java Doc) public String getSiteSpecialId(String site)(Code)(Java Doc) public List getSiteTypes()(Code)(Java Doc) public String getSiteUserId(String site)(Code)(Java Doc) public Site getSiteVisit(String id) throws IdUnusedException, PermissionException(Code)(Java Doc) public List getSites(SelectionType type, Object ofType, String criteria, Map propertyCriteria, SortType sort, PagingPosition page)(Code)(Java Doc) public String getSpecialSiteId(String special)(Code)(Java Doc) public String getUserSiteId(String userId)(Code)(Java Doc) protected String groupAzgTemplate(Site site)(Code)(Java Doc) public void init()(Code)(Java Doc) public boolean isDraft(Entity r)(Code)(Java Doc) public boolean isSpecialSite(String site)(Code)(Java Doc) public boolean isUserSite(String site)(Code)(Java Doc) public void join(String id) throws IdUnusedException, PermissionException(Code)(Java Doc) abstract protected MemoryService memoryService()(Code)(Java Doc) public String merge(String siteId, Element root, String archivePath, String fromSiteId, Map attachmentNames, Map userIdTrans, Set userListAllowImport)(Code)(Java Doc) public String merge(String siteId, Element el, String creatorId)(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) 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) abstract protected Storage newStorage()(Code)(Java Doc) public boolean parseEntityReference(String reference, Reference ref)(Code)(Java Doc) protected void regenerateAllSiteIds()(Code)(Java Doc) public void removeSite(Site site) throws PermissionException(Code)(Java Doc) public boolean removeSiteAdvisor(SiteAdvisor siteAdvisor)(Code)(Java Doc) public void save(Site site) throws IdUnusedException, PermissionException(Code)(Java Doc) protected void saveGroupAzgs(Site site)(Code)(Java Doc) public void saveGroupMembership(Site site) throws IdUnusedException, PermissionException(Code)(Java Doc) protected void saveSiteAzg(Site site)(Code)(Java Doc) public void saveSiteInfo(String id, String description, String infoUrl) throws IdUnusedException, PermissionException(Code)(Java Doc) public void saveSiteMembership(Site site) throws IdUnusedException, PermissionException(Code)(Java Doc) abstract protected SecurityService securityService()(Code)(Java Doc) abstract protected ServerConfigurationService serverConfigurationService()(Code)(Java Doc) abstract protected SessionManager sessionManager()(Code)(Java Doc) public void setCacheCleanerMinutes(String time)(Code)(Java Doc) public void setCacheMinutes(String time)(Code)(Java Doc) public void setRegenerateIds(String value)(Code)(Java Doc) public void setSiteSecurity(String siteId, Set updateUsers, Set visitUnpUsers, Set visitUsers)(Code)(Java Doc) public void setUserSecurity(String userId, Set updateSites, Set visitUnpSites, Set visitSites)(Code)(Java Doc) protected String siteAzgTemplate(Site site)(Code)(Java Doc) public boolean siteExists(String id)(Code)(Java Doc) public String siteGroupReference(String siteId, String groupId)(Code)(Java Doc) protected String siteId(String ref)(Code)(Java Doc) public String sitePageReference(String siteId, String pageId)(Code)(Java Doc) public String siteReference(String id)(Code)(Java Doc) public String siteToolReference(String siteId, String toolId)(Code)(Java Doc) public Object[] storageFields(Entity r)(Code)(Java Doc) abstract protected ThreadLocalManager threadLocalManager()(Code)(Java Doc) abstract protected TimeService timeService()(Code)(Java Doc) public void unjoin(String id) throws IdUnusedException, PermissionException(Code)(Java Doc) protected void unlock(String lock, String resource) throws PermissionException(Code)(Java Doc) protected void unlock2(String lock1, String lock2, String resource) throws PermissionException(Code)(Java Doc) protected boolean unlockCheck(String lock, String resource)(Code)(Java Doc) protected boolean unlockCheck2(String lock1, String lock2, String resource)(Code)(Java Doc) abstract protected UserDirectoryService userDirectoryService()(Code)(Java Doc) public boolean willArchiveMerge()(Code)(Java Doc)
|
|
|