|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.lenya.cms.ant.PublicationTask
org.apache.lenya.cms.ant.SetIdentifier
public class SetIdentifier
anttask to set the document-id in the dc:identifier of all existing files corresponding to this document-id
| Field Summary |
|---|
| Fields inherited from class org.apache.tools.ant.Task |
|---|
description, location, target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
project |
| Constructor Summary | |
|---|---|
SetIdentifier()
|
|
| Method Summary | |
|---|---|
void |
execute()
|
java.lang.String |
getArea()
|
java.lang.String |
getDocumentid()
|
void |
setArea(java.lang.String string)
|
void |
setDocumentid(java.lang.String string)
|
void |
writeDCIdentifier(Publication publication,
java.lang.String url)
write the document id in the DC Identifier of a document corresponding to this url |
| Methods inherited from class org.apache.lenya.cms.ant.PublicationTask |
|---|
assertString, getContextPrefix, getPublication, getPublicationDirectory, getPublicationId, getServletContext |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
getProject, setProject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SetIdentifier()
| Method Detail |
|---|
public java.lang.String getArea()
public java.lang.String getDocumentid()
public void setArea(java.lang.String string)
string - The area.public void setDocumentid(java.lang.String string)
string - The document-id.
public void writeDCIdentifier(Publication publication,
java.lang.String url)
throws DocumentBuildException,
DocumentException
publication - The publication the document belongs to.url - The URL of the form /{publication-id}/...
DocumentBuildException - when something went wrong when building the cms document.
DocumentException - when something went wrong when getting the DublinCore.
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionTask.execute()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||