com.sapportals.wcm.service.xmlforms

Interface IXMLFormsService

All Superinterfaces:
IService

Deprecated. use IXFService, IXFProject and IXFTransformation instead

public interface IXMLFormsService
extends IService

Copyright 2004 SAP AG


Field Summary
static String GLOBAL_CONFIG_PRO_ALLOW_HTML
          Deprecated.  
static String GLOBAL_CONFIG_PRO_FORMS_PATH
          Deprecated.  
static String GLOBAL_CONFIG_PRO_XFBUILDER_HELP
          Deprecated.  
static String GLOBAL_CONFIG_PRO_XMLFORMS_HOME
          Deprecated.  
 
Method Summary
 boolean checkGlobalResourceFile(String name)
          Deprecated. Check if a global resource file exists for a given language.
 String getDefaultDisplayWindowOpenParameters(String prjId)
          Deprecated. Get parameters for JavaScript window.open call for the default display form
 String getDefaultEditWindowOpenParameters(String prjId)
          Deprecated. Get parameters for JavaScript window.open call for the default edit form
 InputStream getFormCreat(String FormType, IResourceContext context)
          Deprecated. Get a form to create a new resource of the appropriate type
 InputStream getFormDisplay(String FormType, IResource resource)
          Deprecated. Get an display forms from the xmlforms framework
 String getFormDisplayName(String prjId, String form, Locale locale)
          Deprecated. Finds the localized display name of a form.
 InputStream getFormEdit(String FormType, IResource resource)
          Deprecated. Get an edit forms from the xmlforms framework
 String getFormTypeFromResource(IResource res)
          Deprecated. Get from id from resource type
 HashMap getFormTypes()
          Deprecated. Get all defined form IDs from the xmlforms framework
 HashMap getFormTypes(IResource collection)
          Deprecated. Get defined form IDs from the xmlforms framework
 String getGlobalConfigProperty(String paramKey)
          Deprecated. Gets a global parameter of the xml forms framework or xfbuilder from the cm configuration
 String getProjectDisplayName(String prjId, Locale locale)
          Deprecated. Finds the localized display name of a project.
 String getWindowOpenParameters(String prjId, String form)
          Deprecated. Get parameters for JavaScript window.open call
 IXMLFormManager getXMLFormManager()
          Deprecated. Get the native xml forms framework form manager
 Date getXSLLastModified(String ProjectID, String XSLName)
          Deprecated. return modification date of a transformation of a given project
 void invalidateResourceBundles(String prjId)
          Deprecated. Invalidate the ResourceBundle cache for a project, i.e. all entries in the cache for that project with any Locale will be deleted.
 boolean isApplicable(IResource res)
          Deprecated. check if applicabel on resource
 boolean isHTMLFragment(String prjId, String form, String tmpDir)
          Deprecated. Returns, whether a form is only a HTML fragment or a full HTML page
 boolean isXSLModified(String ProjectID, String XSLName)
          Deprecated. check if a transformation of a given project has been modified
 void reloadAllFormTypes()
          Deprecated. reload all defined form IDs from the xmlforms framework this can be used by the XL Forms Builder or a repository to update the IDs collection when new porjects have been created, or old projects have been deleted if a project name is supplied, reload is only done if the project is not already known
 void reloadAllFormTypes(String NewProject)
          Deprecated.  
 
Methods inherited from interface com.sapportals.wcm.service.IService
getDescription, getDescription, getID
 

Field Detail

GLOBAL_CONFIG_PRO_XMLFORMS_HOME

public static final String GLOBAL_CONFIG_PRO_XMLFORMS_HOME
Deprecated. 
See Also:
Constant Field Values

GLOBAL_CONFIG_PRO_XFBUILDER_HELP

public static final String GLOBAL_CONFIG_PRO_XFBUILDER_HELP
Deprecated. 
See Also:
Constant Field Values

GLOBAL_CONFIG_PRO_FORMS_PATH

public static final String GLOBAL_CONFIG_PRO_FORMS_PATH
Deprecated. 
See Also:
Constant Field Values

GLOBAL_CONFIG_PRO_ALLOW_HTML

public static final String GLOBAL_CONFIG_PRO_ALLOW_HTML
Deprecated. 
See Also:
Constant Field Values
Method Detail

getXMLFormManager

public IXMLFormManager getXMLFormManager()
                                  throws Exception
Deprecated. 
Get the native xml forms framework form manager

Returns:
xml forms manager
Throws:
Exception

getFormTypeFromResource

public String getFormTypeFromResource(IResource res)
                               throws WcmException
Deprecated. 
Get from id from resource type

Returns:
collection of strings of the form ids
Throws:
WcmException

getFormTypes

public HashMap getFormTypes()
                     throws WcmException
Deprecated. 
Get all defined form IDs from the xmlforms framework

Returns:
collection of strings of the form ids
Throws:
WcmException

getFormTypes

public HashMap getFormTypes(IResource collection)
                     throws WcmException
Deprecated. 
Get defined form IDs from the xmlforms framework

Returns:
collection of strings of the form ids
Throws:
WcmException

reloadAllFormTypes

public void reloadAllFormTypes()
                        throws WcmException
