|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lenya.cms.publication.DocumentType
public class DocumentType
A document type.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_PREFIX
|
static java.lang.String |
NAMESPACE
|
Constructor Summary | |
---|---|
protected |
DocumentType(java.lang.String name)
Creates a new instance of DocumentType |
Method Summary | |
---|---|
ParentChildCreatorInterface |
getCreator()
Get the creator for this document type. |
java.lang.String |
getName()
Returns the name of this document type. |
java.lang.String |
getWorkflowFileName()
Get the file name of the workflow file. |
boolean |
hasWorkflow()
Returns if this document type has a workflow definition. |
protected void |
setCreator(ParentChildCreatorInterface creator)
Set the creator |
void |
setWorkflowFileName(java.lang.String string)
Set the file name of the workflow file. |
java.lang.String |
toString()
(non-Javadoc) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String NAMESPACE
public static final java.lang.String DEFAULT_PREFIX
Constructor Detail |
---|
protected DocumentType(java.lang.String name)
name
- the name of the document typeMethod Detail |
---|
public java.lang.String getName()
public ParentChildCreatorInterface getCreator()
ParentChildCreatorInterface
protected void setCreator(ParentChildCreatorInterface creator)
creator
- a ParentChildCreatorInterface
public boolean hasWorkflow()
public java.lang.String getWorkflowFileName() throws DocumentTypeBuildException
String
DocumentTypeBuildException
- if the document type has no workflowpublic void setWorkflowFileName(java.lang.String string)
string
- the new file namepublic java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |