Java Doc for DatabasePageManager.java in  » Portal » jetspeed-2.1.3 » org » apache » jetspeed » page » 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 » Portal » jetspeed 2.1.3 » org.apache.jetspeed.page.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.jetspeed.components.dao.InitablePersistenceBrokerDaoSupport
   org.apache.jetspeed.page.impl.DatabasePageManager

DatabasePageManager
public class DatabasePageManager extends InitablePersistenceBrokerDaoSupport implements PageManager(Code)
DatabasePageManager
author:
   David Sean Taylor
author:
   Randy Watler
version:
   $Id: $



Constructor Summary
public  DatabasePageManager(String repositoryPath, int cacheSize, int cacheExpiresSeconds, boolean isPermissionsSecurity, boolean isConstraintsSecurity)
    

Method Summary
public  voidaddListener(PageManagerEventListener listener)
    
public  intaddPages(Page[] pages)
    
public  booleancheckConstraint(String securityConstraintName, String actions)
    
public  FoldercopyFolder(Folder source, String path)
    
public  FragmentcopyFragment(Fragment source, String name)
    
public  LinkcopyLink(Link source, String path)
    
public  PagecopyPage(Page source, String path)
    
public  PageSecuritycopyPageSecurity(PageSecurity source)
    
public  voidcreateUserHomePagesFromRoles(Subject subject)
    
public  voiddeepCopyFolder(Folder srcFolder, String destinationPath, String owner)
    
public  booleanfolderExists(String folderName)
    
public  NodeSetgetAll(Folder folder)
    
public  intgetCacheExpiresSeconds()
    
public  intgetCacheSize()
    
public  booleangetConstraintsEnabled()
    
public  ContentPagegetContentPage(String path)
    
public  FoldergetFolder(String folderPath)
    
public  FoldergetFolder(Folder folder, String name)
    
public  NodeSetgetFolders(Folder folder)
    
public  LinkgetLink(String path)
    
public  LinkgetLink(Folder folder, String name)
    
public  NodeSetgetLinks(Folder folder)
    
public  PagegetPage(String path)
    
public  PagegetPage(Folder folder, String name)
    
public  PageManagergetPageManagerProxy()
    
public  PageSecuritygetPageSecurity()
    
public  PageSecuritygetPageSecurity(Folder folder)
    
public  NodeSetgetPages(Folder folder)
    
public  booleangetPermissionsEnabled()
    
public  FoldergetUserFolder(String userName)
    
public  PagegetUserPage(String userName, String pageName)
    
public  booleanlinkExists(String linkName)
    
public  FoldernewFolder(String path)
    
public  MenuDefinitionnewFolderMenuDefinition()
    
public  MenuExcludeDefinitionnewFolderMenuExcludeDefinition()
    
public  MenuIncludeDefinitionnewFolderMenuIncludeDefinition()
    
public  MenuOptionsDefinitionnewFolderMenuOptionsDefinition()
    
public  MenuSeparatorDefinitionnewFolderMenuSeparatorDefinition()
    
public  SecurityConstraintnewFolderSecurityConstraint()
    
public  FragmentnewFragment()
    
public  FragmentPreferencenewFragmentPreference()
    
public  SecurityConstraintnewFragmentSecurityConstraint()
    
public  LinknewLink(String path)
    
public  SecurityConstraintnewLinkSecurityConstraint()
    
public  PagenewPage(String path)
    
public  MenuDefinitionnewPageMenuDefinition()
    
public  MenuExcludeDefinitionnewPageMenuExcludeDefinition()
    
public  MenuIncludeDefinitionnewPageMenuIncludeDefinition()
    
public  MenuOptionsDefinitionnewPageMenuOptionsDefinition()
    
public  MenuSeparatorDefinitionnewPageMenuSeparatorDefinition()
    
public  PageSecuritynewPageSecurity()
    
public  SecurityConstraintnewPageSecurityConstraint()
    
public  SecurityConstraintnewPageSecuritySecurityConstraint()
    
public  FragmentnewPortletFragment()
    
public  SecurityConstraintsnewSecurityConstraints()
    
public  SecurityConstraintsDefnewSecurityConstraintsDef()
    
public  booleanpageExists(String pageName)
    
