Home > Contents > Index > 
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index 
object:rollback
Rolls back an object to a previous revision.
Syntax
<object:rollback classname="some classname" objectype="type of object" objectid="ID of object" [objectversion="version of object"] revision="revision of object"/>Parameters
classname (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 roll back.
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 torevision1.<object:rollback classname="com.openmarket.framework.objects.AbstractObject" objecttype="sample" objectid='<%=ics.GetVar("id")%>' revison="1"/>See Also
Home > Contents > Index > 
Oracle JSP Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.