Java Doc for Repository.java in  » Content-Management-System » apache-lenya-2.0 » org » apache » cocoon » components » repository » 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 » Content Management System » apache lenya 2.0 » org.apache.cocoon.components.repository 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.cocoon.components.repository.Repository

All known Subclasses:   org.apache.cocoon.components.repository.impl.WebDAVRepository,
Repository
public interface Repository (Code)
A repository interface intended to be used by flowscripts or corresponding wrapper components.




Method Summary
 booleancopy(String uri, String dest, boolean recurse, boolean overwrite)
     copy a resource
Parameters:
  uri - the uri of the resource.
Parameters:
  dest - the destination of the copy.
Parameters:
  recurse - if true recursively creates parent collections if not existant
Parameters:
  overwrite - whether to overwrite the destination if it exists.
 booleancreateResource(String uri, String content)
     create a new resource
Parameters:
  uri - the uri of the resource.
Parameters:
  content - the content to initialize the resource with.
public  booleanexists(String uri)
     checks wether resource exists
Parameters:
  uri - the uri of the document.
 DocumentgetContentDOM(String uri)
     get content as DOM
Parameters:
  uri - the uri of the resource.
 InputStreamgetContentStream(String uri)
     get content as Stream
Parameters:
  uri - the uri of the resource.
 StringgetContentString(String uri)
     get content as String
Parameters:
  uri - the uri of the resource.
 CredentialsTokengetCredentials()
    
 RepositoryPropertyHelpergetPropertyHelper()
    
 RepositoryTransactionHelpergetTransactionHelper()
    
 RepositoryVersioningHelpergetVersioningHelper()
    
 booleanmakeCollection(String uri, boolean recursive)
     make collection
Parameters:
  uri - the uri of the collection.
Parameters:
  recursive - a boolean indicating wetherthe operation should fail if the parentcollection does not exist or wether thecomplete path should be created.
 booleanmove(String uri, String dest, boolean recurse, boolean overwrite)
     move a resource
Parameters:
  uri - the uri of the resource.
Parameters:
  dest - the destination of the move.
Parameters:
  recurse - if true recursively creates parent collections if not existant
Parameters:
  overwrite - whether to overwrite the destination if it exists.
 booleanremove(String uri)
     remove resource
Parameters:
  uri - the uri of the resource.
 booleansaveContent(String uri, String content)
     save content
Parameters:
  uri - the uri of the resource.
Parameters:
  content - the to be saved content given as a String.
 booleansaveContent(String uri, Node node)
     save content
Parameters:
  uri - the uri of the resource.
Parameters:
  node - the to be saved content given as a W3C Node object.
 booleansaveContent(String uri, Source source)
     save content
Parameters:
  uri - the uri of the resource.
Parameters:
  source - the to be saved content given as a Excalibur Source object.
 voidsetCredentials(CredentialsToken credentials)
    



Method Detail
copy
boolean copy(String uri, String dest, boolean recurse, boolean overwrite) throws ProcessingException(Code)
copy a resource
Parameters:
  uri - the uri of the resource.
Parameters:
  dest - the destination of the copy.
Parameters:
  recurse - if true recursively creates parent collections if not existant
Parameters:
  overwrite - whether to overwrite the destination if it exists. a boolean indicating success.
throws:
  ProcessingException -



createResource
boolean createResource(String uri, String content) throws ProcessingException(Code)
create a new resource
Parameters:
  uri - the uri of the resource.
Parameters:
  content - the content to initialize the resource with. a boolean indicating success.
throws:
  ProcessingException -



exists
public boolean exists(String uri) throws ProcessingException(Code)
checks wether resource exists
Parameters:
  uri - the uri of the document. a boolean indicating existance of the resource.
throws:
  ProcessingException -



getContentDOM
Document getContentDOM(String uri) throws ProcessingException(Code)
get content as DOM
Parameters:
  uri - the uri of the resource. the content as a W3C Document object.
throws:
  ProcessingException -



getContentStream
InputStream getContentStream(String uri) throws ProcessingException(Code)
get content as Stream
Parameters:
  uri - the uri of the resource. the content as a InputStream.
throws:
  ProcessingException -



getContentString
String getContentString(String uri) throws ProcessingException(Code)
get content as String
Parameters:
  uri - the uri of the resource. the content as a String.
throws:
  ProcessingException -



getCredentials
CredentialsToken getCredentials()(Code)
get the credentials used against the repository the credentials in use.



getPropertyHelper
RepositoryPropertyHelper getPropertyHelper()(Code)
get a property helper the property helper.Returns null if the Repository does not support properties.



getTransactionHelper
RepositoryTransactionHelper getTransactionHelper()(Code)
get a transaction helper a transaction helper.Returns null if the Repository does neither support transactions nor locks.



getVersioningHelper
RepositoryVersioningHelper getVersioningHelper()(Code)
get a versioning helper a versioning helper.Returns null if the Repository does not support versioning.



makeCollection
boolean makeCollection(String uri, boolean recursive) throws ProcessingException(Code)
make collection
Parameters:
  uri - the uri of the collection.
Parameters:
  recursive - a boolean indicating wetherthe operation should fail if the parentcollection does not exist or wether thecomplete path should be created. a boolean indicating success.
throws:
  ProcessingException -



move
boolean move(String uri, String dest, boolean recurse, boolean overwrite) throws ProcessingException(Code)
move a resource
Parameters:
  uri - the uri of the resource.
Parameters:
  dest - the destination of the move.
Parameters:
  recurse - if true recursively creates parent collections if not existant
Parameters:
  overwrite - whether to overwrite the destination if it exists. a boolean indicating success.
throws:
  ProcessingException -



remove
boolean remove(String uri) throws ProcessingException(Code)
remove resource
Parameters:
  uri - the uri of the resource. a boolean indicating success.
throws:
  ProcessingException -



saveContent
boolean saveContent(String uri, String content) throws ProcessingException(Code)
save content
Parameters:
  uri - the uri of the resource.
Parameters:
  content - the to be saved content given as a String. a boolean indicating success.
throws:
  ProcessingException -



saveContent
boolean saveContent(String uri, Node node) throws ProcessingException(Code)
save content
Parameters:
  uri - the uri of the resource.
Parameters:
  node - the to be saved content given as a W3C Node object. a boolean indicating success.
throws:
  ProcessingException -



saveContent
boolean saveContent(String uri, Source source) throws ProcessingException(Code)
save content
Parameters:
  uri - the uri of the resource.
Parameters:
  source - the to be saved content given as a Excalibur Source object. a boolean indicating success.
throws:
  ProcessingException -



setCredentials
void setCredentials(CredentialsToken credentials)(Code)
set the credentials to be used against the repository
Parameters:
  credentials - the credentials to use.



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