Home > Contents > Index >
Template Tag TOC  |   Alpha TOC  |   Tag Family TOC  |   Purpose TOC  |   Annotated TOC  |   Index 

 

OBJECT.ROLLBACK

Rolls back an object to a previous revision.

Syntax

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:

Error Numbers

The possible values of errno include:

Value
Description
-10001
The implementing class is invalid.
-10002
There is a missing method for the implementing class.
-10003
The method could not be invoked successfully.
-10004
A required parameter is missing.
-10006
The object ID is not valid.
-10007
The version of the object is not valid.
-10011
Table is not revision tracked
-10012
Object is not checked out
-10017
Unable to rollback specified object
-10019
Table is not an object table.

Example

The following example rolls backs the sample object to revision 1.

See Also

OBJECT.TRACK
OBJECT.SAVE

  Home > Contents > Index >

Oracle XML Tag Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.