Method Summary |
|
boolean | exists() |
Area | getArea(String name) Parameters: name - The name. |
String[] | getAreaNames() |
String | getBreadcrumbPrefix() Get the breadcrumb prefix. |
String | getContentDir() Returns the content dir. |
File | getContentDirectory(String area) Return the directory of a specific area.
Parameters: area - a File representing the root of the area content directory. |
String | getContentURI(String area) Parameters: area - The area. |
String | getDefaultLanguage() |
File | getDirectory() Returns the publication directory. |
DocumentBuilder | getDocumentBuilder() Returns the document builder of this instance. |
public DocumentFactory | getFactory() |
String | getId() Returns the publication ID. |
String | getInstantiatorHint() Returns the publication template instantiator hint. |
String[] | getLanguages() |
String | getName() |
DocumentIdToPathMapper | getPathMapper() Returns the path mapper. |
Proxy | getProxy(Document document, boolean isSslProtected) Returns the proxy which is used for a particular document's area
(see
Publication.getProxy(String,boolean) ).
Parameters: document - The document. Parameters: isSslProtected - A boolean value. |
Proxy | getProxy(String area, boolean isSslProtected)
Returns the proxy which is used for the given area and the ssl parameter.
If no proxy is defined in the publication configuration file, a default proxy
with the URL {contextPath}/{pubId}/{area} is returned.
If the area string is "root", the global proxy is returned. |
String[] | getResourceTypeNames() |
File | getServletContext() Returns the servlet context this publication belongs to (usually, the
webapps/lenya directory). |
String | getSiteManagerHint() Returns the hint of the site manager service that is used by this publication. |
String | getSourceURI() |
String[] | getTemplateIds() |
String | getWorkflowSchema(ResourceType resourceType) Parameters: resourceType - The resource type or null if no workflow is registered forthis resource type. |
void | setDefaultLanguage(String language) |
void | setPathMapper(DefaultDocumentIdToPathMapper mapper) |