Home > Contents > Index > 
OBJECT.ROLLBACK
Rolls back an object to a previous revision.
Syntax
<OBJECT.ROLLBACK CLASS="some class name" OBJECTTYPE="type of object" OBJECTID="id of object" [OBJECTVERSION="version of object"] REVISION="revision of object"/>Parameters
CLASS (required)- Classname of the object.
OBJECTTYPE (required)- Type of object.
OBJECTID(required)- ID of the object.
OBJECTVERSION (optional)- Version of the object.
REVISION (required)- Specifies the target revision number of the object for the rollback.
Description
This tag rolls back an object to a specified revision. The implementing class must implement a rollback method. The rollback method should have the following prototype:
public static int RollBack (ICS ics, String sObjectCatalog, Long 1Objectid Interger iObjectVersion, int iRevision)Error Numbers
The possible values of
errnoinclude:
Example
The following example rolls backs the
sampleobject to revision 1.<OBJECT.ROLLBACK CLASS="com.openmarket.framework.objects.AbstractObject" OBJECTTYPE="sample" OBJECTID="Variables.id"/> REVISION="1"/>See Also
Home > Contents > Index > 
Oracle XML Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.