Java Doc for PublicationConfiguration.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.PublicationConfiguration

PublicationConfiguration
public class PublicationConfiguration extends AbstractLogEnabled implements Publication(Code)
A publication's configuration. Keep in sync with src/resources/build/publication.rng!


Field Summary
final public static  StringCONFIGURATION_FILE
    

Constructor Summary
protected  PublicationConfiguration(String _id, String servletContextPath)
    

Method Summary
public  booleanequals(Object object)
    
public  booleanexists()
    
public  AreagetArea(String name)
    
public  String[]getAreaNames()
    
public  StringgetBreadcrumbPrefix()
     Get the breadcrumb prefix.
protected  FilegetConfigurationFile()
    
public  StringgetContentDir()
    
public  FilegetContentDirectory(String area)
    
public  StringgetContentURI(String area)
    
public  StringgetDefaultLanguage()
    
public  FilegetDirectory()
     Returns the publication directory.
public  DocumentBuildergetDocumentBuilder()
    
public  StringgetDocumentBuilderHint()
     Returns the document builder of this instance.
public  DocumentFactorygetFactory()
    
public  StringgetId()
     Returns the publication ID.
public  StringgetInstantiatorHint()
    
public  String[]getLanguages()
    
public  StringgetName()
    
public  DocumentIdToPathMappergetPathMapper()
     Returns the path mapper.
public  ProxygetProxy(Document document, boolean isSslProtected)
    
public  ProxygetProxy(String area, boolean isSslProtected)
    
protected  ObjectgetProxyKey(String area, boolean isSslProtected)
     Generates a hash key for a area-SSL combination.
Parameters:
  area - The area.
Parameters:
  isSslProtected - If the proxy is assigned for SSL-protected pages.
public  String[]getResourceTypeNames()
    
public  FilegetServletContext()
     Returns the servlet context this publication belongs to (usually, the webapps/lenya directory).
public  SessiongetSession()
    
public  StringgetSiteManagerHint()
    
public  StringgetSourceURI()
    
public  String[]getTemplateIds()
    
public  StringgetWorkflowSchema(ResourceType resourceType)
    
public  inthashCode()
    
protected  voidloadConfiguration()
     Loads the configuration.
public  voidsetDefaultLanguage(String language)
    
public  voidsetPathMapper(DefaultDocumentIdToPathMapper _mapper)
    
protected  voidsetProxy(String area, boolean isSslProtected, Proxy proxy)
    
public  StringtoString()
    

Field Detail
CONFIGURATION_FILE
final public static String CONFIGURATION_FILE(Code)
CONFIGURATION_FILE The publication configuration file




Constructor Detail
PublicationConfiguration
protected PublicationConfiguration(String _id, String servletContextPath) throws PublicationException(Code)
Creates a new instance of Publication
Parameters:
  _id - the publication id
Parameters:
  servletContextPath - the servlet context of this publication
throws:
  PublicationException - if there was a problem reading the configfile




Method Detail
equals
public boolean equals(Object object)(Code)

See Also:   java.lang.Object.equals(java.lang.Object)



exists
public boolean exists()(Code)

See Also:   org.apache.lenya.cms.publication.Publication.exists



getArea
public Area getArea(String name) throws PublicationException(Code)



getAreaNames
public String[] getAreaNames()(Code)



getBreadcrumbPrefix
public String getBreadcrumbPrefix()(Code)
Get the breadcrumb prefix. It can be used as a prefix if a publication is part of a larger site the breadcrumb prefix



getConfigurationFile
protected File getConfigurationFile()(Code)
The configuration file (PublicationConfiguration.CONFIGURATION_FILE).



getContentDir
public String getContentDir()(Code)

See Also:   org.apache.lenya.cms.publication.Publication.getContentDir



getContentDirectory
public File getContentDirectory(String area)(Code)

See Also:   org.apache.lenya.cms.publication.Publication.getContentDirectory(String)



getContentURI
public String getContentURI(String area)(Code)

See Also:   org.apache.lenya.cms.publication.Publication.getContentURI(java.lang.String)



getDefaultLanguage
public String getDefaultLanguage()(Code)
Get the default language the default language



getDirectory
public File getDirectory()(Code)
Returns the publication directory. A File object.



getDocumentBuilder
public DocumentBuilder getDocumentBuilder()(Code)



getDocumentBuilderHint
public String getDocumentBuilderHint()(Code)
Returns the document builder of this instance. A document builder.



getFactory
public DocumentFactory getFactory()(Code)



getId
public String getId()(Code)
Returns the publication ID. A string value.



getInstantiatorHint
public String getInstantiatorHint()(Code)

See Also:   org.apache.lenya.cms.publication.Publication.getInstantiatorHint



getLanguages
public String[] getLanguages()(Code)
Get all available languages for this publication an Array of languages



getName
public String getName()(Code)



getPathMapper
public DocumentIdToPathMapper getPathMapper()(Code)
Returns the path mapper. a DocumentIdToPathMapper



getProxy
public Proxy getProxy(Document document, boolean isSslProtected)(Code)

See Also:   org.apache.lenya.cms.publication.Publication.getProxy(org.apache.lenya.cms.publication.Documentboolean)



getProxy
public Proxy getProxy(String area, boolean isSslProtected)(Code)

See Also:   org.apache.lenya.cms.publication.Publication.getProxy(java.lang.Stringboolean)



getProxyKey
protected Object getProxyKey(String area, boolean isSslProtected)(Code)
Generates a hash key for a area-SSL combination.
Parameters:
  area - The area.
Parameters:
  isSslProtected - If the proxy is assigned for SSL-protected pages. An object.



getResourceTypeNames
public String[] getResourceTypeNames()(Code)

See Also:   org.apache.lenya.cms.publication.Publication.getResourceTypeNames



getServletContext
public File getServletContext()(Code)
Returns the servlet context this publication belongs to (usually, the webapps/lenya directory). A File object.



getSession
public Session getSession()(Code)



getSiteManagerHint
public String getSiteManagerHint()(Code)

See Also:   org.apache.lenya.cms.publication.Publication.getSiteManagerHint



getSourceURI
public String getSourceURI()(Code)

See Also:   org.apache.lenya.cms.publication.Publication.getSourceURI



getTemplateIds
public String[] getTemplateIds()(Code)

See Also:   org.apache.lenya.cms.publication.Publication.getTemplateIds



getWorkflowSchema
public String getWorkflowSchema(ResourceType resourceType)(Code)

See Also:   org.apache.lenya.cms.publication.Publication.getWorkflowSchema(org.apache.lenya.cms.publication.ResourceType)



hashCode
public int hashCode()(Code)

See Also:   java.lang.Object.hashCode



loadConfiguration
protected void loadConfiguration()(Code)
Loads the configuration.



setDefaultLanguage
public void setDefaultLanguage(String language)(Code)
Set the default language
Parameters:
  language - the default language



setPathMapper
public void setPathMapper(DefaultDocumentIdToPathMapper _mapper)(Code)
Set the path mapper
Parameters:
  _mapper - The path mapper



setProxy
protected void setProxy(String area, boolean isSslProtected, Proxy proxy)(Code)

Parameters:
  area - The area.
Parameters:
  isSslProtected - If the proxy is for SSL-protected URLs.
Parameters:
  proxy - The proxy to set.



toString
public String toString()(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.