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


org.apache.lenya.cms.publication.DocumentManagerImpl

DocumentManagerImpl
public class DocumentManagerImpl extends AbstractLogEnabled implements DocumentManager,Serviceable,Contextualizable(Code)
DocumentManager implementation.
version:
   $Id: DocumentManagerImpl.java 602869 2007-12-10 11:41:12Z andreas $

Inner Class :abstract public class SourceTargetVisitor implements DocumentVisitor
Inner Class :public class DeleteVisitor implements DocumentVisitor

Field Summary
protected  ServiceManagermanager
    


Method Summary
public  Documentadd(Document sourceDocument, String area, String path, String language, String extension, String navigationTitle, boolean visibleInNav)
    
public  Documentadd(DocumentFactory factory, ResourceType documentType, String initialContentsURI, Publication pub, String area, String path, String language, String extension, String navigationTitle, boolean visibleInNav)
    
protected  Documentadd(DocumentFactory factory, ResourceType documentType, InputStream initialContentsStream, Publication pub, String area, String path, String language, String extension, String navigationTitle, boolean visibleInNav, String mimeType)
    
public  Documentadd(DocumentFactory factory, ResourceType documentType, String initialContentsURI, Publication pub, String area, String language, String extension)
    
protected  Documentadd(DocumentFactory factory, ResourceType documentType, InputStream initialContentsStream, Publication pub, String area, String language, String extension, String mimeType)
    
protected  Documentadd(DocumentFactory factory, ResourceType documentType, String uuid, InputStream stream, Publication pub, String area, String language, String extension, String mimeType)
    
protected  voidaddToSiteManager(String path, Document document, String navigationTitle, boolean visibleInNav)
    
protected  voidaddToSiteManager(String path, Document document, String navigationTitle, boolean visibleInNav, String followingSiblingPath)
    
public  DocumentaddVersion(Document sourceDocument, String area, String language, boolean addToSiteStructure)
    
public  DocumentaddVersion(Document sourceDocument, String area, String language)
    
public  voidcontextualize(Context _context)
    
protected  voidcopy(SourceResolver resolver, InputStream sourceInputStream, Document destination)
    
public  voidcopy(Document sourceDoc, DocumentLocator destination)
     Template method to copy a document.
public  voidcopy(DocumentSet sources, DocumentSet destinations)
    
public  voidcopyAll(Area sourceArea, String sourcePath, Area targetArea, String targetPath)
    
public  voidcopyAllLanguageVersions(Area sourceArea, String sourcePath, Area targetArea, String targetPath)
    
protected  voidcopyContent(Document sourceDocument, Document destinationDocument)
    
public  voidcopyDocumentSource(Document sourceDocument, Document destinationDocument)
     Copies a document source.
protected  voidcopyInSiteStructure(Document sourceDoc, Document destDoc, String destPath)
    
protected  voidcopyMetaData(Document source, Document destination)
     Copies meta data from one document to another.
protected  voidcopyRevisions(Document sourceDoc, Document targetDoc)
    
public  voidcopyToArea(Document sourceDoc, String destinationArea)
    
public  voidcopyToArea(DocumentSet documentSet, String destinationArea)
    
protected  voidcopyToVersion(Document sourceDoc, String destinationArea, String language)
    
protected  voidcreate(InputStream stream, Document document)
    
public  voiddelete(Document document)
    
public  voiddelete(DocumentSet documents)
    
public  voiddeleteAll(Document document)
    
public  voiddeleteAllLanguageVersions(Document document)
    
public  booleanexists(DocumentFactory factory, Publication pub, String area, String uuid, String language)
    
protected  StringgenerateUUID()
    
protected  ContextgetContext()
    
protected  StringgetMimeType(Source source)
    
public  voidmove(Document sourceDocument, DocumentLocator destination)
    
public  voidmove(DocumentSet sources, DocumentSet destinations)
    
public  voidmoveAll(Area sourceArea, String sourcePath, Area targetArea, String targetPath)
    
public  voidmoveAllLanguageVersions(Area sourceArea, String sourcePath, Area targetArea, String targetPath)
    
