Home > Contents > Index >
OBJECT.UNDOCHECKOUT
Retracts the checkout of an object.
Syntax
<OBJECT.UNDOCHECKOUT NAME="some object name" [REVERT="true or false"] [FLUSH="true or flase"]/>Parameters
NAME (required)
- Name of the object.
REVERT (optional)
- Specifies that the object should revert back to its last committed state. The default value
true
causes the object to revert back to its last committed state. Specifying the valuefalse
removes the checkout lock with out reverting the object back to the last committed state.
FLUSH (optional)
- Flushes the object from the object pool. A
true
value indicates the object should be flushed. The default value isfalse
.
Description
This tag is used for retracting a checkout made on an object in the Sites system. The object can be reverted to its last committed state, or have the checkout lock removed.
Error Numbers
The possible values of
errno
include:
Value Description -10004 A required parameter is missing. -10005 The requested object is not in the object pool (is not loaded intomemory). -10011 Database table is not revision tracked. -10012 Object is not checked out -10018 Unable to undo check out specified objectExample
The following example retracts the checkout for
object1
, reverts it to it the last committed state, and flushes it from memory.<OBJECT.UNDOCHECKOUT NAME="object1" REVERT="true" FLUSH="true"/>See Also
OBJECT.CHECKIN
OBJECT.CHECKOUT
Home > Contents > Index > Oracle XML Tag Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.