|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.web.forms.FormImpl
public class FormImpl
Constructor Summary | |
---|---|
protected |
FormImpl(org.alfresco.service.cmr.repository.NodeRef folderNodeRef,
FormsService formsService)
|
Method Summary | |
---|---|
void |
addRenderingEngineTemplate(RenderingEngineTemplate ret)
adds an output method to this template type. |
boolean |
equals(java.lang.Object other)
|
org.alfresco.service.cmr.workflow.WorkflowDefinition |
getDefaultWorkflow()
|
protected org.alfresco.service.cmr.repository.NodeRef |
getDefaultWorkflowNodeRef()
|
java.util.Map |
getDefaultWorkflowParameters()
|
java.lang.String |
getDescription()
the description of the form |
java.util.List |
getFormProcessors()
Provides a set of input methods for this template. |
protected FormsService |
getFormsService()
|
java.lang.String |
getName()
the name of the form, which must be unique within the FormsService |
org.alfresco.service.cmr.repository.NodeRef |
getNodeRef()
|
java.lang.String |
getOutputPathForFormInstanceData(org.w3c.dom.Document formInstanceData,
java.lang.String formInstanceDataName,
java.lang.String parentAVMPath,
java.lang.String webappName)
provides the output path for the form instance data based on the configured output path pattern. |
java.lang.String |
getOutputPathPattern()
the output path pattern for form instance data |
RenderingEngineTemplate |
getRenderingEngineTemplate(java.lang.String name)
Provides the rendering engine template by name. |
java.util.List |
getRenderingEngineTemplates()
Provides the set of output methods for this template. |
org.w3c.dom.Document |
getSchema()
the xml schema for this template type |
java.lang.String |
getSchemaRootElementName()
the root tag to use within the schema |
protected org.alfresco.service.ServiceRegistry |
getServiceRegistry()
|
java.lang.String |
getTitle()
the title of the form |
int |
hashCode()
|
boolean |
isWebForm()
|
protected java.util.Map |
loadRenderingEngineTemplates()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected FormImpl(org.alfresco.service.cmr.repository.NodeRef folderNodeRef, FormsService formsService)
Method Detail |
---|
protected FormsService getFormsService()
public java.lang.String getName()
Form
getName
in interface Form
public java.lang.String getTitle()
Form
getTitle
in interface Form
public java.lang.String getDescription()
Form
getDescription
in interface Form
public java.lang.String getOutputPathPattern()
Form
getOutputPathPattern
in interface Form
public org.alfresco.service.cmr.workflow.WorkflowDefinition getDefaultWorkflow()
getDefaultWorkflow
in interface Form
public java.util.Map getDefaultWorkflowParameters()
getDefaultWorkflowParameters
in interface Form
protected org.alfresco.service.cmr.repository.NodeRef getDefaultWorkflowNodeRef()
public java.lang.String getOutputPathForFormInstanceData(org.w3c.dom.Document formInstanceData, java.lang.String formInstanceDataName, java.lang.String parentAVMPath, java.lang.String webappName)
Form
getOutputPathForFormInstanceData
in interface Form
formInstanceData
- the parsed xml contentformInstanceDataName
- the file name provided by the user.parentAVMPath
- the parent avm pathwebappName
- the current webapp name
public java.lang.String getSchemaRootElementName()
Form
getSchemaRootElementName
in interface Form
public org.w3c.dom.Document getSchema() throws java.io.IOException, org.xml.sax.SAXException
Form
getSchema
in interface Form
java.io.IOException
org.xml.sax.SAXException
public java.util.List getFormProcessors()
Form
getFormProcessors
in interface Form
public void addRenderingEngineTemplate(RenderingEngineTemplate ret)
Form
addRenderingEngineTemplate
in interface Form
public java.util.List getRenderingEngineTemplates()
Form
getRenderingEngineTemplates
in interface Form
public RenderingEngineTemplate getRenderingEngineTemplate(java.lang.String name)
Form
getRenderingEngineTemplate
in interface Form
name
- the name of the rendering engine template.
public org.alfresco.service.cmr.repository.NodeRef getNodeRef()
public boolean isWebForm()
isWebForm
in interface Form
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
protected org.alfresco.service.ServiceRegistry getServiceRegistry()
protected java.util.Map loadRenderingEngineTemplates()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |