Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
object:deleterevision
Deletes a revision.
Syntax
<object:deleterevision classname="classname" objectype="object type" objectid="object ID" objectversion="object version"/>Parameters
classname (required)
- Specifies the full name of the implementing class.
objecttype (required)
- Type of object to be deleted.
objectid (required)
- Content Server ID of the object to be deleted.
objectversion (required)
- Version of the object to be deleted.
Description
This tag deletes an existing revision of an object in the revision tracking system.
Error Numbers
Value Description -10001 The implementing class is invalid. -10004 A required parameter is missing. -10005 The requested object is not in the object pool (is not loaded intomemory). -10006 The object ID is not valid. -10007 The version of the object is not valid. -10011 Database table is not revision tracked.Example
The following example deletes revision 3 of an object from the revision tracking system.
<object:deleterevision classname="com.openmarket.framework.objects.AbstractObject" objecttype"sample" objectid='<%=ics.GetVar("id")%>' objectversion="3"/>
Home > Contents > Index > ![]()
FatWire JSP Tag Reference
Copyright 2005,2006,2007,2008 by FatWire Corporation
All rights reserved.