public class SomQmgrFilter
extends java.lang.Object
Constructor and Description |
---|
SomQmgrFilter()
Create a new empty Filter object
|
Modifier and Type | Method and Description |
---|---|
void |
addChannel(java.lang.String value)
Add a channel name attribute to the Filter
|
void |
addContentType(java.lang.String value)
Add a Content Type attribute to the Filter
|
void |
addEarlierThan(java.lang.String value)
Add a "older than" attribute to the Filter
|
void |
addEit(java.lang.String value)
Add an Encoded Information Type attribute to the Filter
|
void |
addMaxSize(java.lang.Integer value)
Add a maximum size attribute to the Filter
|
void |
addMoreRecentThan(java.lang.String value)
Add a "newer than" attribute to the Filter
|
void |
addMpduId(java.lang.String value)
Add a Message Identifier attribute to the Filter
|
void |
addOriginator(java.lang.String value)
Add an originator address attribute to the Filter
|
void |
addPriority(java.lang.Integer value)
Add a Priority attribute to the Filter
|
void |
addQueueId(java.lang.String value)
Add a queue id attribute to the Filter
|
void |
addRecipient(java.lang.String value)
Add a recipient address attribute to the Filter
|
void |
addRecipientState(java.lang.String value)
Add a recipient state selector attribute to the Filter
|
void |
addUniqueId(java.lang.String value)
Add a Unique Identifier attribute to the Filter
|
SomQmgrFilter |
chain(SomQmgrFilter newone)
Change a this Filter object on to another one
|
java.lang.String |
print()
Generate the string representation of a Filter, suitable for
inclusion in a SOM command string.
|
public SomQmgrFilter chain(SomQmgrFilter newone)
newone
- Filter object onto which we should chain this onepublic void addContentType(java.lang.String value)
value
- Content type value - e.g. "p22".public void addEit(java.lang.String value)
value
- EIT value - e.g. "ia5".public void addMoreRecentThan(java.lang.String value)
value
- UTCTime stringpublic void addEarlierThan(java.lang.String value)
value
- UTCTime stringpublic void addOriginator(java.lang.String value)
value
- Originator address in string encodingpublic void addRecipient(java.lang.String value)
value
- Recipient address in string encodingpublic void addRecipientState(java.lang.String value)
value
- Recipient state in string encodingpublic void addChannel(java.lang.String value)
value
- Channel namepublic void addQueueId(java.lang.String value)
value
- Queue id of message - e.g. "msg.12345-0"public void addMpduId(java.lang.String value)
value
- Message Id in string encodingpublic void addUniqueId(java.lang.String value)
value
- Message Unique Identifierpublic void addPriority(java.lang.Integer value)
value
- Priority valuepublic void addMaxSize(java.lang.Integer value)
value
- Message maximum size in bytespublic java.lang.String print() throws SomException
SomException
- on errorVersion: 18.0v6-0
Copyright (c) 2017-2020 Isode