|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wm.app.tn.util.TNFixedData
com.wm.app.tn.profile.Destination
public class Destination
A partner's destination that can be used to send documents to the partner.
Objects of this class contain data that appear on the Delivery Method and Security tabs in the TN Console.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.wm.app.tn.util.TNFixedData |
---|
com.wm.app.tn.util.TNFixedData.TreeCursor |
Constructor Summary | |
---|---|
Destination()
Creates a Destination. |
Method Summary | |
---|---|
static com.wm.data.IData |
create()
Creates a Destination. |
static java.lang.Object[][] |
destinationSchema()
|
java.lang.String |
getB2BIfc()
|
java.lang.String |
getB2BSvc()
|
byte[] |
getCustomData()
|
java.lang.String |
getCustomDataString()
|
java.lang.String |
getDestinationID()
|
java.lang.String |
getErrorTemplate()
for internal use only |
java.lang.String |
getHost()
|
int |
getID()
|
java.lang.String |
getLocation()
|
java.lang.String |
getName()
|
java.lang.String |
getNativeProtocol()
|
java.lang.String |
getPartnerID()
|
java.lang.String |
getPassword()
|
java.lang.String |
getPort()
|
java.lang.String |
getProtocol()
|
java.lang.String |
getProtocolDisplayName()
|
java.lang.String |
getUser()
|
boolean |
isEmail()
Does the Destination use the Email (SMTP) protocol? If the destination is a named delivery method, this will work correctly only if 'nativeProtocol' is set |
boolean |
isFTP()
Does the Destination use the FTP protocol? If the destination is a named delivery method, this will work correctly only if 'nativeProtocol' is set |
boolean |
isFTPS()
Does the Destination use the FTPS protocol? If the destination is a named delivery method, this will work correctly only if 'nativeProtocol' is set |
boolean |
isHTTP()
Does the Destination use the HTTP protocol? If the destination is a named delivery method, this will work correctly only if 'nativeProtocol' is set |
boolean |
isHTTPS()
Does the Destination use the HTTPS protocol? If the destination is a named delivery method, this will work correctly only if 'nativeProtocol' is set |
boolean |
isPrimary()
Is the Destination the primary one for it's protocol? If the destination is a named delivery method, this will work correctly only if 'nativeProtocol' is set |
boolean |
isWebService()
Does the Destination use WebService protocol? This method will return the correct value only if 'nativeProtocol' is set |
void |
setB2BIfc(java.lang.String s)
Sets the B2BInterface for DeliveryService |
void |
setB2BSvc(java.lang.String s)
Sets the B2BService for DeliveryService |
void |
setCustomData(byte[] ba)
Sets custom data that may be used by custom delivery methods. |
void |
setCustomDataString(java.lang.String ba)
Sets custom data that as Base64 String may be used by custom delivery methods. |
void |
setDestinationID(java.lang.String s)
for internal use only |
void |
setHost(java.lang.String s)
Sets the host that documents will be sent to using this Destination. |
void |
setIData(com.wm.data.IData data)
|
void |
setLocation(java.lang.String s)
Sets the location that documents will be sent to using this Destination. |
void |
setNativeProtocol(java.lang.String np)
Sets the native protocol(http, webservice, etc) , if the protocol refers to named delivery method. |
void |
setPartnerID(java.lang.String s)
Associates the Destination with a partner. |
void |
setPassword(java.lang.String s)
Sets the password that will be used to connect to the Destination when sending documents. |
void |
setPort(java.lang.String s)
Sets the port that documents will be sent to using this Destination. |
void |
setPrimary(boolean b)
Indicate whether this Destination is the primary one for the protocol |
void |
setProtocol(java.lang.String s)
Sets the protocol for the Destination |
void |
setUser(java.lang.String s)
Sets the username that will be used to connect to the Destination when sending documents. |
java.lang.String |
toString()
Default toString implementation returns class name followed by contents. |
Methods inherited from class com.wm.app.tn.util.TNFixedData |
---|
clone, dataSize, get, get, getCursor, getHashCursor, getIndexCursor, getKey, getSharedCursor, getTreeCursor, indexOf, merge, set, set |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Destination()
Method Detail |
---|
public static com.wm.data.IData create()
public static java.lang.Object[][] destinationSchema()
public final java.lang.String getName()
public final int getID()
getID
in interface FieldGroup
Constants
public final java.lang.String getDestinationID()
public final java.lang.String getPartnerID()
public final java.lang.String getProtocol()
public final java.lang.String getHost()
public final java.lang.String getPort()
public final java.lang.String getLocation()
public final java.lang.String getUser()
public final java.lang.String getPassword()
public final byte[] getCustomData()
public final java.lang.String getCustomDataString()
public final java.lang.String getNativeProtocol()
public final java.lang.String getB2BIfc()
public final java.lang.String getB2BSvc()
public final boolean isPrimary()
public final boolean isHTTP()
public final boolean isHTTPS()
public final boolean isFTP()
public final boolean isFTPS()
public final boolean isEmail()
public final boolean isWebService()
public final java.lang.String getProtocolDisplayName()
public final void setDestinationID(java.lang.String s)
public final void setPartnerID(java.lang.String s)
s
- the webMethods internal partner ID.public final void setProtocol(java.lang.String s)
s
- valid values are:
public final void setHost(java.lang.String s)
s
- a hostname or IP addresspublic final void setPort(java.lang.String s)
s
- a port numberpublic final void setLocation(java.lang.String s)
s
- the meaning of the parameter depends on the protocol:
public final void setUser(java.lang.String s)
s
- a usernamepublic final void setPassword(java.lang.String s)
s
- a usernamepublic final void setPrimary(boolean b)
b
- true if it is the primary Destination, otherwise falsepublic final void setCustomData(byte[] ba)
ba
- the custom datapublic final void setCustomDataString(java.lang.String ba)
ba
- the custom datapublic final void setNativeProtocol(java.lang.String np)
np
- native protocolpublic final void setB2BIfc(java.lang.String s)
s
- a B2BInterfacepublic final void setB2BSvc(java.lang.String s)
s
- a B2BServicepublic final java.lang.String toString()
com.wm.app.tn.util.TNFixedData
toString
in class com.wm.app.tn.util.TNFixedData
public final java.lang.String getErrorTemplate()
FieldGroup
getErrorTemplate
in interface FieldGroup
public void setIData(com.wm.data.IData data)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |