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


org.apache.jetspeed.page.PageManager

All known Subclasses:   org.apache.jetspeed.page.psml.CastorXmlPageManager,  org.apache.jetspeed.page.impl.DatabasePageManager,  org.apache.jetspeed.page.AbstractPageManager,
PageManager
public interface PageManager (Code)
This service is responsible for loading and saving Pages into the selected persistent store.
version:
   $Id: PageManager.java 516448 2007-03-09 16:25:47Z ate $


Field Summary
public  StringSERVICE_NAME
    


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)
     Copy the source page security (both global constraints and constraint references) creating and returning a new copy of the page security definition.
public  voidcreateUserHomePagesFromRoles(Subject subject)
     Creates a user's home page from the roles of the current user. The use case: when a portal is setup to use shared pages, but then the user attempts to customize.
public  voiddeepCopyFolder(Folder srcFolder, String destinationPath, String owner)
     Deep copy a folder.
public  booleanfolderExists(String folderName)
    
public  NodeSetgetAll(Folder folder)
    

getAll

Locates folders and documents within a specified parent folder. Returned folders and documents are filtered according to security constraints and/or permissions.
See Also:   org.apache.jetspeed.om.folder.Folder.getAll(org.apache.jetspeed.om.folder.Folder)
Parameters:
  folder - The parent folder.
public  booleangetConstraintsEnabled()
    
public  ContentPagegetContentPage(String path)
    
public  FoldergetFolder(String folderPath)
    

getFolder

Locates a folder for the given path.
public  FoldergetFolder(Folder folder, String name)
    

getFolder

Locates folders within a specified parent folder. Returned documents are filtered according to security constraints and/or permissions.
See Also:   org.apache.jetspeed.om.folder.Folder.getFolder(org.apache.jetspeed.om.folder.Folderjava.lang.String)
Parameters:
  folder - The parent folder.
Parameters:
  name - The name of folder to retrieve.
public  NodeSetgetFolders(Folder folder)
    

getFolders

Locates folders within a specified parent folder. Returned documents are filtered according to security constraints and/or permissions.
See Also:   org.apache.jetspeed.om.folder.Folder.getFolders(org.apache.jetspeed.om.folder.Folder)
Parameters:
  folder - The parent folder.
public  LinkgetLink(String name)
    
public  LinkgetLink(Folder folder, String name)
    

getLink

Locates documents within a specified parent folder. Returned documents are filtered according to security constraints and/or permissions.
See Also:   org.apache.jetspeed.om.folder.Folder.getLink(org.apache.jetspeed.om.folder.Folderjava.lang.String)
Parameters:
  folder - The parent folder.
Parameters:
  name - The name of page to retrieve.
public  NodeSetgetLinks(Folder folder)
    

getLinks


See Also:   org.apache.jetspeed.om.folder.Folder.getLinks(org.apache.jetspeed.om.folder.Folder)
See Also:   Locates documents within a specified parent folder.
See Also:   Returned documents are filtered according to security
See Also:   constraints and/or permissions.
Parameters:
  folder - The parent folder.
public  PagegetPage(String path)
    
public  PagegetPage(Folder folder, String name)
    

getPage

Locates documents within a specified parent folder. Returned documents are filtered according to security constraints and/or permissions.
See Also:   org.apache.jetspeed.om.folder.Folder.getPage(org.apache.jetspeed.om.folder.Folderjava.lang.String)
Parameters:
  folder - The parent folder.
Parameters:
  name - The name of page to retrieve.
public  PageSecuritygetPageSecurity()
    
public  PageSecuritygetPageSecurity(Folder folder)
    

getPageSecurity

Locates documents within a specified parent folder. Returned documents are filtered according to security constraints and/or permissions.
See Also:   org.apache.jetspeed.om.folder.Folder.getPageSecurity(org.apache.jetspeed.om.folder.Folder)
Parameters:
  folder - The parent folder.
public  NodeSetgetPages(Folder folder)
    

getPages

Locates documents within a specified parent folder. Returned documents are filtered according to security constraints and/or permissions.
See Also:   org.apache.jetspeed.om.folder.Folder.getPages(org.apache.jetspeed.om.folder.Folder)
Parameters:
  folder - The parent 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)
     Remove a folder.
public  voidremoveLink(Link link)
     Remove a link.
public  voidremoveListener(PageManagerEventListener listener)
    
public  voidremovePage(Page page)
     Remove a document.
public  voidremovePageSecurity(PageSecurity pageSecurity)
     Remove a page security document.
public  voidreset()
    
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)
    

Field Detail
SERVICE_NAME
public String SERVICE_NAME(Code)
The name of the service





Method Detail
addListener
public void addListener(PageManagerEventListener listener)(Code)
addListener - add page manager event listener
Parameters:
  listener - page manager event listener



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

Parameters:
  pages -
throws:
  NodeException -



checkConstraint
public boolean checkConstraint(String securityConstraintName, String actions)(Code)
For a given security constraint definition name, and the given action(s), make a constraint check for the current user subject
Parameters:
  securityConstraintName - the name of the security constraint definition
Parameters:
  actions - one or more portlet actions (view,edit,help,..)



copyFolder
public Folder copyFolder(Folder source, String path) throws NodeException(Code)
Copy the source folder creating and returning a new copy of the folder with the same content as the source All subobjects are created with new ids
Parameters:
  source - The source Folder object to be copied
Parameters:
  path - a PSML normalized path to the new folder to be created a new Folder object copied from the source, with new subobject ids



copyFragment
public Fragment copyFragment(Fragment source, String name) throws NodeException(Code)
Copy the source fragment creating and returning a new copy of the fragment with the parameter collection as the source The fragment is created with a new fragment id
Parameters:
  source - The source Fragment object to be copied
Parameters:
  the - new fragment name, can be the same as source fragment name a new Fragment object copied from the source



copyLink
public Link copyLink(Link source, String path) throws NodeException(Code)
Copy the source link creating and returning a new copy of the link
Parameters:
  source - The source Link object to be copied
Parameters:
  path - a PSML normalized path to the new link to be created a new Link object copied from the source



copyPage
public Page copyPage(Page source, String path) throws NodeException(Code)
Copy the source page creating and returning a new copy of the page with the same portlet and fragment collection as the source All fragments are created with new fragment ids
Parameters:
  source - The source Page object to be copied
Parameters:
  path - a PSML normalized path to the new page to be created a new Page object copied from the source, with new fragment ids



copyPageSecurity
public PageSecurity copyPageSecurity(PageSecurity source) throws NodeException(Code)
Copy the source page security (both global constraints and constraint references) creating and returning a new copy of the page security definition.
Parameters:
  source - The source PageSecurity definitions the new page security object
throws:
  NodeException -



createUserHomePagesFromRoles
public void createUserHomePagesFromRoles(Subject subject) throws NodeException(Code)
Creates a user's home page from the roles of the current user. The use case: when a portal is setup to use shared pages, but then the user attempts to customize. At this point, we create the new page(s) for the user.
Parameters:
  subject - The full user Java Security subject.



deepCopyFolder
public void deepCopyFolder(Folder srcFolder, String destinationPath, String owner) throws NodeException(Code)
Deep copy a folder. Copies a folder and all subcontents including other folders, subpages, links, menus, security, fragments.
Parameters:
  source - source folder
Parameters:
  dest - destination folder
Parameters:
  owner - set owner of the new folder(s), or null for no owner



folderExists
public boolean folderExists(String folderName)(Code)
Check if a folder exists for the given folder name
Parameters:
  folderName -



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

getAll

Locates folders and documents within a specified parent folder. Returned folders and documents are filtered according to security constraints and/or permissions.
See Also:   org.apache.jetspeed.om.folder.Folder.getAll(org.apache.jetspeed.om.folder.Folder)
Parameters:
  folder - The parent folder. A NodeSet containing all sub-foldersand documents directly under this folder.
throws:
  DocumentException -



