com.sapportals.wcm.service.xmlforms
Interface ISaveResult
- public interface ISaveResult
The result of a IXFProject.saveItem() call. It contains information, whether the operation was
successfull, and which errors occured.
Copyright 2004 SAP AG
|
Field Summary |
static int |
OK
Constant representing a successfull operation |
static int |
POST_FAILED
Constant representing an operation, that failed because of property errors during post |
static int |
VALIDATION_FAILED
Constant representing an operation, that failed because of validation errors |
OK
public static final int OK
- Constant representing a successfull operation
- See Also:
- Constant Field Values
VALIDATION_FAILED
public static final int VALIDATION_FAILED
- Constant representing an operation, that failed because of validation errors
- See Also:
- Constant Field Values
POST_FAILED
public static final int POST_FAILED
- Constant representing an operation, that failed because of property errors during post
- See Also:
- Constant Field Values
getState
public int getState()
- Gets the state of the save operation
- Returns:
- one of the constants
OK, VALIDATION_FAILED or POST_FAILED
getErrorCount
public int getErrorCount()
- Gets the number of total errors, which is the sum of schema errors and property errors
- Returns:
- the number of errors
getSchemaErrorCount
public int getSchemaErrorCount()
- Gets the number of schema validation errors
- Returns:
- the number of schema validation errors
getPropertyErrorCount
public int getPropertyErrorCount()
- Gets the number of property validation errors
- Returns:
- the number of property validation errors
getSchemaErrors
public SchemaValidationError[] getSchemaErrors()
- Gets detailed inforamation about the schema validation errors
- Returns:
- an array of
SchemaValidationError, if schema validation was successfull
getPropertyErrors
public PropertyValidationError[] getPropertyErrors()
- Gets detailed inforamation about the property validation errors
- Returns:
- an array of
PropertyValidationError, if property validation was successfull
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.