public  voidremoveFolder(Folder folder)
    
public  voidremoveLink(Link link)
    
public  voidremoveListener(PageManagerEventListener listener)
    
public  voidremovePage(Page page)
    
public  voidremovePageSecurity(PageSecurity pageSecurity)
    
public  voidreset()
    
public  voidsetPageManagerProxy(PageManager proxy)
    
public  voidupdateFolder(Folder folder)
    
public  voidupdateFolder(Folder folder, boolean deep)
    
public  voidupdateLink(Link link)
    
public  voidupdatePage(Page page)
    
public  voidupdatePageSecurity(PageSecurity pageSecurity)
    
public  booleanuserFolderExists(String userName)
    
public  booleanuserPageExists(String userName, String pageName)
    


Constructor Detail
DatabasePageManager
public DatabasePageManager(String repositoryPath, int cacheSize, int cacheExpiresSeconds, boolean isPermissionsSecurity, boolean isConstraintsSecurity)(Code)




Method Detail
addListener
public void addListener(PageManagerEventListener listener)(Code)



addPages
public int addPages(Page[] pages) throws NodeException(Code)



checkConstraint
public boolean checkConstraint(String securityConstraintName, String actions)(Code)
Given a securityConstraintName definition and a set of actions, run a security constraint checks



copyFolder
public Folder copyFolder(Folder source, String path) throws NodeException, PageNotUpdatedException(Code)



copyFragment
public Fragment copyFragment(Fragment source, String name) throws NodeException, PageNotUpdatedException(Code)



copyLink
public Link copyLink(Link source, String path) throws NodeException, LinkNotUpdatedException(Code)



copyPage
public Page copyPage(Page source, String path) throws NodeException, PageNotUpdatedException(Code)



copyPageSecurity
public PageSecurity copyPageSecurity(PageSecurity source) throws NodeException(Code)



createUserHomePagesFromRoles
public void createUserHomePagesFromRoles(Subject subject) throws NodeException(Code)



deepCopyFolder
public void deepCopyFolder(Folder srcFolder, String destinationPath, String owner) throws NodeException, PageNotUpdatedException(Code)



folderExists
public boolean folderExists(String folderName)(Code)



getAll
public NodeSet getAll(Folder folder) throws DocumentException(Code)



getCacheExpiresSeconds
public int getCacheExpiresSeconds()(Code)
getCacheExpiresSeconds configured cache expiration in seconds



getCacheSize
public int getCacheSize()(Code)
getCacheSize configured cache size



getConstraintsEnabled
public boolean getConstraintsEnabled()(Code)



getContentPage
public ContentPage getContentPage(String path) throws PageNotFoundException, NodeException(Code)



getFolder
public Folder getFolder(String folderPath) throws FolderNotFoundException, InvalidFolderException, NodeException(Code)



getFolder
public Folder getFolder(Folder folder, String name) throws FolderNotFoundException, DocumentException(Code)



getFolders
public NodeSet getFolders(Folder folder) throws DocumentException(Code)



getLink
public Link getLink(String path) throws DocumentNotFoundException, NodeException(Code)



getLink
public Link getLink(Folder folder, String name) throws DocumentNotFoundException, NodeException(Code)



getLinks
public NodeSet getLinks(Folder folder) throws NodeException(Code)



getPage
public Page getPage(String path) throws PageNotFoundException, NodeException(Code)



getPage
public Page getPage(Folder folder, String name) throws PageNotFoundException, NodeException(Code)



getPageManagerProxy
public PageManager getPageManagerProxy()(Code)
getPageManagerProxy proxied page manager interface used toinject into Folder instances to providetransaction/interception



getPageSecurity
public PageSecurity getPageSecurity() throws DocumentNotFoundException, NodeException(Code)



getPageSecurity
public PageSecurity getPageSecurity(Folder folder) throws DocumentNotFoundException, NodeException(Code)



getPages
public NodeSet getPages(Folder folder) throws NodeException(Code)



getPermissionsEnabled
public boolean getPermissionsEnabled()(Code)



getUserFolder
public Folder getUserFolder(String userName) throws FolderNotFoundException, InvalidFolderException, NodeException(Code)



getUserPage
public Page getUserPage(String userName, String pageName) throws PageNotFoundException, NodeException(Code)