getConstraintsEnabled
public boolean getConstraintsEnabled()(Code)

getConstraintsEnabled

enabled indicator



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

ContentPage

Returns a PSML document suitable for use in content rendering, for the given key
See Also:   ContentPage
See Also:   Fragment
Parameters:
  locator - The locator descriptor of the document to be retrieved.
throws:
  PageNotFoundException - if the page cannot be found
throws:
  NodeException -



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

getFolder

Locates a folder for the given path.
Parameters:
  folderPath - Folder object represented by the folderPath
throws:
  FolderNotFoundException -
throws:
  NodeException -
throws:
  InvalidFolderException -



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

getFolder

Locates folders within a specified parent folder. Returned documents are filtered according to security constraints and/or permissions.
See Also:   org.apache.jetspeed.om.folder.Folder.getFolder(org.apache.jetspeed.om.folder.Folderjava.lang.String)
Parameters:
  folder - The parent folder.
Parameters:
  name - The name of folder to retrieve. A Folder referenced by this folder.
throws:
  FolderNotFoundException -
throws:
  DocumentException -



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

getFolders

Locates folders within a specified parent folder. Returned documents are filtered according to security constraints and/or permissions.
See Also:   org.apache.jetspeed.om.folder.Folder.getFolders(org.apache.jetspeed.om.folder.Folder)
Parameters:
  folder - The parent folder. A NodeSet containing all sub-foldersdirectly under this folder.
throws:
  DocumentException -



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

getLink

Returns a Link document for the given path
Parameters:
  name - The path of the document to be retrieved.
throws:
  PageNotFoundException - if the page cannot be found
throws:
  NodeException -



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

getLink

Locates documents within a specified parent folder. Returned documents are filtered according to security constraints and/or permissions.
See Also:   org.apache.jetspeed.om.folder.Folder.getLink(org.apache.jetspeed.om.folder.Folderjava.lang.String)
Parameters:
  folder - The parent folder.
Parameters:
  name - The name of page to retrieve. A Link referenced by this folder.
throws:
  DocumentNotFoundException - if the document requested could not be found.
throws:
  NodeException -



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

getLinks


See Also:   org.apache.jetspeed.om.folder.Folder.getLinks(org.apache.jetspeed.om.folder.Folder)
See Also:   Locates documents within a specified parent folder.
See Also:   Returned documents are filtered according to security
See Also:   constraints and/or permissions.
Parameters:
  folder - The parent folder. NodeSet of all the Links referenced by this Folder.
throws:
  NodeException -



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

getPage

Returns a Page based on its path
Parameters:
  path -
throws:
  PageNotFoundException - if the page cannot be found
throws:
  NodeException -



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

getPage

Locates documents within a specified parent folder. Returned documents are filtered according to security constraints and/or permissions.
See Also:   org.apache.jetspeed.om.folder.Folder.getPage(org.apache.jetspeed.om.folder.Folderjava.lang.String)
Parameters:
  folder - The parent folder.
Parameters:
  name - The name of page to retrieve. A Page referenced by this folder.
throws:
  PageNotFoundException - if the Page requested could not be found.
throws:
  NodeException -



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

getPageSecurity

Returns the PageSecurity document
throws:
  DocumentNotFoundException - if the document cannot be found
throws:
  UnsupportedDocumentTypeException -
throws:
  NodeException -



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

getPageSecurity

Locates documents within a specified parent folder. Returned documents are filtered according to security constraints and/or permissions.
See Also:   org.apache.jetspeed.om.folder.Folder.getPageSecurity(org.apache.jetspeed.om.folder.Folder)
Parameters:
  folder - The parent folder. A PageSecurity referenced by this folder.
throws:
  DocumentNotFoundException - if the document requested could not be found.
throws:
  NodeException -



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

getPages

Locates documents within a specified parent folder. Returned documents are filtered according to security constraints and/or permissions.
See Also:   org.apache.jetspeed.om.folder.Folder.getPages(org.apache.jetspeed.om.folder.Folder)
Parameters:
  folder - The parent folder. A NodeSet of all the Pages referencedby this Folder.
