ostore.client
Class OSActionTruncate
java.lang.Object
|
+--ostore.client.OSAction
|
+--ostore.client.OSActionTruncate
- All Implemented Interfaces:
- QuickSerializable
- public class OSActionTruncate
- extends OSAction
The OSActionTruncate truncates a data object to
zero length.
- Version:
- $Id: OSActionTruncate.java,v 1.12 2002/07/20 19:38:01 srhea Exp $
- Author:
- Patrick R. Eaton
|
Field Summary |
static boolean |
DEBUG
|
DEBUG
public static final boolean DEBUG
- See Also:
- Constant Field Values
OSActionTruncate
public OSActionTruncate(SecureHash aguid)
- Creates a new
OSActionTruncate.
- Parameters:
aguid - the Aguid of the data object to modify
OSActionTruncate
public OSActionTruncate(InputBuffer buffer)
throws QSException
serialize
public void serialize(OutputBuffer buffer)
- Description copied from interface:
QuickSerializable
- Add the object to the
buffer.
- Specified by:
serialize in interface QuickSerializable- Overrides:
serialize in class OSAction
- Parameters:
buffer - the output buffer to add the object to
getTargetAguid
public SecureHash getTargetAguid()
- Returns the Aguid of the object that this update modifies.
- Specified by:
getTargetAguid in class OSAction
- Returns:
- the Aguid of the object that this update modifies
toString
public String toString()
- Specified by:
toString in class OSAction