Deprecated. 
reload all defined form IDs from the xmlforms framework this can be used by the XL Forms Builder or a repository to update the IDs collection when new porjects have been created, or old projects have been deleted if a project name is supplied, reload is only done if the project is not already known

Throws:
WcmException

reloadAllFormTypes

public void reloadAllFormTypes(String NewProject)
                        throws WcmException
Deprecated. 
Throws:
WcmException

isApplicable

public boolean isApplicable(IResource res)
                     throws WcmException
Deprecated. 
check if applicabel on resource

Parameters:
res - resource to check
Returns:
true if aplicable
Throws:
WcmException

getFormCreat

public InputStream getFormCreat(String FormType,
                                IResourceContext context)
                         throws Exception
Deprecated. 
Get a form to create a new resource of the appropriate type

Parameters:
FormType - id of the form to be generated
Returns:
input stream of the rendered form
Throws:
Exception

getFormDisplay

public InputStream getFormDisplay(String FormType,
                                  IResource resource)
                           throws Exception
Deprecated. 
Get an display forms from the xmlforms framework

Parameters:
FormType - id of the form to be generated
Returns:
collection of strings of the form ids
Throws:
Exception

getFormEdit

public InputStream getFormEdit(String FormType,
                               IResource resource)
                        throws Exception
Deprecated. 
Get an edit forms from the xmlforms framework

Parameters:
FormType - id of the form to be generated
Returns:
collection of strings of the form ids
Throws:
Exception

getWindowOpenParameters

public String getWindowOpenParameters(String prjId,
                                      String form)
Deprecated. 
Get parameters for JavaScript window.open call

Parameters:
prjId - the project id
form - the form name
Returns:
the JavaScript parameters as a comma-separated list of key value pairs

getDefaultEditWindowOpenParameters

public String getDefaultEditWindowOpenParameters(String prjId)
Deprecated. 
Get parameters for JavaScript window.open call for the default edit form

Parameters:
prjId - the project id
Returns:
the JavaScript parameters as a comma-separated list of key value pairs

getDefaultDisplayWindowOpenParameters

public String getDefaultDisplayWindowOpenParameters(String prjId)
Deprecated. 
Get parameters for JavaScript window.open call for the default display form

Parameters:
prjId - the project id
Returns:
the JavaScript parameters as a comma-separated list of key value pairs

isHTMLFragment

public boolean isHTMLFragment(String prjId,
                              String form,
                              String tmpDir)
Deprecated. 
Returns, whether a form is only a HTML fragment or a full HTML page

Parameters:
prjId - the project id
form - the form name
Returns:
true, if the form is a full HTML page, false otherwise

getProjectDisplayName

public String getProjectDisplayName(String prjId,
                                    Locale locale)
Deprecated. 
Finds the localized display name of a project.

Parameters:
prjId - the ID of the project, for which the display name is requested
locale - the Locale to use
Returns:
the localized display name from the ResourceBundle of the project, or null, if the ResourceBundle cannot be loaded, or it contains no display name.

getFormDisplayName

public String getFormDisplayName(String prjId,
                                 String form,
                                 Locale locale)
Deprecated. 
Finds the localized display name of a form.

Parameters:
prjId - the ID of the project, for which the display name is requested
form - the form, for which the display name is requested (e.g. RenderListItem.xsl)
locale - the Locale to use
Returns:
the localized display name from the ResourceBundle of the project, or null, if the ResourceBundle cannot be loaded, or it contains no display name for the form.

invalidateResourceBundles

public void invalidateResourceBundles(String prjId)
Deprecated. 
Invalidate the ResourceBundle cache for a project, i.e. all entries in the cache for that project with any Locale will be deleted.

Parameters:
prjId - the ID of the project, for which ResourceBundles have changed. If prjId is null, the complete cache will be invalidated.

getGlobalConfigProperty

public String getGlobalConfigProperty(String paramKey)
Deprecated. 
Gets a global parameter of the xml forms framework or xfbuilder from the cm configuration

Parameters:
paramKey - Key of the parameter to retive
Returns:
value of the required paramater.

isXSLModified

public boolean isXSLModified(String ProjectID,
                             String XSLName)
Deprecated. 
check if a transformation of a given project has been modified

Parameters:
ProjectID - xml forms project id e.g. "SAP_DemoNews"
XSLName - xml forms xsl name e.g. "SAP_DemoNewsShow.xsl"
Returns:
true if the XSL has been modified

getXSLLastModified

public Date getXSLLastModified(String ProjectID,
                               String XSLName)
Deprecated. 
return modification date of a transformation of a given project

Parameters:
ProjectID - xml forms project id e.g. "SAP_DemoNews"
XSLName - xml forms xsl name e.g. "SAP_DemoNewsShow.xsl"
Returns:
modification date of the XSL or null if the XSL does not exists or is not accessible

checkGlobalResourceFile

public boolean checkGlobalResourceFile(String name)
Deprecated. 
Check if a global resource file exists for a given language.

Parameters:
name - name of the global resource file e.g. gloabalresource_en.xml
Returns:
true if the file exists, false otherwise


Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary. These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.