throws:
  NodeException -



getPermissionsEnabled
public boolean getPermissionsEnabled()(Code)

getPermissionsEnabled

enabled indicator



getUserFolder
public Folder getUserFolder(String userName) throws FolderNotFoundException, InvalidFolderException, NodeException(Code)
Retrieve a user's folder
Parameters:
  userName -
throws:
  FolderNotFoundException -
throws:
  InvalidFolderException -
throws:
  NodeException -



getUserPage
public Page getUserPage(String userName, String pageName) throws PageNotFoundException, NodeException(Code)
Retrieve a page for the given user name and page name
Parameters:
  userName -
Parameters:
  pageName -
throws:
  PageNotFoundException -
throws:
  NodeException -



linkExists
public boolean linkExists(String linkName)(Code)
Check if a link exists for the given link name
Parameters:
  linkName -



newFolder
public Folder newFolder(String path)(Code)
Create a new empty Folder instance a newly created Folder object



newFolderMenuDefinition
public MenuDefinition newFolderMenuDefinition()(Code)
newFolderMenuDefinition - creates a new empty menu definition a newly created MenuDefinition object to be used in Folder



newFolderMenuExcludeDefinition
public MenuExcludeDefinition newFolderMenuExcludeDefinition()(Code)
newFolderMenuExcludeDefinition - creates a new empty menu exclude definition a newly created MenuExcludeDefinition object to be used in Folder



newFolderMenuIncludeDefinition
public MenuIncludeDefinition newFolderMenuIncludeDefinition()(Code)
newFolderMenuIncludeDefinition - creates a new empty menu include definition a newly created MenuIncludeDefinition object to be used in Folder



newFolderMenuOptionsDefinition
public MenuOptionsDefinition newFolderMenuOptionsDefinition()(Code)
newFolderMenuOptionsDefinition - creates a new empty menu options definition a newly created MenuOptionsDefinition object to be used in Folder



newFolderMenuSeparatorDefinition
public MenuSeparatorDefinition newFolderMenuSeparatorDefinition()(Code)
newFolderMenuSeparatorDefinition - creates a new empty menu separator definition a newly created MenuSeparatorDefinition object to be used in Folder



newFolderSecurityConstraint
public SecurityConstraint newFolderSecurityConstraint()(Code)
newFolderSecurityConstraint - creates a new security constraint definition a newly created SecurityConstraint object to be used in Folder



newFragment
public Fragment newFragment()(Code)
Creates a new empty Layout Fragment instance a newly created Fragment object



newFragmentPreference
public FragmentPreference newFragmentPreference()(Code)
newFragmentPreference - creates a new fragment preference a newly created FragmentPreference



newFragmentSecurityConstraint
public SecurityConstraint newFragmentSecurityConstraint()(Code)
newFragmentSecurityConstraint - creates a new security constraint definition a newly created SecurityConstraint object to be used in Fragment



newLink
public Link newLink(String path)(Code)
Creates a new empty Link instance a newly created Link object



newLinkSecurityConstraint
public SecurityConstraint newLinkSecurityConstraint()(Code)
newLinkSecurityConstraint - creates a new security constraint definition a newly created SecurityConstraint object to be used in Link



newPage
public Page newPage(String path)(Code)
Creates a new empty Page instance a newly created Page object



newPageMenuDefinition
public MenuDefinition newPageMenuDefinition()(Code)
newPageMenuDefinition - creates a new empty menu definition a newly created MenuDefinition object to be used in Page



newPageMenuExcludeDefinition
public MenuExcludeDefinition newPageMenuExcludeDefinition()(Code)
newPageMenuExcludeDefinition - creates a new empty menu exclude definition a newly created MenuExcludeDefinition object to be used in Page



newPageMenuIncludeDefinition
public MenuIncludeDefinition newPageMenuIncludeDefinition()(Code)
newPageMenuIncludeDefinition - creates a new empty menu include definition a newly created MenuIncludeDefinition object to be used in Page