protected  ListpreOrder(SiteNode node)
    
public  voidservice(ServiceManager _manager)
    
protected  voidsortAscending(DocumentSet set)
    

Field Detail
manager
protected ServiceManager manager(Code)





Method Detail
add
public Document add(Document sourceDocument, String area, String path, String language, String extension, String navigationTitle, boolean visibleInNav) throws DocumentBuildException, PublicationException(Code)

See Also:   org.apache.lenya.cms.publication.DocumentManager.add(org.apache.lenya.cms.publication.Documentjava.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.Stringboolean)



add
public Document add(DocumentFactory factory, ResourceType documentType, String initialContentsURI, Publication pub, String area, String path, String language, String extension, String navigationTitle, boolean visibleInNav) throws DocumentBuildException, DocumentException, PublicationException(Code)

See Also:   org.apache.lenya.cms.publication.DocumentManager.add(org.apache.lenya.cms.publication.DocumentFactoryorg.apache.lenya.cms.publication.ResourceTypejava.lang.Stringorg.apache.lenya.cms.publication.Publicationjava.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.Stringjava.lang.Stringboolean)



add
protected Document add(DocumentFactory factory, ResourceType documentType, InputStream initialContentsStream, Publication pub, String area, String path, String language, String extension, String navigationTitle, boolean visibleInNav, String mimeType) throws DocumentBuildException, DocumentException, PublicationException(Code)



add
public Document add(DocumentFactory factory, ResourceType documentType, String initialContentsURI, Publication pub, String area, String language, String extension) throws DocumentBuildException, DocumentException, PublicationException(Code)



add
protected Document add(DocumentFactory factory, ResourceType documentType, InputStream initialContentsStream, Publication pub, String area, String language, String extension, String mimeType) throws DocumentBuildException, DocumentException, PublicationException(Code)



add
protected Document add(DocumentFactory factory, ResourceType documentType, String uuid, InputStream stream, Publication pub, String area, String language, String extension, String mimeType) throws DocumentBuildException(Code)



addToSiteManager
protected void addToSiteManager(String path, Document document, String navigationTitle, boolean visibleInNav) throws PublicationException(Code)



addToSiteManager
protected void addToSiteManager(String path, Document document, String navigationTitle, boolean visibleInNav, String followingSiblingPath) throws PublicationException(Code)



addVersion
public Document addVersion(Document sourceDocument, String area, String language, boolean addToSiteStructure) throws DocumentBuildException, PublicationException(Code)



addVersion
public Document addVersion(Document sourceDocument, String area, String language) throws DocumentBuildException, DocumentException, PublicationException(Code)



contextualize
public void contextualize(Context _context) throws ContextException(Code)

See Also:   org.apache.avalon.framework.context.Contextualizable.contextualize(org.apache.avalon.framework.context.Context)



copy
protected void copy(SourceResolver resolver, InputStream sourceInputStream, Document destination) throws IOException(Code)



copy
public void copy(Document sourceDoc, DocumentLocator destination) throws PublicationException(Code)
Template method to copy a document. Override DocumentManagerImpl.copyDocumentSource(Document,Document) to implement access to a custom repository.
See Also:   org.apache.lenya.cms.publication.DocumentManager.copy(org.apache.lenya.cms.publication.Documentorg.apache.lenya.cms.publication.DocumentLocator)



copy
public void copy(DocumentSet sources, DocumentSet destinations) throws PublicationException(Code)

See Also:   org.apache.lenya.cms.publication.DocumentManager.copy(org.apache.lenya.cms.publication.util.DocumentSetorg.apache.lenya.cms.publication.util.DocumentSet)



copyAll
public void copyAll(Area sourceArea, String sourcePath, Area targetArea, String targetPath) throws PublicationException(Code)



copyAllLanguageVersions
public void copyAllLanguageVersions(Area sourceArea, String sourcePath, Area targetArea, String targetPath) throws PublicationException(Code)



copyContent
protected void copyContent(Document sourceDocument, Document destinationDocument) throws PublicationException(Code)



