You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by gr...@apache.org on 2005/06/12 07:02:36 UTC
svn commit: r190217 [33/83] - in /lenya/site: ./ 1_2_x/how-to/
1_2_x/installation/ 1_4/ 1_4/concepts/ 1_4/installation/ 1_4/reference/
1_4/reference/publication-templating/ 1_4/reference/usecase-framework/
apidocs/1.4/ apidocs/1.4/org/apache/lenya/ac/
apidocs/1.4/org/apache/lenya/ac/cache/
apidocs/1.4/org/apache/lenya/ac/cifs/ apidocs/1.4/org/apache/lenya/ac/file/
apidocs/1.4/org/apache/lenya/ac/impl/ apidocs/1.4/org/apache/lenya/ac/ldap/
apidocs/1.4/org/apache/lenya/cms/ac/
apidocs/1.4/org/apache/lenya/cms/ac/usecase/
apidocs/1.4/org/apache/lenya/cms/ac/usecases/
apidocs/1.4/org/apache/lenya/cms/ac/workflow/
apidocs/1.4/org/apache/lenya/cms/ant/
apidocs/1.4/org/apache/lenya/cms/authoring/
apidocs/1.4/org/apache/lenya/cms/cocoon/acting/
apidocs/1.4/org/apache/lenya/cms/cocoon/components/modules/input/
apidocs/1.4/org/apache/lenya/cms/cocoon/flow/
apidocs/1.4/org/apache/lenya/cms/cocoon/generation/
apidocs/1.4/org/apache/lenya/cms/cocoon/matching/
apidocs/1.4/org/apache/lenya/cms/cocoon/scheduler/
apidocs/1.4/org/apache/lenya/cms/cocoon/source/
apidocs/1.4/org/apache/lenya/cms/cocoon/task/
apidocs/1.4/org/apache/lenya/cms/cocoon/transformation/
apidocs/1.4/org/apache/lenya/cms/editors/
apidocs/1.4/org/apache/lenya/cms/editors/bxe/
apidocs/1.4/org/apache/lenya/cms/editors/forms/
apidocs/1.4/org/apache/lenya/cms/editors/kupu/
apidocs/1.4/org/apache/lenya/cms/metadata/
apidocs/1.4/org/apache/lenya/cms/metadata/dublincore/
apidocs/1.4/org/apache/lenya/cms/metadata/usecases/
apidocs/1.4/org/apache/lenya/cms/publication/
apidocs/1.4/org/apache/lenya/cms/publication/templating/
apidocs/1.4/org/apache/lenya/cms/publication/usecases/
apidocs/1.4/org/apache/lenya/cms/publication/util/
apidocs/1.4/org/apache/lenya/cms/publishing/
apidocs/1.4/org/apache/lenya/cms/rc/
apidocs/1.4/org/apache/lenya/cms/repository/
apidocs/1.4/org/apache/lenya/cms/scheduler/
apidocs/1.4/org/apache/lenya/cms/scheduler/xml/
apidocs/1.4/org/apache/lenya/cms/search/usecases/
apidocs/1.4/org/apache/lenya/cms/site/
apidocs/1.4/org/apache/lenya/cms/site/simple/
apidocs/1.4/org/apache/lenya/cms/site/topicmap/
apidocs/1.4/org/apache/lenya/cms/site/tree/
apidocs/1.4/org/apache/lenya/cms/site/usecases/
apidocs/1.4/org/apache/lenya/cms/task/
apidocs/1.4/org/apache/lenya/cms/usecase/
apidocs/1.4/org/apache/lenya/cms/usecase/scheduling/
apidocs/1.4/org/apache/lenya/cms/workflow/
apidocs/1.4/org/apache/lenya/cms/workflow/usecases/
apidocs/1.4/org/apache/lenya/defaultpub/cms/publication/
apidocs/1.4/org/apache/lenya/defaultpub/cms/publication/templating/
apidocs/1.4/org/apache/lenya/defaultpub/cms/usecases/
apidocs/1.4/org/apache/lenya/defaultpub/cms/usecases/webdav/
apidocs/1.4/org/apache/lenya/lucene/
apidocs/1.4/org/apache/lenya/lucene/html/
apidocs/1.4/org/apache/lenya/lucene/index/
apidocs/1.4/org/apache/lenya/lucene/parser/
apidocs/1.4/org/apache/lenya/net/ apidocs/1.4/org/apache/lenya/search/
apidocs/1.4/org/apache/lenya/search/crawler/
apidocs/1.4/org/apache/lenya/transaction/
apidocs/1.4/org/apache/lenya/util/ apidocs/1.4/org/apache/lenya/workflow/
apidocs/1.4/org/apache/lenya/workflow/impl/
apidocs/1.4/org/apache/lenya/xml/ community/ images/ images/live/ skin/
skin/images/
Modified: lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/DefaultDocumentBuilder.html
URL: http://svn.apache.org/viewcvs/lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/DefaultDocumentBuilder.html?rev=190217&r1=190216&r2=190217&view=diff
==============================================================================
--- lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/DefaultDocumentBuilder.html (original)
+++ lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/DefaultDocumentBuilder.html Sat Jun 11 22:02:21 2005
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.4.2) on Thu Mar 17 10:25:10 CET 2005 -->
+<!-- Generated by javadoc (build 1.4.2_07) on Sat Jun 11 17:50:58 EDT 2005 -->
<TITLE>
DefaultDocumentBuilder (Apache Lenya API - Version 1.4-dev)
</TITLE>
@@ -68,9 +68,9 @@
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
@@ -89,11 +89,11 @@
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.lenya.cms.publication.DefaultDocumentBuilder</B>
</PRE>
<DL>
-<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/lenya/cms/publication/DocumentBuilder.html" title="interface in org.apache.lenya.cms.publication">DocumentBuilder</A>, org.apache.avalon.framework.logger.LogEnabled</DD>
+<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/lenya/cms/publication/DocumentBuilder.html" title="interface in org.apache.lenya.cms.publication">DocumentBuilder</A>, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.thread.ThreadSafe</DD>
</DL>
<HR>
<DL>
-<DT>public class <B>DefaultDocumentBuilder</B><DT>extends org.apache.avalon.framework.logger.AbstractLogEnabled<DT>implements <A HREF="../../../../../org/apache/lenya/cms/publication/DocumentBuilder.html" title="interface in org.apache.lenya.cms.publication">DocumentBuilder</A></DL>
+<DT>public class <B>DefaultDocumentBuilder</B><DT>extends org.apache.avalon.framework.logger.AbstractLogEnabled<DT>implements <A HREF="../../../../../org/apache/lenya/cms/publication/DocumentBuilder.html" title="interface in org.apache.lenya.cms.publication">DocumentBuilder</A>, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.thread.ThreadSafe</DL>
<P>
Default document builder implementation.
@@ -102,7 +102,7 @@
<P>
<DL>
<DT><B>Version:</B></DT>
- <DD>$Id: DefaultDocumentBuilder.java 157295 2005-03-12 23:10:56Z andreas $</DD>
+ <DD>$Id: DefaultDocumentBuilder.java 161178 2005-04-13 12:42:32Z jwkaltz $</DD>
</DL>
<HR>
@@ -112,7 +112,31 @@
<!-- =========== FIELD SUMMARY =========== -->
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=2><FONT SIZE="+2">
+<B>Field Summary</B></FONT></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>protected org.apache.avalon.framework.service.ServiceManager</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultDocumentBuilder.html#manager">manager</A></B></CODE>
+<BR>
+ </TD>
+</TR>
+</TABLE>
+ <A NAME="fields_inherited_from_class_org.apache.lenya.cms.publication.DocumentBuilder"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TD><B>Fields inherited from interface org.apache.lenya.cms.publication.<A HREF="../../../../../org/apache/lenya/cms/publication/DocumentBuilder.html" title="interface in org.apache.lenya.cms.publication">DocumentBuilder</A></B></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/DocumentBuilder.html#ROLE">ROLE</A></CODE></TD>
+</TR>
+</TABLE>
+
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
@@ -125,7 +149,7 @@
<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultDocumentBuilder.html#DefaultDocumentBuilder()">DefaultDocumentBuilder</A></B>()</CODE>
<BR>
- Non-public constructor.</TD>
+ Ctor.</TD>
</TR>
</TABLE>
@@ -156,8 +180,8 @@
java.lang.String language)</CODE>
<BR>
- Builds an URL corresponding to a cms document from the publication,
- the area, the document id and the language</TD>
+ Builds an URL corresponding to a cms document from the publication, the area, the document id
+ and the language</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
@@ -214,6 +238,14 @@
<BR>
Removes all "."</TD>
</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultDocumentBuilder.html#service(org.apache.avalon.framework.service.ServiceManager)">service</A></B>(org.apache.avalon.framework.service.ServiceManager manager)</CODE>
+
+<BR>
+ </TD>
+</TR>
</TABLE>
<A NAME="methods_inherited_from_class_org.apache.avalon.framework.logger.AbstractLogEnabled"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
@@ -238,6 +270,22 @@
<!-- ============ FIELD DETAIL =========== -->
+<A NAME="field_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=1><FONT SIZE="+2">
+<B>Field Detail</B></FONT></TD>
+</TR>
+</TABLE>
+
+<A NAME="manager"><!-- --></A><H3>
+manager</H3>
+<PRE>
+protected org.apache.avalon.framework.service.ServiceManager <B>manager</B></PRE>
+<DL>
+<DL>
+</DL>
+</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
@@ -254,7 +302,7 @@
<PRE>
public <B>DefaultDocumentBuilder</B>()</PRE>
<DL>
-<DD>Non-public constructor.
+<DD>Ctor.
<P>
</DL>
@@ -268,6 +316,20 @@
</TR>
</TABLE>
+<A NAME="service(org.apache.avalon.framework.service.ServiceManager)"><!-- --></A><H3>
+service</H3>
+<PRE>
+public void <B>service</B>(org.apache.avalon.framework.service.ServiceManager manager)</PRE>
+<DL>
+<DD><DL>
+<DT><B>Specified by:</B><DD><CODE>service</CODE> in interface <CODE>org.apache.avalon.framework.service.Serviceable</CODE></DL>
+</DD>
+<DD><DL>
+<DT><B>See Also:</B><DD><CODE>Serviceable.service(org.apache.avalon.framework.service.ServiceManager)</CODE></DL>
+</DD>
+</DL>
+<HR>
+
<A NAME="buildDocument(org.apache.lenya.cms.publication.DocumentIdentityMap, org.apache.lenya.cms.publication.Publication, java.lang.String)"><!-- --></A><H3>
buildDocument</H3>
<PRE>
@@ -283,7 +345,8 @@
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/DocumentBuilder.html#buildDocument(org.apache.lenya.cms.publication.DocumentIdentityMap, org.apache.lenya.cms.publication.Publication, java.lang.String)">buildDocument</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/DocumentBuilder.html" title="interface in org.apache.lenya.cms.publication">DocumentBuilder</A></CODE></DL>
</DD>
<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>map</CODE> - The identity map the document belongs to.<DD><CODE>publication</CODE> - The publication.<DD><CODE>url</CODE> - The URL of the form /{publication-id}/{area}/{document-id}{language-suffix}.{extension}.
+<DT><B>Parameters:</B><DD><CODE>map</CODE> - The identity map the document belongs to.<DD><CODE>publication</CODE> - The publication.<DD><CODE>url</CODE> - The URL of the form
+ /{publication-id}/{area}/{document-id}{language-suffix}.{extension}.
<DT><B>Returns:</B><DD>A document.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/DocumentBuildException.html" title="class in org.apache.lenya.cms.publication">DocumentBuildException</A></CODE> - when something went wrong.<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/lenya/cms/publication/DocumentBuilder.html#buildDocument(org.apache.lenya.cms.publication.DocumentIdentityMap, org.apache.lenya.cms.publication.Publication, java.lang.String)"><CODE>DocumentBuilder.buildDocument(org.apache.lenya.cms.publication.DocumentIdentityMap,
@@ -302,8 +365,8 @@
java.lang.String language)
throws <A HREF="../../../../../org/apache/lenya/cms/publication/DocumentBuildException.html" title="class in org.apache.lenya.cms.publication">DocumentBuildException</A></PRE>
<DL>
-<DD>Creates a new document object. Override this method to create specific
- document objects, e.g., for different document IDs.
+<DD>Creates a new document object. Override this method to create specific document objects,
+ e.g., for different document IDs.
<P>
<DD><DL>
</DL>
@@ -322,8 +385,8 @@
<PRE>
protected java.lang.String <B>removeExtensions</B>(java.lang.String url)</PRE>
<DL>
-<DD>Removes all "."-separated extensions from a URL (e.g.,
- <code>/foo.print.html</code> is transformed to <code>/foo</code>).
+<DD>Removes all "."-separated extensions from a URL (e.g., <code>/foo.print.html</code> is
+ transformed to <code>/foo</code>).
<P>
<DD><DL>
</DL>
@@ -420,8 +483,8 @@
java.lang.String language)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/DocumentBuilder.html" title="interface in org.apache.lenya.cms.publication">DocumentBuilder</A></CODE></B></DD>
-<DD>Builds an URL corresponding to a cms document from the publication,
- the area, the document id and the language
+<DD>Builds an URL corresponding to a cms document from the publication, the area, the document id
+ and the language
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/DocumentBuilder.html#buildCanonicalUrl(org.apache.lenya.cms.publication.Publication, java.lang.String, java.lang.String, java.lang.String)">buildCanonicalUrl</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/DocumentBuilder.html" title="interface in org.apache.lenya.cms.publication">DocumentBuilder</A></CODE></DL>
@@ -481,15 +544,15 @@
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
+DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
-Copyright © 1999-2004 Apache Software Foundation. All Rights Reserved.
+Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.
</BODY>
</HTML>
Modified: lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/DefaultDocumentIdToPathMapper.html
URL: http://svn.apache.org/viewcvs/lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/DefaultDocumentIdToPathMapper.html?rev=190217&r1=190216&r2=190217&view=diff
==============================================================================
--- lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/DefaultDocumentIdToPathMapper.html (original)
+++ lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/DefaultDocumentIdToPathMapper.html Sat Jun 11 22:02:21 2005
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.4.2) on Thu Mar 17 10:25:10 CET 2005 -->
+<!-- Generated by javadoc (build 1.4.2_07) on Sat Jun 11 17:50:59 EDT 2005 -->
<TITLE>
DefaultDocumentIdToPathMapper (Apache Lenya API - Version 1.4-dev)
</TITLE>
@@ -469,6 +469,6 @@
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
-Copyright © 1999-2004 Apache Software Foundation. All Rights Reserved.
+Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.
</BODY>
</HTML>
Modified: lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/DefaultResourcesManager.html
URL: http://svn.apache.org/viewcvs/lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/DefaultResourcesManager.html?rev=190217&r1=190216&r2=190217&view=diff
==============================================================================
--- lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/DefaultResourcesManager.html (original)
+++ lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/DefaultResourcesManager.html Sat Jun 11 22:02:21 2005
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.4.2) on Thu Mar 17 10:25:10 CET 2005 -->
+<!-- Generated by javadoc (build 1.4.2_07) on Sat Jun 11 17:50:59 EDT 2005 -->
<TITLE>
DefaultResourcesManager (Apache Lenya API - Version 1.4-dev)
</TITLE>
@@ -89,17 +89,21 @@
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.lenya.cms.publication.DefaultResourcesManager</B>
</PRE>
<DL>
-<DT><B>All Implemented Interfaces:</B> <DD>org.apache.avalon.framework.logger.LogEnabled, <A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></DD>
+<DT><B>All Implemented Interfaces:</B> <DD>org.apache.avalon.framework.logger.LogEnabled, <A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A>, org.apache.avalon.framework.service.Serviceable</DD>
</DL>
<HR>
<DL>
-<DT>public class <B>DefaultResourcesManager</B><DT>extends org.apache.avalon.framework.logger.AbstractLogEnabled<DT>implements <A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></DL>
+<DT>public class <B>DefaultResourcesManager</B><DT>extends org.apache.avalon.framework.logger.AbstractLogEnabled<DT>implements <A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A>, org.apache.avalon.framework.service.Serviceable</DL>
<P>
Manager for resources of a CMS document.
<P>
<P>
+<DL>
+<DT><B>Version:</B></DT>
+ <DD>$Id: DefaultResourcesManager.java 169977 2005-05-13 08:24:46Z andreas $</DD>
+</DL>
<HR>
<P>
@@ -116,8 +120,8 @@
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>protected static java.lang.String</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultResourcesManager.html#NAMESPACE_META">NAMESPACE_META</A></B></CODE>
+<CODE>protected org.apache.avalon.framework.service.ServiceManager</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultResourcesManager.html#manager">manager</A></B></CODE>
<BR>
</TD>
@@ -129,7 +133,7 @@
<TD><B>Fields inherited from interface org.apache.lenya.cms.publication.<A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#CONTENT_PREFIX">CONTENT_PREFIX</A>, <A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#DUBLIN_CORE_PARAMETERS">DUBLIN_CORE_PARAMETERS</A>, <A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#FILE_NAME_REGEXP">FILE_NAME_REGEXP</A>, <A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#IMAGE_FILE_EXTENSIONS">IMAGE_FILE_EXTENSIONS</A>, <A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#RESOURCES_META_SUFFIX">RESOURCES_META_SUFFIX</A>, <A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#RESOURCES_PREFIX">RESOURCES_PREFIX</A>, <A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#UPLOADASSET_PARAM_NAME">UPLOADASSET_PARAM_NAME</A>, <A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#UPLOADASSET_PARAM_PREFIX">UPLOADASSET_PARAM_PREFIX</A>, <A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#UPLOADASSET_RETURN_FILESIZE">UPLOADASSET_RETURN_FILESIZE</A>, <A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#UPLOADASSET_RETURN_MIMETYPE">UPLOADASSET_RETURN_MIMETYPE</A></CODE></TD>
+<TD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#CONTENT_PREFIX">CONTENT_PREFIX</A>, <A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#DUBLIN_CORE_PARAMETERS">DUBLIN_CORE_PARAMETERS</A>, <A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#FILE_NAME_REGEXP">FILE_NAME_REGEXP</A>, <A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#IMAGE_FILE_EXTENSIONS">IMAGE_FILE_EXTENSIONS</A>, <A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#RESOURCES_META_SUFFIX">RESOURCES_META_SUFFIX</A>, <A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#RESOURCES_PREFIX">RESOURCES_PREFIX</A>, <A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#ROLE">ROLE</A>, <A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#UPLOADASSET_PARAM_NAME">UPLOADASSET_PARAM_NAME</A>, <A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#UPLOADASSET_PARAM_PREFIX">UPLOADASSET_PARAM_PREFIX</A>, <A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#UPLOADASSET_RETURN_FILESIZE">UPLOADASSET_RETURN_FILESIZE</A>, <A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#UPLOADASSET_RETURN_MIMETYPE">UPLOADASSET_RETURN_MIMETYPE</A></CODE></TD>
</TR>
</TABLE>
@@ -142,10 +146,10 @@
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultResourcesManager.html#DefaultResourcesManager(org.apache.lenya.cms.publication.Document)">DefaultResourcesManager</A></B>(<A HREF="../../../../../org/apache/lenya/cms/publication/Document.html" title="interface in org.apache.lenya.cms.publication">Document</A> _document)</CODE>
+<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultResourcesManager.html#DefaultResourcesManager()">DefaultResourcesManager</A></B>()</CODE>
<BR>
- Create a new instance of Resources.</TD>
+ Constructor</TD>
</TR>
</TABLE>
@@ -160,33 +164,27 @@
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultResourcesManager.html#addResource(org.apache.cocoon.servlet.multipart.Part, java.util.Map)">addResource</A></B>(org.apache.cocoon.servlet.multipart.Part part,
+<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultResourcesManager.html#addResource(org.apache.lenya.cms.publication.Document, org.apache.cocoon.servlet.multipart.Part, java.util.Map)">addResource</A></B>(<A HREF="../../../../../org/apache/lenya/cms/publication/Document.html" title="interface in org.apache.lenya.cms.publication">Document</A> document,
+ org.apache.cocoon.servlet.multipart.Part part,
java.util.Map metadata)</CODE>
<BR>
- Add the file in the Part either as a resource or content</TD>
+ Add a resource to the document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultResourcesManager.html#copyResourcesTo(org.apache.lenya.cms.publication.Document)">copyResourcesTo</A></B>(<A HREF="../../../../../org/apache/lenya/cms/publication/Document.html" title="interface in org.apache.lenya.cms.publication">Document</A> destinationDocument)</CODE>
+<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultResourcesManager.html#copyResources(org.apache.lenya.cms.publication.Document, org.apache.lenya.cms.publication.Document)">copyResources</A></B>(<A HREF="../../../../../org/apache/lenya/cms/publication/Document.html" title="interface in org.apache.lenya.cms.publication">Document</A> sourceDocument,
+ <A HREF="../../../../../org/apache/lenya/cms/publication/Document.html" title="interface in org.apache.lenya.cms.publication">Document</A> destinationDocument)</CODE>
<BR>
Copies the resources of a document to another document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>protected void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultResourcesManager.html#createMetaData(java.io.File, java.util.Map)">createMetaData</A></B>(java.io.File metaDataFile,
- java.util.Map metadata)</CODE>
-
-<BR>
- Create the meta data file given the dublin core parameters.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultResourcesManager.html#deleteResource(java.lang.String)">deleteResource</A></B>(java.lang.String name)</CODE>
+<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultResourcesManager.html#deleteResource(org.apache.lenya.cms.publication.Document, java.lang.String)">deleteResource</A></B>(<A HREF="../../../../../org/apache/lenya/cms/publication/Document.html" title="interface in org.apache.lenya.cms.publication">Document</A> document,
+ java.lang.String name)</CODE>
<BR>
Delete a resource from the document.</TD>
@@ -194,83 +192,69 @@
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultResourcesManager.html#deleteResources()">deleteResources</A></B>()</CODE>
+<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultResourcesManager.html#deleteResource(org.apache.lenya.cms.publication.Resource)">deleteResource</A></B>(<A HREF="../../../../../org/apache/lenya/cms/publication/Resource.html" title="class in org.apache.lenya.cms.publication">Resource</A> theResource)</CODE>
<BR>
- Deletes all resources.</TD>
+ Delete a resource.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> <A HREF="../../../../../org/apache/lenya/cms/publication/Document.html" title="interface in org.apache.lenya.cms.publication">Document</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultResourcesManager.html#getDocument()">getDocument</A></B>()</CODE>
-
-<BR>
- Gets the document this resource manager belongs to.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>protected java.io.File[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultResourcesManager.html#getFiles(java.io.FileFilter)">getFiles</A></B>(java.io.FileFilter filter)</CODE>
-
-<BR>
- Returns the resources that are matched by a certain file filter.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> java.io.File[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultResourcesManager.html#getImageResources()">getImageResources</A></B>()</CODE>
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultResourcesManager.html#deleteResources(org.apache.lenya.cms.publication.Document)">deleteResources</A></B>(<A HREF="../../../../../org/apache/lenya/cms/publication/Document.html" title="interface in org.apache.lenya.cms.publication">Document</A> document)</CODE>
<BR>
- Return all resources which are images.</TD>
+ Deletes all resources.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> java.io.File</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultResourcesManager.html#getMetaFile(java.io.File)">getMetaFile</A></B>(java.io.File resource)</CODE>
+<CODE> <A HREF="../../../../../org/apache/lenya/cms/publication/Resource.html" title="class in org.apache.lenya.cms.publication">Resource</A>[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultResourcesManager.html#getImageResources(org.apache.lenya.cms.publication.Document)">getImageResources</A></B>(<A HREF="../../../../../org/apache/lenya/cms/publication/Document.html" title="interface in org.apache.lenya.cms.publication">Document</A> document)</CODE>
<BR>
- Returns a meta file for a given resource.</TD>
+ Get the image resources for the associated document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> java.io.File[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultResourcesManager.html#getMetaFiles()">getMetaFiles</A></B>()</CODE>
+<CODE> <A HREF="../../../../../org/apache/lenya/cms/publication/Resource.html" title="class in org.apache.lenya.cms.publication">Resource</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultResourcesManager.html#getResource(org.apache.lenya.cms.publication.Document, java.lang.String)">getResource</A></B>(<A HREF="../../../../../org/apache/lenya/cms/publication/Document.html" title="interface in org.apache.lenya.cms.publication">Document</A> document,
+ java.lang.String resourceName)</CODE>
<BR>
- Get the meta data for all resources for the associated document.</TD>
+ Retrieve a resource</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> java.io.File</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultResourcesManager.html#getPath()">getPath</A></B>()</CODE>
+<CODE> <A HREF="../../../../../org/apache/lenya/cms/publication/Resource.html" title="class in org.apache.lenya.cms.publication">Resource</A>[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultResourcesManager.html#getResources(org.apache.lenya.cms.publication.Document)">getResources</A></B>(<A HREF="../../../../../org/apache/lenya/cms/publication/Document.html" title="interface in org.apache.lenya.cms.publication">Document</A> document)</CODE>
<BR>
- Get the path to the resources.</TD>
+ Get all resources for the associated document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> java.io.File[]</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultResourcesManager.html#getResources()">getResources</A></B>()</CODE>
+<CODE>protected <A HREF="../../../../../org/apache/lenya/cms/publication/Resource.html" title="class in org.apache.lenya.cms.publication">Resource</A>[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultResourcesManager.html#getResources(org.apache.lenya.cms.publication.Document, java.io.FileFilter)">getResources</A></B>(<A HREF="../../../../../org/apache/lenya/cms/publication/Document.html" title="interface in org.apache.lenya.cms.publication">Document</A> document,
+ java.io.FileFilter filter)</CODE>
<BR>
- Get all resources for the associated document.</TD>
+ Returns the resources that are matched by a certain file filter.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> java.lang.String</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultResourcesManager.html#getResourceUrl(java.io.File)">getResourceUrl</A></B>(java.io.File resource)</CODE>
+<CODE>protected void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultResourcesManager.html#saveResource(org.apache.lenya.cms.publication.Resource, org.apache.cocoon.servlet.multipart.Part)">saveResource</A></B>(<A HREF="../../../../../org/apache/lenya/cms/publication/Resource.html" title="class in org.apache.lenya.cms.publication">Resource</A> resource,
+ org.apache.cocoon.servlet.multipart.Part part)</CODE>
<BR>
- Returns the path of a resource relative to the context prefix.</TD>
+ Saves the resource to a file.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE>protected void</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultResourcesManager.html#saveResource(java.io.File, org.apache.cocoon.servlet.multipart.Part)">saveResource</A></B>(java.io.File resourceFile,
- org.apache.cocoon.servlet.multipart.Part part)</CODE>
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DefaultResourcesManager.html#service(org.apache.avalon.framework.service.ServiceManager)">service</A></B>(org.apache.avalon.framework.service.ServiceManager manager)</CODE>
<BR>
- Saves the resource to a file.</TD>
+ </TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_org.apache.avalon.framework.logger.AbstractLogEnabled"><!-- --></A>
@@ -304,13 +288,13 @@
</TR>
</TABLE>
-<A NAME="NAMESPACE_META"><!-- --></A><H3>
-NAMESPACE_META</H3>
+<A NAME="manager"><!-- --></A><H3>
+manager</H3>
<PRE>
-protected static final java.lang.String <B>NAMESPACE_META</B></PRE>
+protected org.apache.avalon.framework.service.ServiceManager <B>manager</B></PRE>
<DL>
<DL>
-<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.lenya.cms.publication.DefaultResourcesManager.NAMESPACE_META">Constant Field Values</A></DL>
+</DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
@@ -323,14 +307,14 @@
</TR>
</TABLE>
-<A NAME="DefaultResourcesManager(org.apache.lenya.cms.publication.Document)"><!-- --></A><H3>
+<A NAME="DefaultResourcesManager()"><!-- --></A><H3>
DefaultResourcesManager</H3>
<PRE>
-public <B>DefaultResourcesManager</B>(<A HREF="../../../../../org/apache/lenya/cms/publication/Document.html" title="interface in org.apache.lenya.cms.publication">Document</A> _document)</PRE>
+public <B>DefaultResourcesManager</B>()</PRE>
<DL>
-<DD>Create a new instance of Resources.
+<DD>Constructor
<P>
-<DT><B>Parameters:</B><DD><CODE>_document</CODE> - the document for which the resources are managed</DL>
+</DL>
<!-- ============ METHOD DETAIL ========== -->
@@ -342,30 +326,33 @@
</TR>
</TABLE>
-<A NAME="addResource(org.apache.cocoon.servlet.multipart.Part, java.util.Map)"><!-- --></A><H3>
+<A NAME="addResource(org.apache.lenya.cms.publication.Document, org.apache.cocoon.servlet.multipart.Part, java.util.Map)"><!-- --></A><H3>
addResource</H3>
<PRE>
-public void <B>addResource</B>(org.apache.cocoon.servlet.multipart.Part part,
+public void <B>addResource</B>(<A HREF="../../../../../org/apache/lenya/cms/publication/Document.html" title="interface in org.apache.lenya.cms.publication">Document</A> document,
+ org.apache.cocoon.servlet.multipart.Part part,
java.util.Map metadata)
- throws java.io.IOException</PRE>
+ throws java.lang.Exception</PRE>
<DL>
-<DD>Add the file in the Part either as a resource or content
+<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></CODE></B></DD>
+<DD>Add a resource to the document.
<P>
<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#addResource(org.apache.cocoon.servlet.multipart.Part, java.util.Map)">addResource</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></CODE></DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#addResource(org.apache.lenya.cms.publication.Document, org.apache.cocoon.servlet.multipart.Part, java.util.Map)">addResource</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></CODE></DL>
</DD>
<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>part</CODE> - The Part<DD><CODE>metadata</CODE> - Holds the metadata for the resource
+<DT><B>Parameters:</B><DD><CODE>document</CODE> - The document.<DD><CODE>part</CODE> - the part that contains the uploaded file<DD><CODE>metadata</CODE> - the metadata for the resource
<DT><B>Throws:</B>
-<DD><CODE>java.io.IOException</CODE> - if an error occurs</DL>
+<DD><CODE>java.lang.Exception</CODE> - if an error occurs<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#addResource(org.apache.lenya.cms.publication.Document, org.apache.cocoon.servlet.multipart.Part, java.util.Map)"><CODE>ResourcesManager.addResource(org.apache.lenya.cms.publication.Document,
+ org.apache.cocoon.servlet.multipart.Part, java.util.Map)</CODE></A></DL>
</DD>
</DL>
<HR>
-<A NAME="saveResource(java.io.File, org.apache.cocoon.servlet.multipart.Part)"><!-- --></A><H3>
+<A NAME="saveResource(org.apache.lenya.cms.publication.Resource, org.apache.cocoon.servlet.multipart.Part)"><!-- --></A><H3>
saveResource</H3>
<PRE>
-protected void <B>saveResource</B>(java.io.File resourceFile,
+protected void <B>saveResource</B>(<A HREF="../../../../../org/apache/lenya/cms/publication/Resource.html" title="class in org.apache.lenya.cms.publication">Resource</A> resource,
org.apache.cocoon.servlet.multipart.Part part)
throws java.io.IOException</PRE>
<DL>
@@ -375,105 +362,55 @@
</DL>
</DD>
<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>resourceFile</CODE> - The resource file.<DD><CODE>part</CODE> - The part of the multipart request.
+<DT><B>Parameters:</B><DD><CODE>resource</CODE> - The resource.<DD><CODE>part</CODE> - The part of the multipart request.
<DT><B>Throws:</B>
<DD><CODE>java.io.IOException</CODE> - if an error occurs.</DL>
</DD>
</DL>
<HR>
-<A NAME="createMetaData(java.io.File, java.util.Map)"><!-- --></A><H3>
-createMetaData</H3>
-<PRE>
-protected void <B>createMetaData</B>(java.io.File metaDataFile,
- java.util.Map metadata)
- throws <A HREF="../../../../../org/apache/lenya/cms/publication/DocumentException.html" title="class in org.apache.lenya.cms.publication">DocumentException</A></PRE>
-<DL>
-<DD>Create the meta data file given the dublin core parameters.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>metaDataFile</CODE> - the file where the meta data file is to be created<DD><CODE>metadata</CODE> - a <code>Map</code> containing the dublin core values
-<DT><B>Throws:</B>
-<DD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/DocumentException.html" title="class in org.apache.lenya.cms.publication">DocumentException</A></CODE> - if an error occurs</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getPath()"><!-- --></A><H3>
-getPath</H3>
-<PRE>
-public java.io.File <B>getPath</B>()</PRE>
-<DL>
-<DD>Get the path to the resources.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#getPath()">getPath</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></CODE></DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>the path to the resources</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getResourceUrl(java.io.File)"><!-- --></A><H3>
-getResourceUrl</H3>
-<PRE>
-public java.lang.String <B>getResourceUrl</B>(java.io.File resource)</PRE>
-<DL>
-<DD>Returns the path of a resource relative to the context prefix.
-<P>
-<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#getResourceUrl(java.io.File)">getResourceUrl</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></CODE></DL>
-</DD>
-<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>resource</CODE> - The resource
-<DT><B>Returns:</B><DD>The path of a resource relative to the context prefix.</DL>
-</DD>
-</DL>
-<HR>
-
-<A NAME="getResources()"><!-- --></A><H3>
+<A NAME="getResources(org.apache.lenya.cms.publication.Document)"><!-- --></A><H3>
getResources</H3>
<PRE>
-public java.io.File[] <B>getResources</B>()</PRE>
+public <A HREF="../../../../../org/apache/lenya/cms/publication/Resource.html" title="class in org.apache.lenya.cms.publication">Resource</A>[] <B>getResources</B>(<A HREF="../../../../../org/apache/lenya/cms/publication/Document.html" title="interface in org.apache.lenya.cms.publication">Document</A> document)</PRE>
<DL>
+<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></CODE></B></DD>
<DD>Get all resources for the associated document.
<P>
<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#getResources()">getResources</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></CODE></DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#getResources(org.apache.lenya.cms.publication.Document)">getResources</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></CODE></DL>
</DD>
<DD><DL>
-
-<DT><B>Returns:</B><DD>all resources of the associated document</DL>
+<DT><B>Parameters:</B><DD><CODE>document</CODE> - The document.
+<DT><B>Returns:</B><DD>all resources of the associated document<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#getResources(org.apache.lenya.cms.publication.Document)"><CODE>ResourcesManager.getResources(org.apache.lenya.cms.publication.Document)</CODE></A></DL>
</DD>
</DL>
<HR>
-<A NAME="getImageResources()"><!-- --></A><H3>
+<A NAME="getImageResources(org.apache.lenya.cms.publication.Document)"><!-- --></A><H3>
getImageResources</H3>
<PRE>
-public java.io.File[] <B>getImageResources</B>()</PRE>
+public <A HREF="../../../../../org/apache/lenya/cms/publication/Resource.html" title="class in org.apache.lenya.cms.publication">Resource</A>[] <B>getImageResources</B>(<A HREF="../../../../../org/apache/lenya/cms/publication/Document.html" title="interface in org.apache.lenya.cms.publication">Document</A> document)</PRE>
<DL>
-<DD>Return all resources which are images.
+<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></CODE></B></DD>
+<DD>Get the image resources for the associated document.
<P>
<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#getImageResources()">getImageResources</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></CODE></DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#getImageResources(org.apache.lenya.cms.publication.Document)">getImageResources</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></CODE></DL>
</DD>
<DD><DL>
-
-<DT><B>Returns:</B><DD>All image resources.</DL>
+<DT><B>Parameters:</B><DD><CODE>document</CODE> - The document.
+<DT><B>Returns:</B><DD>all meta data files for the resources for the associated
+ document.<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#getImageResources(org.apache.lenya.cms.publication.Document)"><CODE>ResourcesManager.getImageResources(org.apache.lenya.cms.publication.Document)</CODE></A></DL>
</DD>
</DL>
<HR>
-<A NAME="getFiles(java.io.FileFilter)"><!-- --></A><H3>
-getFiles</H3>
+<A NAME="getResources(org.apache.lenya.cms.publication.Document, java.io.FileFilter)"><!-- --></A><H3>
+getResources</H3>
<PRE>
-protected java.io.File[] <B>getFiles</B>(java.io.FileFilter filter)</PRE>
+protected <A HREF="../../../../../org/apache/lenya/cms/publication/Resource.html" title="class in org.apache.lenya.cms.publication">Resource</A>[] <B>getResources</B>(<A HREF="../../../../../org/apache/lenya/cms/publication/Document.html" title="interface in org.apache.lenya.cms.publication">Document</A> document,
+ java.io.FileFilter filter)</PRE>
<DL>
<DD>Returns the resources that are matched by a certain file filter.
<P>
@@ -481,121 +418,126 @@
</DL>
</DD>
<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>filter</CODE> - A file filter.
-<DT><B>Returns:</B><DD>A file array.</DL>
+<DT><B>Parameters:</B><DD><CODE>document</CODE> - The document.<DD><CODE>filter</CODE> - A file filter.
+<DT><B>Returns:</B><DD>A resource array.</DL>
</DD>
</DL>
<HR>
-<A NAME="getMetaFiles()"><!-- --></A><H3>
-getMetaFiles</H3>
+<A NAME="deleteResources(org.apache.lenya.cms.publication.Document)"><!-- --></A><H3>
+deleteResources</H3>
<PRE>
-public java.io.File[] <B>getMetaFiles</B>()</PRE>
+public void <B>deleteResources</B>(<A HREF="../../../../../org/apache/lenya/cms/publication/Document.html" title="interface in org.apache.lenya.cms.publication">Document</A> document)</PRE>
<DL>
-<DD>Get the meta data for all resources for the associated document.
+<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></CODE></B></DD>
+<DD>Deletes all resources.
<P>
<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#getMetaFiles()">getMetaFiles</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></CODE></DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#deleteResources(org.apache.lenya.cms.publication.Document)">deleteResources</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></CODE></DL>
</DD>
<DD><DL>
-
-<DT><B>Returns:</B><DD>all meta data files for the resources for the associated
- document.</DL>
+<DT><B>Parameters:</B><DD><CODE>document</CODE> - The document.<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#deleteResources(org.apache.lenya.cms.publication.Document)"><CODE>ResourcesManager.deleteResources(org.apache.lenya.cms.publication.Document)</CODE></A></DL>
</DD>
</DL>
<HR>
-<A NAME="getMetaFile(java.io.File)"><!-- --></A><H3>
-getMetaFile</H3>
+<A NAME="copyResources(org.apache.lenya.cms.publication.Document, org.apache.lenya.cms.publication.Document)"><!-- --></A><H3>
+copyResources</H3>
<PRE>
-public java.io.File <B>getMetaFile</B>(java.io.File resource)
- throws java.lang.IllegalArgumentException</PRE>
+public void <B>copyResources</B>(<A HREF="../../../../../org/apache/lenya/cms/publication/Document.html" title="interface in org.apache.lenya.cms.publication">Document</A> sourceDocument,
+ <A HREF="../../../../../org/apache/lenya/cms/publication/Document.html" title="interface in org.apache.lenya.cms.publication">Document</A> destinationDocument)
+ throws java.lang.Exception</PRE>
<DL>
-<DD>Returns a meta file for a given resource.
+<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></CODE></B></DD>
+<DD>Copies the resources of a document to another document.
<P>
<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#getMetaFile(java.io.File)">getMetaFile</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></CODE></DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#copyResources(org.apache.lenya.cms.publication.Document, org.apache.lenya.cms.publication.Document)">copyResources</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></CODE></DL>
</DD>
<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>resource</CODE> - A resource the meta file should be returned for.
-<DT><B>Returns:</B><DD>A file containing meta information about a resource. Returns null
- if no meta file was found.
+<DT><B>Parameters:</B><DD><CODE>sourceDocument</CODE> - The source document.<DD><CODE>destinationDocument</CODE> - The destination document.
<DT><B>Throws:</B>
-<DD><CODE>java.lang.IllegalArgumentException</CODE> - If resource is a meta file itself.</DL>
+<DD><CODE>java.lang.Exception</CODE> - when something went wrong.<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#copyResources(org.apache.lenya.cms.publication.Document, org.apache.lenya.cms.publication.Document)"><CODE>ResourcesManager.copyResources(org.apache.lenya.cms.publication.Document,
+ org.apache.lenya.cms.publication.Document)</CODE></A></DL>
</DD>
</DL>
<HR>
-<A NAME="deleteResources()"><!-- --></A><H3>
-deleteResources</H3>
+<A NAME="service(org.apache.avalon.framework.service.ServiceManager)"><!-- --></A><H3>
+service</H3>
<PRE>
-public void <B>deleteResources</B>()</PRE>
+public void <B>service</B>(org.apache.avalon.framework.service.ServiceManager manager)
+ throws org.apache.avalon.framework.service.ServiceException</PRE>
<DL>
-<DD>Deletes all resources.
-<P>
<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#deleteResources()">deleteResources</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></CODE></DL>
+<DT><B>Specified by:</B><DD><CODE>service</CODE> in interface <CODE>org.apache.avalon.framework.service.Serviceable</CODE></DL>
</DD>
<DD><DL>
-</DL>
+
+<DT><B>Throws:</B>
+<DD><CODE>org.apache.avalon.framework.service.ServiceException</CODE><DT><B>See Also:</B><DD><CODE>Serviceable.service(org.apache.avalon.framework.service.ServiceManager)</CODE></DL>
</DD>
</DL>
<HR>
-<A NAME="getDocument()"><!-- --></A><H3>
-getDocument</H3>
+<A NAME="getResource(org.apache.lenya.cms.publication.Document, java.lang.String)"><!-- --></A><H3>
+getResource</H3>
<PRE>
-public <A HREF="../../../../../org/apache/lenya/cms/publication/Document.html" title="interface in org.apache.lenya.cms.publication">Document</A> <B>getDocument</B>()</PRE>
+public <A HREF="../../../../../org/apache/lenya/cms/publication/Resource.html" title="class in org.apache.lenya.cms.publication">Resource</A> <B>getResource</B>(<A HREF="../../../../../org/apache/lenya/cms/publication/Document.html" title="interface in org.apache.lenya.cms.publication">Document</A> document,
+ java.lang.String resourceName)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></CODE></B></DD>
-<DD>Gets the document this resource manager belongs to.
+<DD>Retrieve a resource
<P>
<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#getDocument()">getDocument</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></CODE></DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#getResource(org.apache.lenya.cms.publication.Document, java.lang.String)">getResource</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></CODE></DL>
</DD>
<DD><DL>
-
-<DT><B>Returns:</B><DD>The document<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#getDocument()"><CODE>ResourcesManager.getDocument()</CODE></A></DL>
+<DT><B>Parameters:</B><DD><CODE>document</CODE> - The document the resource belongs to<DD><CODE>resourceName</CODE> - The name of the resource
+<DT><B>Returns:</B><DD>the resource, or null if no such resource exists.<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#getResource(org.apache.lenya.cms.publication.Document, java.lang.String)"><CODE>ResourcesManager.getResource(org.apache.lenya.cms.publication.Document,
+ java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>
-<A NAME="copyResourcesTo(org.apache.lenya.cms.publication.Document)"><!-- --></A><H3>
-copyResourcesTo</H3>
+<A NAME="deleteResource(org.apache.lenya.cms.publication.Resource)"><!-- --></A><H3>
+deleteResource</H3>
<PRE>
-public void <B>copyResourcesTo</B>(<A HREF="../../../../../org/apache/lenya/cms/publication/Document.html" title="interface in org.apache.lenya.cms.publication">Document</A> destinationDocument)
- throws java.lang.Exception</PRE>
+public void <B>deleteResource</B>(<A HREF="../../../../../org/apache/lenya/cms/publication/Resource.html" title="class in org.apache.lenya.cms.publication">Resource</A> theResource)
+ throws java.lang.Exception</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></CODE></B></DD>
-<DD>Copies the resources of a document to another document.
+<DD>Delete a resource.
<P>
<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#copyResourcesTo(org.apache.lenya.cms.publication.Document)">copyResourcesTo</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></CODE></DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#deleteResource(org.apache.lenya.cms.publication.Resource)">deleteResource</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></CODE></DL>
</DD>
<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>destinationDocument</CODE> - The destination document.
+<DT><B>Parameters:</B><DD><CODE>theResource</CODE> - The resource.
<DT><B>Throws:</B>
-<DD><CODE>java.lang.Exception</CODE> - when something went wrong.<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#copyResourcesTo(org.apache.lenya.cms.publication.Document)"><CODE>ResourcesManager.copyResourcesTo(org.apache.lenya.cms.publication.Document)</CODE></A></DL>
+<DD><CODE>java.lang.Exception</CODE> - if an error occurs<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#deleteResource(org.apache.lenya.cms.publication.Resource)"><CODE>ResourcesManager.deleteResource(org.apache.lenya.cms.publication.Resource)</CODE></A></DL>
</DD>
</DL>
<HR>
-<A NAME="deleteResource(java.lang.String)"><!-- --></A><H3>
+<A NAME="deleteResource(org.apache.lenya.cms.publication.Document, java.lang.String)"><!-- --></A><H3>
deleteResource</H3>
<PRE>
-public void <B>deleteResource</B>(java.lang.String name)
+public void <B>deleteResource</B>(<A HREF="../../../../../org/apache/lenya/cms/publication/Document.html" title="interface in org.apache.lenya.cms.publication">Document</A> document,
+ java.lang.String name)
throws java.lang.Exception</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></CODE></B></DD>
<DD>Delete a resource from the document.
<P>
<DD><DL>
-<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#deleteResource(java.lang.String)">deleteResource</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></CODE></DL>
+<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#deleteResource(org.apache.lenya.cms.publication.Document, java.lang.String)">deleteResource</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></CODE></DL>
</DD>
<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>name</CODE> - The filename of the resource.
+<DT><B>Parameters:</B><DD><CODE>document</CODE> - The document.<DD><CODE>name</CODE> - The filename of the resource.
<DT><B>Throws:</B>
-<DD><CODE>java.lang.Exception</CODE> - if an error occurs<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#deleteResource(java.lang.String)"><CODE>ResourcesManager.deleteResource(java.lang.String)</CODE></A></DL>
+<DD><CODE>java.lang.Exception</CODE> - if an error occurs<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html#deleteResource(org.apache.lenya.cms.publication.Document, java.lang.String)"><CODE>ResourcesManager.deleteResource(org.apache.lenya.cms.publication.Document,
+ java.lang.String)</CODE></A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
@@ -656,6 +598,6 @@
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
-Copyright © 1999-2004 Apache Software Foundation. All Rights Reserved.
+Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.
</BODY>
</HTML>
Modified: lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/Document.html
URL: http://svn.apache.org/viewcvs/lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/Document.html?rev=190217&r1=190216&r2=190217&view=diff
==============================================================================
--- lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/Document.html (original)
+++ lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/Document.html Sat Jun 11 22:02:21 2005
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.4.2) on Thu Mar 17 10:25:10 CET 2005 -->
+<!-- Generated by javadoc (build 1.4.2_07) on Sat Jun 11 17:50:55 EDT 2005 -->
<TITLE>
Document (Apache Lenya API - Version 1.4-dev)
</TITLE>
@@ -84,7 +84,7 @@
<BR>
Interface Document</H2>
<DL>
-<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../../../org/apache/lenya/workflow/Workflowable.html" title="interface in org.apache.lenya.workflow">Workflowable</A></DD>
+<DT><B>All Superinterfaces:</B> <DD><A HREF="../../../../../org/apache/lenya/transaction/Identifiable.html" title="interface in org.apache.lenya.transaction">Identifiable</A>, <A HREF="../../../../../org/apache/lenya/cms/metadata/MetaDataOwner.html" title="interface in org.apache.lenya.cms.metadata">MetaDataOwner</A></DD>
</DL>
<DL>
<DT><B>All Known Subinterfaces:</B> <DD><A HREF="../../../../../org/apache/lenya/cms/publication/util/Collection.html" title="interface in org.apache.lenya.cms.publication.util">Collection</A></DD>
@@ -94,13 +94,17 @@
</DL>
<HR>
<DL>
-<DT>public interface <B>Document</B><DT>extends <A HREF="../../../../../org/apache/lenya/workflow/Workflowable.html" title="interface in org.apache.lenya.workflow">Workflowable</A></DL>
+<DT>public interface <B>Document</B><DT>extends <A HREF="../../../../../org/apache/lenya/cms/metadata/MetaDataOwner.html" title="interface in org.apache.lenya.cms.metadata">MetaDataOwner</A>, <A HREF="../../../../../org/apache/lenya/transaction/Identifiable.html" title="interface in org.apache.lenya.transaction">Identifiable</A></DL>
<P>
A CMS document.
<P>
<P>
+<DL>
+<DT><B>Version:</B></DT>
+ <DD>$Id: Document.java 179751 2005-06-03 09:13:35Z andreas $</DD>
+</DL>
<HR>
<P>
@@ -126,11 +130,27 @@
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/Document.html#DOCUMENT_META_SUFFIX">DOCUMENT_META_SUFFIX</A></B></CODE>
+
+<BR>
+ <code>DOCUMENT_META_SUFFIX</code> The suffix for document meta Uris</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/Document.html#NAMESPACE">NAMESPACE</A></B></CODE>
<BR>
The document namespace URI.</TD>
</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/Document.html#TRANSACTIONABLE_TYPE">TRANSACTIONABLE_TYPE</A></B></CODE>
+
+<BR>
+ The transactionable type for document objects.</TD>
+</TR>
</TABLE>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
@@ -154,6 +174,14 @@
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/Document.html#delete()">delete</A></B>()</CODE>
+
+<BR>
+ Deletes the document.</TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/Document.html#exists()">exists</A></B>()</CODE>
@@ -197,23 +225,6 @@
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/Document.html#getCompleteInfoURL()">getCompleteInfoURL</A></B>()</CODE>
-
-<BR>
- Returns the complete URL of this document in the info area:<br/>
- /{publication-id}/info-{area}{document-id}{language-suffix}.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> <A HREF="../../../../../org/apache/lenya/cms/metadata/dublincore/DublinCore.html" title="interface in org.apache.lenya.cms.metadata.dublincore">DublinCore</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/Document.html#getDublinCore()">getDublinCore</A></B>()</CODE>
-
-<BR>
- Returns the dublin core class for this document.</TD>
-</TR>
-<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/Document.html#getExtension()">getExtension</A></B>()</CODE>
<BR>
@@ -296,11 +307,19 @@
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
-<CODE> <A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A></CODE></FONT></TD>
-<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/Document.html#getResourcesManager()">getResourcesManager</A></B>()</CODE>
+<CODE> <A HREF="../../../../../org/apache/lenya/cms/repository/Node.html" title="interface in org.apache.lenya.cms.repository">Node</A>[]</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/Document.html#getRepositoryNodes()">getRepositoryNodes</A></B>()</CODE>
<BR>
- Returns the resources manager for this document.</TD>
+ </TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> <A HREF="../../../../../org/apache/lenya/cms/publication/DocumentType.html" title="class in org.apache.lenya.cms.publication">DocumentType</A></CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/Document.html#getResourceType()">getResourceType</A></B>()</CODE>
+
+<BR>
+ </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
@@ -310,14 +329,31 @@
<BR>
Returns the URI to resolve the document's source.</TD>
</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE> void</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/Document.html#setSourceURI(java.lang.String)">setSourceURI</A></B>(java.lang.String uri)</CODE>
+
+<BR>
+ Setter for the URI to resolve the document's source.</TD>
+</TR>
</TABLE>
- <A NAME="methods_inherited_from_class_org.apache.lenya.workflow.Workflowable"><!-- --></A>
+ <A NAME="methods_inherited_from_class_org.apache.lenya.cms.metadata.MetaDataOwner"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
-<TD><B>Methods inherited from interface org.apache.lenya.workflow.<A HREF="../../../../../org/apache/lenya/workflow/Workflowable.html" title="interface in org.apache.lenya.workflow">Workflowable</A></B></TD>
+<TD><B>Methods inherited from interface org.apache.lenya.cms.metadata.<A HREF="../../../../../org/apache/lenya/cms/metadata/MetaDataOwner.html" title="interface in org.apache.lenya.cms.metadata">MetaDataOwner</A></B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
-<TD><CODE><A HREF="../../../../../org/apache/lenya/workflow/Workflowable.html#getLatestVersion()">getLatestVersion</A>, <A HREF="../../../../../org/apache/lenya/workflow/Workflowable.html#getVersions()">getVersions</A>, <A HREF="../../../../../org/apache/lenya/workflow/Workflowable.html#newVersion(org.apache.lenya.workflow.Workflow, org.apache.lenya.workflow.Version, org.apache.lenya.workflow.Situation)">newVersion</A></CODE></TD>
+<TD><CODE><A HREF="../../../../../org/apache/lenya/cms/metadata/MetaDataOwner.html#getMetaDataManager()">getMetaDataManager</A></CODE></TD>
+</TR>
+</TABLE>
+ <A NAME="methods_inherited_from_class_org.apache.lenya.transaction.Identifiable"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
+<TD><B>Methods inherited from interface org.apache.lenya.transaction.<A HREF="../../../../../org/apache/lenya/transaction/Identifiable.html" title="interface in org.apache.lenya.transaction">Identifiable</A></B></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD><CODE><A HREF="../../../../../org/apache/lenya/transaction/Identifiable.html#getIdentifiableType()">getIdentifiableType</A></CODE></TD>
</TR>
</TABLE>
@@ -355,6 +391,30 @@
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.lenya.cms.publication.Document.DEFAULT_PREFIX">Constant Field Values</A></DL>
</DL>
+<HR>
+
+<A NAME="TRANSACTIONABLE_TYPE"><!-- --></A><H3>
+TRANSACTIONABLE_TYPE</H3>
+<PRE>
+public static final java.lang.String <B>TRANSACTIONABLE_TYPE</B></PRE>
+<DL>
+<DD>The transactionable type for document objects.
+<P>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.lenya.cms.publication.Document.TRANSACTIONABLE_TYPE">Constant Field Values</A></DL>
+</DL>
+<HR>
+
+<A NAME="DOCUMENT_META_SUFFIX"><!-- --></A><H3>
+DOCUMENT_META_SUFFIX</H3>
+<PRE>
+public static final java.lang.String <B>DOCUMENT_META_SUFFIX</B></PRE>
+<DL>
+<DD><code>DOCUMENT_META_SUFFIX</code> The suffix for document meta Uris
+<P>
+<DL>
+<DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.lenya.cms.publication.Document.DOCUMENT_META_SUFFIX">Constant Field Values</A></DL>
+</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
@@ -437,24 +497,6 @@
</DL>
<HR>
-<A NAME="getCompleteInfoURL()"><!-- --></A><H3>
-getCompleteInfoURL</H3>
-<PRE>
-public java.lang.String <B>getCompleteInfoURL</B>()</PRE>
-<DL>
-<DD>Returns the complete URL of this document in the info area:<br/>
- /{publication-id}/info-{area}{document-id}{language-suffix}.{extension}
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>A string.</DL>
-</DD>
-</DL>
-<HR>
-
<A NAME="getCanonicalDocumentURL()"><!-- --></A><H3>
getCanonicalDocumentURL</H3>
<PRE>
@@ -472,23 +514,6 @@
</DL>
<HR>
-<A NAME="getDublinCore()"><!-- --></A><H3>
-getDublinCore</H3>
-<PRE>
-public <A HREF="../../../../../org/apache/lenya/cms/metadata/dublincore/DublinCore.html" title="interface in org.apache.lenya.cms.metadata.dublincore">DublinCore</A> <B>getDublinCore</B>()</PRE>
-<DL>
-<DD>Returns the dublin core class for this document.
-<P>
-<DD><DL>
-</DL>
-</DD>
-<DD><DL>
-
-<DT><B>Returns:</B><DD>A DublinCore object.</DL>
-</DD>
-</DL>
-<HR>
-
<A NAME="getLanguage()"><!-- --></A><H3>
getLanguage</H3>
<PRE>
@@ -679,36 +704,35 @@
</DL>
<HR>
-<A NAME="getResourcesManager()"><!-- --></A><H3>
-getResourcesManager</H3>
+<A NAME="getSourceURI()"><!-- --></A><H3>
+getSourceURI</H3>
<PRE>
-public <A HREF="../../../../../org/apache/lenya/cms/publication/ResourcesManager.html" title="interface in org.apache.lenya.cms.publication">ResourcesManager</A> <B>getResourcesManager</B>()</PRE>
+public java.lang.String <B>getSourceURI</B>()</PRE>
<DL>
-<DD>Returns the resources manager for this document.
+<DD>Returns the URI to resolve the document's source.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
-<DT><B>Returns:</B><DD>A resources manager.</DL>
+<DT><B>Returns:</B><DD>A string.</DL>
</DD>
</DL>
<HR>
-<A NAME="getSourceURI()"><!-- --></A><H3>
-getSourceURI</H3>
+<A NAME="setSourceURI(java.lang.String)"><!-- --></A><H3>
+setSourceURI</H3>
<PRE>
-public java.lang.String <B>getSourceURI</B>()</PRE>
+public void <B>setSourceURI</B>(java.lang.String uri)</PRE>
<DL>
-<DD>Returns the URI to resolve the document's source.
+<DD>Setter for the URI to resolve the document's source.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
-
-<DT><B>Returns:</B><DD>A string.</DL>
+<DT><B>Parameters:</B><DD><CODE>uri</CODE> - URI</DL>
</DD>
</DL>
<HR>
@@ -730,6 +754,58 @@
<DD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/PublicationException.html" title="class in org.apache.lenya.cms.publication">PublicationException</A></CODE> - if an error occurs.</DL>
</DD>
</DL>
+<HR>
+
+<A NAME="delete()"><!-- --></A><H3>
+delete</H3>
+<PRE>
+public void <B>delete</B>()
+ throws <A HREF="../../../../../org/apache/lenya/cms/publication/DocumentException.html" title="class in org.apache.lenya.cms.publication">DocumentException</A></PRE>
+<DL>
+<DD>Deletes the document.
+<P>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/DocumentException.html" title="class in org.apache.lenya.cms.publication">DocumentException</A></CODE> - if an error occurs.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getRepositoryNodes()"><!-- --></A><H3>
+getRepositoryNodes</H3>
+<PRE>
+public <A HREF="../../../../../org/apache/lenya/cms/repository/Node.html" title="interface in org.apache.lenya.cms.repository">Node</A>[] <B>getRepositoryNodes</B>()</PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>The repository nodes that represent this document.</DL>
+</DD>
+</DL>
+<HR>
+
+<A NAME="getResourceType()"><!-- --></A><H3>
+getResourceType</H3>
+<PRE>
+public <A HREF="../../../../../org/apache/lenya/cms/publication/DocumentType.html" title="class in org.apache.lenya.cms.publication">DocumentType</A> <B>getResourceType</B>()
+ throws <A HREF="../../../../../org/apache/lenya/cms/publication/DocumentException.html" title="class in org.apache.lenya.cms.publication">DocumentException</A></PRE>
+<DL>
+<DD><DL>
+</DL>
+</DD>
+<DD><DL>
+
+<DT><B>Returns:</B><DD>The resource type of this document (formerly known as doctype)
+<DT><B>Throws:</B>
+<DD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/DocumentException.html" title="class in org.apache.lenya.cms.publication">DocumentException</A></CODE> - if an error occurs.</DL>
+</DD>
+</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
@@ -788,6 +864,6 @@
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
-Copyright © 1999-2004 Apache Software Foundation. All Rights Reserved.
+Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.
</BODY>
</HTML>
Modified: lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/DocumentBuildException.html
URL: http://svn.apache.org/viewcvs/lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/DocumentBuildException.html?rev=190217&r1=190216&r2=190217&view=diff
==============================================================================
--- lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/DocumentBuildException.html (original)
+++ lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/DocumentBuildException.html Sat Jun 11 22:02:21 2005
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.4.2) on Thu Mar 17 10:25:11 CET 2005 -->
+<!-- Generated by javadoc (build 1.4.2_07) on Sat Jun 11 17:51:06 EDT 2005 -->
<TITLE>
DocumentBuildException (Apache Lenya API - Version 1.4-dev)
</TITLE>
@@ -104,7 +104,7 @@
<P>
<DL>
<DT><B>Version:</B></DT>
- <DD>$Id: DocumentBuildException.java 123348 2004-12-25 22:49:57Z gregor $</DD>
+ <DD>$Id: DocumentBuildException.java 176415 2005-05-23 00:55:20Z gregor $</DD>
<DT><B>See Also:</B><DD><A HREF="../../../../../serialized-form.html#org.apache.lenya.cms.publication.DocumentBuildException">Serialized Form</A></DL>
<HR>
@@ -286,6 +286,6 @@
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
-Copyright © 1999-2004 Apache Software Foundation. All Rights Reserved.
+Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.
</BODY>
</HTML>
Modified: lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/DocumentBuilder.html
URL: http://svn.apache.org/viewcvs/lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/DocumentBuilder.html?rev=190217&r1=190216&r2=190217&view=diff
==============================================================================
--- lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/DocumentBuilder.html (original)
+++ lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/DocumentBuilder.html Sat Jun 11 22:02:21 2005
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.4.2) on Thu Mar 17 10:25:10 CET 2005 -->
+<!-- Generated by javadoc (build 1.4.2_07) on Sat Jun 11 17:50:55 EDT 2005 -->
<TITLE>
DocumentBuilder (Apache Lenya API - Version 1.4-dev)
</TITLE>
@@ -68,9 +68,9 @@
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
+DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
@@ -103,7 +103,22 @@
<!-- =========== FIELD SUMMARY =========== -->
+<A NAME="field_summary"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=2><FONT SIZE="+2">
+<B>Field Summary</B></FONT></TD>
+</TR>
+<TR BGCOLOR="white" CLASS="TableRowColor">
+<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
+<CODE>static java.lang.String</CODE></FONT></TD>
+<TD><CODE><B><A HREF="../../../../../org/apache/lenya/cms/publication/DocumentBuilder.html#ROLE">ROLE</A></B></CODE>
+<BR>
+ The Avalon role.</TD>
+</TR>
+</TABLE>
+
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
@@ -124,8 +139,8 @@
java.lang.String language)</CODE>
<BR>
- Builds an URL corresponding to a cms document from the publication,
- the area, the document id and the language</TD>
+ Builds an URL corresponding to a cms document from the publication, the area, the document id
+ and the language</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
@@ -152,6 +167,24 @@
<!-- ============ FIELD DETAIL =========== -->
+<A NAME="field_detail"><!-- --></A>
+<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
+<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
+<TD COLSPAN=1><FONT SIZE="+2">
+<B>Field Detail</B></FONT></TD>
+</TR>
+</TABLE>
+
+<A NAME="ROLE"><!-- --></A><H3>
+ROLE</H3>
+<PRE>
+public static final java.lang.String <B>ROLE</B></PRE>
+<DL>
+<DD>The Avalon role.
+<P>
+<DL>
+</DL>
+</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
@@ -177,7 +210,8 @@
<DD>Builds a document.
<P>
<DD><DL>
-<DT><B>Parameters:</B><DD><CODE>map</CODE> - The identity map the document belongs to.<DD><CODE>publication</CODE> - The publication.<DD><CODE>url</CODE> - The URL of the form /{publication-id}/{area}/{document-id}{language-suffix}.{extension}.
+<DT><B>Parameters:</B><DD><CODE>map</CODE> - The identity map the document belongs to.<DD><CODE>publication</CODE> - The publication.<DD><CODE>url</CODE> - The URL of the form
+ /{publication-id}/{area}/{document-id}{language-suffix}.{extension}.
<DT><B>Returns:</B><DD>A document.
<DT><B>Throws:</B>
<DD><CODE><A HREF="../../../../../org/apache/lenya/cms/publication/DocumentBuildException.html" title="class in org.apache.lenya.cms.publication">DocumentBuildException</A></CODE> - when something went wrong.</DL>
@@ -211,8 +245,8 @@
java.lang.String documentid,
java.lang.String language)</PRE>
<DL>
-<DD>Builds an URL corresponding to a cms document from the publication,
- the area, the document id and the language
+<DD>Builds an URL corresponding to a cms document from the publication, the area, the document id
+ and the language
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>publication</CODE> - The publication the document belongs to.<DD><CODE>area</CODE> - The area the document belongs to.<DD><CODE>documentid</CODE> - The document id of the document.<DD><CODE>language</CODE> - The language of the document.
@@ -268,15 +302,15 @@
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
- SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
+ SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
-DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
+DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
-Copyright © 1999-2004 Apache Software Foundation. All Rights Reserved.
+Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.
</BODY>
</HTML>
Modified: lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/DocumentDoesNotExistException.html
URL: http://svn.apache.org/viewcvs/lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/DocumentDoesNotExistException.html?rev=190217&r1=190216&r2=190217&view=diff
==============================================================================
--- lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/DocumentDoesNotExistException.html (original)
+++ lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/DocumentDoesNotExistException.html Sat Jun 11 22:02:21 2005
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.4.2) on Thu Mar 17 10:25:11 CET 2005 -->
+<!-- Generated by javadoc (build 1.4.2_07) on Sat Jun 11 17:51:06 EDT 2005 -->
<TITLE>
DocumentDoesNotExistException (Apache Lenya API - Version 1.4-dev)
</TITLE>
@@ -285,6 +285,6 @@
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
-Copyright © 1999-2004 Apache Software Foundation. All Rights Reserved.
+Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.
</BODY>
</HTML>
Modified: lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/DocumentException.html
URL: http://svn.apache.org/viewcvs/lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/DocumentException.html?rev=190217&r1=190216&r2=190217&view=diff
==============================================================================
--- lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/DocumentException.html (original)
+++ lenya/site/apidocs/1.4/org/apache/lenya/cms/publication/DocumentException.html Sat Jun 11 22:02:21 2005
@@ -2,7 +2,7 @@
<!--NewPage-->
<HTML>
<HEAD>
-<!-- Generated by javadoc (build 1.4.2) on Thu Mar 17 10:25:11 CET 2005 -->
+<!-- Generated by javadoc (build 1.4.2_07) on Sat Jun 11 17:51:06 EDT 2005 -->
<TITLE>
DocumentException (Apache Lenya API - Version 1.4-dev)
</TITLE>
@@ -287,6 +287,6 @@
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
-Copyright © 1999-2004 Apache Software Foundation. All Rights Reserved.
+Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.
</BODY>
</HTML>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org