newPageMenuOptionsDefinition
public MenuOptionsDefinition newPageMenuOptionsDefinition()(Code)
newPageMenuOptionsDefinition - creates a new empty menu options definition a newly created MenuOptionsDefinition object to be used in Page



newPageMenuSeparatorDefinition
public MenuSeparatorDefinition newPageMenuSeparatorDefinition()(Code)
newPageMenuSeparatorDefinition - creates a new empty menu separator definition a newly created MenuSeparatorDefinition object to be used in Page



newPageSecurity
public PageSecurity newPageSecurity()(Code)
Creates a new empty PageSecurity instance a newly created PageSecurity object



newPageSecurityConstraint
public SecurityConstraint newPageSecurityConstraint()(Code)
newPageSecurityConstraint - creates a new security constraint definition a newly created SecurityConstraint object to be used in Page



newPageSecuritySecurityConstraint
public SecurityConstraint newPageSecuritySecurityConstraint()(Code)
newPageSecuritySecurityConstraint - creates a new security constraint definition a newly created SecurityConstraint object to be used in PageSecurity



newPortletFragment
public Fragment newPortletFragment()(Code)
Creates a new empty Portlet Fragment instance a newly created Fragment object



newSecurityConstraints
public SecurityConstraints newSecurityConstraints()(Code)
newSecurityConstraints - creates a new empty security constraints definition a newly created SecurityConstraints object



newSecurityConstraintsDef
public SecurityConstraintsDef newSecurityConstraintsDef()(Code)
newSecurityConstraintsDef - creates a new security constraints definition a newly created SecurityConstraintsDef object



pageExists
public boolean pageExists(String pageName)(Code)
Check if a page exists for the given page name
Parameters:
  pageName -



removeFolder
public void removeFolder(Folder folder) throws NodeException, FolderNotRemovedException(Code)
Remove a folder.
Parameters:
  page - The folder to be removed.



removeLink
public void removeLink(Link link) throws NodeException, LinkNotRemovedException(Code)
Remove a link.
Parameters:
  link - The link to be removed.



removeListener
public void removeListener(PageManagerEventListener listener)(Code)
removeListener - remove page manager event listener
Parameters:
  listener - page manager event listener



removePage
public void removePage(Page page) throws NodeException, PageNotRemovedException(Code)
Remove a document.
Parameters:
  page - The page to be removed.



removePageSecurity
public void removePageSecurity(PageSecurity pageSecurity) throws NodeException, FailedToDeleteDocumentException(Code)
Remove a page security document.
Parameters:
  pageSecurity - The document to be removed.



reset
public void reset()(Code)
reset - force subsequent refresh from persistent store



updateFolder
public void updateFolder(Folder folder) throws NodeException, FolderNotUpdatedException(Code)
Update a folder and all child folders and documents in persistent storage
Parameters:
  folder - The folder to be updated.



updateFolder
public void updateFolder(Folder folder, boolean deep) throws NodeException, FolderNotUpdatedException(Code)
Update a folder in persistent storage
Parameters:
  folder - The folder to be updated.
Parameters:
  deep - Flag to control recursive deep updates.



updateLink
public void updateLink(Link link) throws NodeException, LinkNotUpdatedException(Code)
Update a link in persistent storage
Parameters:
  link - The link to be updated.



updatePage
public void updatePage(Page page) throws NodeException, PageNotUpdatedException(Code)
Update a page in persistent storage
Parameters:
  page - The page to be updated.



updatePageSecurity
public void updatePageSecurity(PageSecurity pageSecurity) throws NodeException, FailedToUpdateDocumentException(Code)
Update a page security document in persistent storage
Parameters:
  pageSecurity - The document to be updated.



userFolderExists
public boolean userFolderExists(String userName)(Code)
Check if the root folder exists for a given user
Parameters:
  userName -



userPageExists
public boolean userPageExists(String userName, String pageName)(Code)
Check if a page exists for the given user
Parameters:
  userName -
Parameters:
  pageName -



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