copyDocumentSource
public void copyDocumentSource(Document sourceDocument, Document destinationDocument) throws PublicationException(Code)
Copies a document source.
Parameters:
  sourceDocument - The source document.
Parameters:
  destinationDocument - The destination document.
throws:
  PublicationException - when something went wrong.



copyInSiteStructure
protected void copyInSiteStructure(Document sourceDoc, Document destDoc, String destPath) throws PublicationException, DocumentException, SiteException(Code)



copyMetaData
protected void copyMetaData(Document source, Document destination) throws PublicationException(Code)
Copies meta data from one document to another. If the destination document is a different area version, the meta data are duplicated (i.e., onCopy = delete is neglected).
Parameters:
  source -
Parameters:
  destination -
throws:
  PublicationException -



copyRevisions
protected void copyRevisions(Document sourceDoc, Document targetDoc) throws PublicationException(Code)



copyToArea
public void copyToArea(Document sourceDoc, String destinationArea) throws PublicationException(Code)

See Also:   org.apache.lenya.cms.publication.DocumentManager.copyToArea(org.apache.lenya.cms.publication.Documentjava.lang.String)



copyToArea
public void copyToArea(DocumentSet documentSet, String destinationArea) throws PublicationException(Code)

See Also:   org.apache.lenya.cms.publication.DocumentManager.copyToArea(org.apache.lenya.cms.publication.util.DocumentSetjava.lang.String)



copyToVersion
protected void copyToVersion(Document sourceDoc, String destinationArea, String language) throws DocumentException, DocumentBuildException, PublicationException, SiteException(Code)



create
protected void create(InputStream stream, Document document) throws Exception(Code)



delete
public void delete(Document document) throws PublicationException(Code)

See Also:   org.apache.lenya.cms.publication.DocumentManager.delete(org.apache.lenya.cms.publication.Document)



delete
public void delete(DocumentSet documents) throws PublicationException(Code)

See Also:   org.apache.lenya.cms.publication.DocumentManager.delete(org.apache.lenya.cms.publication.util.DocumentSet)



deleteAll
public void deleteAll(Document document) throws PublicationException(Code)

See Also:   org.apache.lenya.cms.publication.DocumentManager.deleteAll(org.apache.lenya.cms.publication.Document)



deleteAllLanguageVersions
public void deleteAllLanguageVersions(Document document) throws PublicationException(Code)

See Also:   org.apache.lenya.cms.publication.DocumentManager.deleteAllLanguageVersions(org.apache.lenya.cms.publication.Document)



exists
public boolean exists(DocumentFactory factory, Publication pub, String area, String uuid, String language) throws PublicationException(Code)



generateUUID
protected String generateUUID() throws DocumentBuildException(Code)



getContext
protected Context getContext()(Code)
The Avalon context.



getMimeType
protected String getMimeType(Source source)(Code)



move
public void move(Document sourceDocument, DocumentLocator destination) throws PublicationException(Code)

See Also:   org.apache.lenya.cms.publication.DocumentManager.move(org.apache.lenya.cms.publication.Documentorg.apache.lenya.cms.publication.DocumentLocator)



move
public void move(DocumentSet sources, DocumentSet destinations) throws PublicationException(Code)

See Also:   org.apache.lenya.cms.publication.DocumentManager.move(org.apache.lenya.cms.publication.util.DocumentSetorg.apache.lenya.cms.publication.util.DocumentSet)



moveAll
public void moveAll(Area sourceArea, String sourcePath, Area targetArea, String targetPath) throws PublicationException(Code)



moveAllLanguageVersions
public void moveAllLanguageVersions(Area sourceArea, String sourcePath, Area targetArea, String targetPath) throws PublicationException(Code)



preOrder
protected List preOrder(SiteNode node)(Code)



service
public void service(ServiceManager _manager) throws ServiceException(Code)

See Also:   org.apache.avalon.framework.service.Serviceable.service(org.apache.avalon.framework.service.ServiceManager)



sortAscending
protected void sortAscending(DocumentSet set) throws PublicationException(Code)



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