Java Doc for DbSiteService.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » site » impl » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » sakai » org.sakaiproject.site.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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.


Inner Class :protected class DbStorage extends BaseDbFlatStorage implements Storage,SqlReader

Field Summary
protected  booleanm_autoDdl
     Configuration: to run the ddl on init or not.
protected  String[]m_siteFieldNames
     All fields for site.
protected  Stringm_siteIdFieldName
     ID field for site.
protected  Stringm_sitePropTableName
     Table name for site properties.
protected  Stringm_siteSortField
     Site sort field.
protected  Stringm_siteTableName
     Table name for sites.
protected  booleanm_useExternalLocks
     If true, we do our locks in the remote database, otherwise we do them here.


Method Summary
public  voidinit()
     Final initialization, once all dependencies are set.
protected  StoragenewStorage()
     Construct a Storage object.
public  voidsetAutoDdl(String value)
     Configuration: to run the ddl on init or not.
public  voidsetExternalLocks(String value)
     Configuration: set the external locks value.
abstract protected  SqlServicesqlService()
    

Field Detail
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.





Method Detail
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.



Fields inherited from org.sakaiproject.site.impl.BaseSiteService
protected int m_cacheCleanerSeconds(Code)(Java Doc)
protected int m_cacheSeconds(Code)(Java Doc)
protected boolean m_regenerateIds(Code)(Java Doc)
protected String m_relativeAccessPoint(Code)(Java Doc)
protected SiteCacheImpl m_siteCache(Code)(Java Doc)
protected Storage m_storage(Code)(Java Doc)
static ResourceBundle rb(Code)(Java Doc)
protected List<SiteAdvisor> siteAdvisors(Code)(Java Doc)

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)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.