|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.alertmgr.TWGUnpublish
TWGUnpublish is the base class for all unpublishing api's. This abstract base class is used as a container for those things that are common to all unpublish records. The family and qualifier strings are combined to create the event type. Version allows the publish database (in the event server) to be overwritten/updated.
Field Summary | |
---|---|
static int |
VERSION_ONE
|
Constructor Summary | |
---|---|
TWGUnpublish(IntelByteBuffer buf)
Constructor for interpreting a provided IntelByteBuffer. |
|
TWGUnpublish(IntelByteBuffer buf,
int off)
Constructor for interpreting a provided IntelByteBuffer at a given offset. |
|
TWGUnpublish(java.lang.String family,
java.lang.String[] qualifiers)
Constructor with default version. |
|
TWGUnpublish(java.lang.String family,
java.lang.String[] qualifiers,
int version)
Constructor. |
|
TWGUnpublish(TWGUnpublish unpub)
Copy Constructor. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Copy object. |
int |
getNumTypeQualifiers()
Get the number of qualifiers in the event type (not including family). |
java.lang.String |
getType()
Get the event type to which this publication in defined. |
java.lang.String |
getTypeFamily()
Get the highest level qualifier of the event type. |
int |
getTypeId()
Get type ID. |
java.lang.String[] |
getTypeQualifiers()
Get the array of event type qualifiers. |
int |
getVersion()
Get the version of the data being unpublished. |
void |
print()
Print the contents of the TWGUnpublish object. |
int |
readTWGUnpublish(IntelByteBuffer buf,
int off)
Method for interpreting a provided IntelByteBuffer at a given offset. |
void |
setVersion(int version)
Set the version of the data being unpublished. |
int |
sizeOf()
Determine the size of the entire TWGUnpublish object. |
static int |
sizeOfHdr()
Determine the size of the TWGUnpublish header. |
int |
sizeOfTWGUnpublish()
Determine the size of the entire TWGUnpublish object. |
IntelByteBuffer |
toIntelByteBuffer()
Convert the object into IntelByteBuffer representation. |
int |
writeIntelByteBuffer(IntelByteBuffer buf)
Write contents of this object into an IntelByteBuffer. |
int |
writeIntelByteBuffer(IntelByteBuffer buf,
int off)
Write contents of this object into provided IntelByteBuffer starting at a given offset. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int VERSION_ONE
Constructor Detail |
public TWGUnpublish(java.lang.String family, java.lang.String[] qualifiers, int version)
family
- String representing the highest level qualifier of the event typequalifiers
- Array of strings comprising the remainder of the event typeversion
- Version of data being unpublishedpublic TWGUnpublish(java.lang.String family, java.lang.String[] qualifiers)
family
- String representing the highest level qualifier of the event typequalifiers
- Array of strings comprising the remainder of the event typepublic TWGUnpublish(TWGUnpublish unpub)
unpub
- TWGUnpublish object to be copiedpublic TWGUnpublish(IntelByteBuffer buf)
buf
- IntelByteBuffer from which data should be readpublic TWGUnpublish(IntelByteBuffer buf, int off)
buf
- IntelByteBuffer from which data should be readoff
- offset from the current relative start of the provided IntelByteBufferMethod Detail |
public java.lang.Object clone()
public java.lang.String getType()
public int getNumTypeQualifiers()
public java.lang.String[] getTypeQualifiers()
public void setVersion(int version)
version
- version of data being unpublishedpublic int getVersion()
public java.lang.String getTypeFamily()
public IntelByteBuffer toIntelByteBuffer()
public int writeIntelByteBuffer(IntelByteBuffer buf)
buf
- IntelByteBuffer into which data should be written
public int writeIntelByteBuffer(IntelByteBuffer buf, int off)
buf
- IntelByteBuffer into which data should be writtenoff
- offset from the current relative start of the provided IntelByteBuffer
public int readTWGUnpublish(IntelByteBuffer buf, int off)
buf
- IntelByteBuffer from which data should be readoff
- offset from the current relative start of the provided IntelByteBuffer
public static int sizeOfHdr()
public int sizeOfTWGUnpublish()
public int sizeOf()
public void print()
public int getTypeId()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |