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


java.lang.Object
   org.apache.jetspeed.page.AbstractPageManager
      org.apache.jetspeed.page.psml.CastorXmlPageManager

CastorXmlPageManager
public class CastorXmlPageManager extends AbstractPageManager implements PageManager,FileCacheEventListener(Code)
This service is responsible for loading and saving PSML pages serialized to disk
author:
   Rapha�l Luta
author:
   Scott T Weaver
version:
   $Id: CastorXmlPageManager.java 516448 2007-03-09 16:25:47Z ate $



Constructor Summary
public  CastorXmlPageManager(IdGenerator generator, DocumentHandlerFactory handlerFactory, FolderHandler folderHandler, FileCache fileCache, boolean permissionsEnabled, boolean constraintsEnabled)
    

Method Summary
public  intaddPages(Page[] pages)
    
public  booleancheckConstraint(String securityConstraintName, String actions)
    
public  Pagecopy(Page source)
    
public  voidevict(FileCacheEntry entry)
    
public  NodeSetgetAll(Folder folder)
    
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  PageSecuritygetPageSecurity()
    
public  PageSecuritygetPageSecurity(Folder folder)
    
public  NodeSetgetPages(Folder folder)
    
public  FragmentnewFragment()
    
public  FragmentnewPortletFragment()
    
public  voidrefresh(FileCacheEntry entry)
    
public  voidremoveFolder(Folder folder)
    
public  voidremoveLink(Link link)
    
public  voidremovePage(Page page)
    
public  voidremovePageSecurity(PageSecurity pageSecurity)
    
public  voidreset()
    
public  voidupdateFolder(Folder folder)
    
public  voidupdateFolder(Folder folder, boolean deep)
    
public  voidupdateLink(Link link)
    
public  voidupdatePage(Page page)
    
public  voidupdatePageSecurity(PageSecurity pageSecurity)
    


Constructor Detail
CastorXmlPageManager
public CastorXmlPageManager(IdGenerator generator, DocumentHandlerFactory handlerFactory, FolderHandler folderHandler, FileCache fileCache, boolean permissionsEnabled, boolean constraintsEnabled) throws FileNotFoundException(Code)




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



checkConstraint
public boolean checkConstraint(String securityConstraintName, String actions)(Code)



copy
public Page copy(Page source)(Code)



evict
public void evict(FileCacheEntry entry) throws Exception(Code)

evict file cache entry


See Also:   org.apache.jetspeed.cache.file.FileCacheEventListener.evict(org.apache.jetspeed.cache.file.FileCacheEntry)
Parameters:
  entry -
throws:
  Exception -



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



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



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

getFolder


See Also:   org.apache.jetspeed.page.PageManager.getFolder(java.lang.String)
Parameters:
  folderPath - folder instance
throws:
  FolderNotFoundException -
throws:
  NodeException -
throws:
  InvalidFolderException -



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, UnsupportedDocumentTypeException, NodeException(Code)

getLink


See Also:   org.apache.jetspeed.page.PageManager.getLink(java.lang.String)
Parameters:
  path - link
throws:
  DocumentNotFoundException -
throws:
  UnsupportedDocumentTypeException -
throws:
  NodeException -



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


See Also:   org.apache.jetspeed.page.PageManager.getPage(java.lang.String)
Parameters:
  path - page
throws:
  PageNotFoundException -
throws:
  NodeException -
throws:
  FolderNotFoundException -



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



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

getPageSecurity


See Also:   org.apache.jetspeed.page.PageManager.getPageSecurity page security instance
throws:
  DocumentNotFoundException -
throws:
  UnsupportedDocumentTypeException -
throws:
  NodeException -



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



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



newFragment
public Fragment newFragment()(Code)

newFragment


See Also:   org.apache.jetspeed.page.PageManager.newFragment fragment



newPortletFragment
public Fragment newPortletFragment()(Code)



refresh
public void refresh(FileCacheEntry entry) throws Exception(Code)

refresh file cache entry


See Also:   org.apache.jetspeed.cache.file.FileCacheEventListener.refresh(org.apache.jetspeed.cache.file.FileCacheEntry)
Parameters:
  entry -
throws:
  Exception -



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

removeFolder


See Also:   org.apache.jetspeed.services.page.PageManagerService.removeFolder(org.apache.jetspeed.om.folder.Folder)



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

removeLink


See Also:   org.apache.jetspeed.services.page.PageManagerService.removeLink(org.apache.jetspeed.om.page.Link)



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

removePage


See Also:   org.apache.jetspeed.services.page.PageManagerService.removePage(org.apache.jetspeed.om.page.Page)



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



reset
public void reset()(Code)



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

updateFolder


See Also:   org.apache.jetspeed.services.page.PageManagerService.updateFolder(org.apache.jetspeed.om.folder.Folder)



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



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

updateLink


See Also:   org.apache.jetspeed.services.page.PageManagerService.updateLink(org.apache.jetspeed.om.page.Link)



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

updatePage


See Also:   org.apache.jetspeed.services.page.PageManagerService.updatePage(org.apache.jetspeed.om.page.Page)



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



Fields inherited from org.apache.jetspeed.page.AbstractPageManager
protected Class folderClass(Code)(Java Doc)
protected Class folderMenuDefinitionClass(Code)(Java Doc)
protected Class folderMenuExcludeDefinitionClass(Code)(Java Doc)
protected Class folderMenuIncludeDefinitionClass(Code)(Java Doc)
protected Class folderMenuOptionsDefinitionClass(Code)(Java Doc)
protected Class folderMenuSeparatorDefinitionClass(Code)(Java Doc)
protected Class folderSecurityConstraintClass(Code)(Java Doc)
protected Class fragmentClass(Code)(Java Doc)
protected Class fragmentPreferenceClass(Code)(Java Doc)
protected Class fragmentSecurityConstraintClass(Code)(Java Doc)
protected Class linkClass(Code)(Java Doc)
protected Class linkSecurityConstraintClass(Code)(Java Doc)
protected Class pageClass(Code)(Java Doc)
protected Class pageMenuDefinitionClass(Code)(Java Doc)
protected Class pageMenuExcludeDefinitionClass(Code)(Java Doc)
protected Class pageMenuIncludeDefinitionClass(Code)(Java Doc)
protected Class pageMenuOptionsDefinitionClass(Code)(Java Doc)
protected Class pageMenuSeparatorDefinitionClass(Code)(Java Doc)
protected Class pageSecurityClass(Code)(Java Doc)
protected Class pageSecurityConstraintClass(Code)(Java Doc)
protected Class pageSecuritySecurityConstraintClass(Code)(Java Doc)
protected Class propertyClass(Code)(Java Doc)
protected Class securityConstraintsClass(Code)(Java Doc)
protected Class securityConstraintsDefClass(Code)(Java Doc)

Methods inherited from org.apache.jetspeed.page.AbstractPageManager
public void addListener(PageManagerEventListener listener)(Code)(Java Doc)
protected void copyConstraint(SecurityConstraint srcConstraint, SecurityConstraint dstConstraint)(Code)(Java Doc)
public Folder copyFolder(Folder source, String path) throws NodeException(Code)(Java Doc)
public Fragment copyFragment(Fragment source, String name) throws NodeException(Code)(Java Doc)
public Link copyLink(Link source, String path) throws NodeException(Code)(Java Doc)
protected List copyMenuDefinitions(String type, List srcMenus)(Code)(Java Doc)
protected Object copyMenuElement(String type, Object srcElement)(Code)(Java Doc)
public Page copyPage(Page source, String path) throws NodeException(Code)(Java Doc)
public PageSecurity copyPageSecurity(PageSecurity source) throws NodeException(Code)(Java Doc)
protected SecurityConstraints copySecurityConstraints(String type, SecurityConstraints source)(Code)(Java Doc)
public void createUserHomePagesFromRoles(Subject subject) throws NodeException(Code)(Java Doc)
public void deepCopyFolder(Folder srcFolder, String destinationPath, String owner) throws NodeException(Code)(Java Doc)
public boolean folderExists(String folderName)(Code)(Java Doc)
public boolean getConstraintsEnabled()(Code)(Java Doc)
public boolean getPermissionsEnabled()(Code)(Java Doc)
public Folder getUserFolder(String userName) throws FolderNotFoundException, InvalidFolderException, NodeException(Code)(Java Doc)
public Page getUserPage(String userName, String pageName) throws PageNotFoundException, NodeException(Code)(Java Doc)
public boolean linkExists(String linkName)(Code)(Java Doc)
public Folder newFolder(String path)(Code)(Java Doc)
public MenuDefinition newFolderMenuDefinition()(Code)(Java Doc)
public MenuExcludeDefinition newFolderMenuExcludeDefinition()(Code)(Java Doc)
public MenuIncludeDefinition newFolderMenuIncludeDefinition()(Code)(Java Doc)
public MenuOptionsDefinition newFolderMenuOptionsDefinition()(Code)(Java Doc)
public MenuSeparatorDefinition newFolderMenuSeparatorDefinition()(Code)(Java Doc)
public SecurityConstraint newFolderSecurityConstraint()(Code)(Java Doc)
public Fragment newFragment()(Code)(Java Doc)
public FragmentPreference newFragmentPreference()(Code)(Java Doc)
public SecurityConstraint newFragmentSecurityConstraint()(Code)(Java Doc)
public Link newLink(String path)(Code)(Java Doc)
public SecurityConstraint newLinkSecurityConstraint()(Code)(Java Doc)
public Page newPage(String path)(Code)(Java Doc)
public MenuDefinition newPageMenuDefinition()(Code)(Java Doc)
public MenuExcludeDefinition newPageMenuExcludeDefinition()(Code)(Java Doc)
public MenuIncludeDefinition newPageMenuIncludeDefinition()(Code)(Java Doc)
public MenuOptionsDefinition newPageMenuOptionsDefinition()(Code)(Java Doc)
public MenuSeparatorDefinition newPageMenuSeparatorDefinition()(Code)(Java Doc)
public PageSecurity newPageSecurity()(Code)(Java Doc)
public SecurityConstraint newPageSecurityConstraint()(Code)(Java Doc)
public SecurityConstraint newPageSecuritySecurityConstraint()(Code)(Java Doc)
public Fragment newPortletFragment()(Code)(Java Doc)
public SecurityConstraints newSecurityConstraints()(Code)(Java Doc)
public SecurityConstraintsDef newSecurityConstraintsDef()(Code)(Java Doc)
public void notifyNewNode(Node node)(Code)(Java Doc)
public void notifyRemovedNode(Node node)(Code)(Java Doc)
public void notifyUpdatedNode(Node node)(Code)(Java Doc)
public boolean pageExists(String pageName)(Code)(Java Doc)
public void removeListener(PageManagerEventListener listener)(Code)(Java Doc)
public void reset()(Code)(Java Doc)
public boolean userFolderExists(String userName)(Code)(Java Doc)
public boolean userPageExists(String userName, String pageName)(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.