linkExists
public boolean linkExists(String linkName)(Code)



newFolder
public Folder newFolder(String path)(Code)



newFolderMenuDefinition
public MenuDefinition newFolderMenuDefinition()(Code)



newFolderMenuExcludeDefinition
public MenuExcludeDefinition newFolderMenuExcludeDefinition()(Code)



newFolderMenuIncludeDefinition
public MenuIncludeDefinition newFolderMenuIncludeDefinition()(Code)



newFolderMenuOptionsDefinition
public MenuOptionsDefinition newFolderMenuOptionsDefinition()(Code)



newFolderMenuSeparatorDefinition
public MenuSeparatorDefinition newFolderMenuSeparatorDefinition()(Code)



newFolderSecurityConstraint
public SecurityConstraint newFolderSecurityConstraint()(Code)



newFragment
public Fragment newFragment()(Code)



newFragmentPreference
public FragmentPreference newFragmentPreference()(Code)



newFragmentSecurityConstraint
public SecurityConstraint newFragmentSecurityConstraint()(Code)



newLink
public Link newLink(String path)(Code)



newLinkSecurityConstraint
public SecurityConstraint newLinkSecurityConstraint()(Code)



newPage
public Page newPage(String path)(Code)



newPageMenuDefinition
public MenuDefinition newPageMenuDefinition()(Code)



newPageMenuExcludeDefinition
public MenuExcludeDefinition newPageMenuExcludeDefinition()(Code)



newPageMenuIncludeDefinition
public MenuIncludeDefinition newPageMenuIncludeDefinition()(Code)



newPageMenuOptionsDefinition
public MenuOptionsDefinition newPageMenuOptionsDefinition()(Code)



newPageMenuSeparatorDefinition
public MenuSeparatorDefinition newPageMenuSeparatorDefinition()(Code)



newPageSecurity
public PageSecurity newPageSecurity()(Code)



newPageSecurityConstraint
public SecurityConstraint newPageSecurityConstraint()(Code)



newPageSecuritySecurityConstraint
public SecurityConstraint newPageSecuritySecurityConstraint()(Code)



newPortletFragment
public Fragment newPortletFragment()(Code)



newSecurityConstraints
public SecurityConstraints newSecurityConstraints()(Code)



newSecurityConstraintsDef
public SecurityConstraintsDef newSecurityConstraintsDef()(Code)



pageExists
public boolean pageExists(String pageName)(Code)



removeFolder
public void removeFolder(Folder folder) throws NodeException, FolderNotRemovedException(Code)



removeLink
public void removeLink(Link link) throws NodeException, LinkNotRemovedException(Code)



removeListener
public void removeListener(PageManagerEventListener listener)(Code)



removePage
public void removePage(Page page) throws NodeException, PageNotRemovedException(Code)



removePageSecurity
public void removePageSecurity(PageSecurity pageSecurity) throws NodeException, FailedToDeleteDocumentException(Code)



reset
public void reset()(Code)



setPageManagerProxy
public void setPageManagerProxy(PageManager proxy)(Code)
setPageManagerProxy
Parameters:
  proxy - proxied page manager interface used toinject into Folder instances to providetransaction/interception



updateFolder
public void updateFolder(Folder folder) throws NodeException, FolderNotUpdatedException(Code)



updateFolder
public void updateFolder(Folder folder, boolean deep) throws NodeException, FolderNotUpdatedException(Code)



updateLink
public void updateLink(Link link) throws NodeException, LinkNotUpdatedException(Code)



updatePage
public void updatePage(Page page) throws NodeException, PageNotUpdatedException(Code)



updatePageSecurity
public void updatePageSecurity(PageSecurity pageSecurity) throws NodeException, FailedToUpdateDocumentException(Code)



userFolderExists
public boolean userFolderExists(String userName)(Code)



userPageExists
public boolean userPageExists(String userName, String pageName)(Code)



Fields inherited from org.apache.jetspeed.components.dao.InitablePersistenceBrokerDaoSupport
protected String repositoryPath(Code)(Java Doc)

Methods inherited from org.apache.jetspeed.components.dao.InitablePersistenceBrokerDaoSupport
public void init() throws Exception(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.