com.wewebu.ow.server.app
Class OwJspFormConfigurator

java.lang.Object
  extended by com.wewebu.ow.server.app.OwJspFormConfigurator

public class OwJspFormConfigurator
extends Object

JspForm Configurator. Class to load and handle multiple JSP form configuration.

Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.

For licensing information read the license.txt file or
go to: http://wiki.alfresco.com

Since:
3.1.0.0

Constructor Summary
OwJspFormConfigurator(OwXMLUtil node_p)
          Create JSP Configurator based on plugin configuration.
OwJspFormConfigurator(String singleForm_p)
          Create JSP Configurator with a default jspForm for all object classes
 
Method Summary
 String getJspForm(String objectclassname_p)
          Get a JSP form depending on OwObjectClass name
 boolean isJspFormEnabled()
          JspForms configured.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OwJspFormConfigurator

public OwJspFormConfigurator(String singleForm_p)
Create JSP Configurator with a default jspForm for all object classes

Parameters:
singleForm_p - form path

OwJspFormConfigurator

public OwJspFormConfigurator(OwXMLUtil node_p)
                      throws Exception
Create JSP Configurator based on plugin configuration.

Parameters:
node_p - OwXMLUtil node to read configuration
Throws:
Exception - if problems occur while reading configuration
Method Detail

getJspForm

public String getJspForm(String objectclassname_p)
Get a JSP form depending on OwObjectClass name

Parameters:
objectclassname_p - OwObjectClass name
Returns:
String representing JSP path

isJspFormEnabled

public boolean isJspFormEnabled()
JspForms configured.

Returns:
boolean


Copyright © 2013 Alfresco Business Solutions. All Rights Reserved.