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


org.apache.jetspeed.page.document.FolderHandler

All known Subclasses:   org.apache.jetspeed.page.document.psml.FileSystemFolderHandler,
FolderHandler
public interface FolderHandler (Code)

FolderHandler


author:
   Scott T. Weaver
version:
   $Id: FolderHandler.java 553584 2007-07-05 18:09:45Z taylor $




Method Summary
 FoldergetFolder(String path)
    

getFolder

Locates a folder given using the path argument.

 FoldergetFolder(String path, boolean fromCache)
    

getFolder

Locates a folder given using the path argument.

 NodeSetgetFolders(String path)
    
 NodeSetgetNodes(String path, boolean regexp, String documentType)
    

getNodes

Returns a set of nodes relative to the folder argument of the type indicated by the documentType argument.

 booleanisFolder(String path)
    
 String[]list(String folderPath, String documentType)
    

list

generates a list of document names, relative to the folderPath argument of the type indicated by the documentType argument.


Parameters:
  folderPath - folder path to search under
Parameters:
  documentType - document type to filter on.
 String[]listAll(String folderPath)
    
 voidremoveFolder(Folder folder)
    

removeFolder

Removes the folder specified with the folder argument.

 voidupdateFolder(Folder folder)
    

updateFolder

Updates the folder specified with the folder argument.




Method Detail
getFolder
Folder getFolder(String path) throws FolderNotFoundException, InvalidFolderException, NodeException(Code)

getFolder

Locates a folder given using the path argument. This should behave as getFolder("folder/subfolder, true);


Parameters:
  path - fully-quallified path to a folder Folder represented by the path argument. Never returns null
throws:
  DocumentException - if there was an error processing the request.
throws:
  InvalidFolderException -
throws:
  NodeException -
throws:
  DocumentNotFoundException - If there is no folder at the path specified.



getFolder
Folder getFolder(String path, boolean fromCache) throws FolderNotFoundException, InvalidFolderException, NodeException(Code)

getFolder

Locates a folder given using the path argument.


Parameters:
  path - fully-quallified path to a folder
Parameters:
  fromCache - whether or not to check the cache first before checking the underlying folderrepository. Folder represented by the path argument. Never returns null
throws:
  DocumentException - if there was an error processing the request.
throws:
  InvalidFolderException -
throws:
  NodeException -
throws:
  DocumentNotFoundException - If there is no folder at the path specified.



getFolders
NodeSet getFolders(String path) throws FolderNotFoundException, InvalidFolderException, NodeException(Code)

getFolders


Parameters:
  path - Path from which to locate child folders NodeSet of sub-folders located under the path argument.
throws:
  FolderNotFoundException - if folder under the path does not actuallyexist
throws:
  DocumentException - if an error is encountered reading the folders.
throws:
  InvalidFolderException -
throws:
  NodeException -



getNodes
NodeSet getNodes(String path, boolean regexp, String documentType) throws FolderNotFoundException, InvalidFolderException, NodeException(Code)

getNodes

Returns a set of nodes relative to the folder argument of the type indicated by the documentType argument. The folder argument may include regular expressions if indicated by the regex argument. The returned set is unordered.


Parameters:
  path - Path from which to locate documents
Parameters:
  regexp - Flag indicating whether regexp should be expanded in path
Parameters:
  documentType - document type to filter on. NodeSet of documents and folders located under the path argument.
throws:
  FolderNotFoundException - if folder under the path does not actually exist.
throws:
  DocumentException - if an error is encountered reading the folders.
throws:
  InvalidFolderException -
throws:
  NodeException -



isFolder
boolean isFolder(String path)(Code)
Returns true if the path is a folder
Parameters:
  path -



list
String[] list(String folderPath, String documentType) throws FolderNotFoundException(Code)

list

generates a list of document names, relative to the folderPath argument of the type indicated by the documentType argument.


Parameters:
  folderPath - folder path to search under
Parameters:
  documentType - document type to filter on. a String[] of child document names relative to the folderPathargument and matching the documentType argument.
throws:
  FolderNotFoundException - if the folderPath does not exsit.



listAll
String[] listAll(String folderPath) throws FolderNotFoundException(Code)



removeFolder
void removeFolder(Folder folder) throws FailedToDeleteFolderException(Code)

removeFolder

Removes the folder specified with the folder argument.


Parameters:
  folder - folder to update



updateFolder
void updateFolder(Folder folder) throws FailedToUpdateFolderException(Code)

updateFolder

Updates the folder specified with the folder argument.


Parameters:
  folder - folder to update



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