AdminData

abstract class AdminData extends KVPairData

The AdminData is

Author:Twinsen Tsang

Fields

CONFIG_KEY_SET

public static final String[] CONFIG_KEY_SET

This is the configuration key set for XML serialization / de-serialization.

PARAM_KEY_SET

public static final String[] PARAM_KEY_SET

For consistent, used for DataFactory.createEBMSAdminDataFromXML(hk.hku.cecid.piazza.commons.util.PropertyTree)

Constructors

AdminData

public AdminData(int maxCapacity)

Default constructor.

Methods

getEnvelopQueryEndpoint

public String getEnvelopQueryEndpoint()
Returns:The end-point for query the message envelop of EBMS partnership.

getManagePartnershipEndpoint

public String getManagePartnershipEndpoint()
Returns:The end-point for managing the set of EBMS partnership.

getMessageBoxCriteria

public String getMessageBoxCriteria()

[USED ONLY BY EnvelopQuerySender]

Returns:the message box acting as the criteria for search the message envelop.

getMessageIdCriteria

public String getMessageIdCriteria()

[USED ONLY BY EnvelopQuerySender]

Returns:the message id acting as the criteria for search the message envelop.

getPartnershipOperation

public int getPartnershipOperation()

[USED ONLY BY PartnershipSender]

Throws:
Returns:

The partnership operation you have set, either 0, 1, 2.

getPassword

public char[] getPassword()
Returns:The password for authenticate the administrator page.

getUsername

public String getUsername()
Returns:The user name for authenticate administrator page.

setEnvelopQueryEndpoint

public void setEnvelopQueryEndpoint(String envelopQueryEndpoint)

Set the end-point for query the message envelop of EBMS partnership.

Parameters:
  • envelopQueryEndpoint – The end-point for query the message envelop of EBMS partnership.

setManagePartnershipEndpoint

public void setManagePartnershipEndpoint(String manPartnershipEndpoint)

Set the end-point for managing the set of EBMS partnership.

Parameters:
  • manPartnershipEndpoint – The end-point for managing the set of EBMS partnership.

setMessageBoxCriteria

public void setMessageBoxCriteria(String messageBox)

[USED ONLY BY EnvelopQuerySender] Set the message box acting as the criteria for search the message envelop.

Parameters:
  • messageBox – the message box acting as the criteria for search the message envelop.

setMessageIdCriteria

public void setMessageIdCriteria(String messageId)

[USED ONLY BY EnvelopQuerySender] Set the message id acting as the criteria for search the message envelop.

Parameters:
  • messageId – the message id acting as the criteria for search the message envelop.

setPartnershipOperation

public void setPartnershipOperation(int pOp)

[USED ONLY BY PartnershipSender]

Parameters:
  • pOp – The partnership operation you want to set, either 0, 1, 2.

See also: hk.hku.cecid.corvus.http.PartnershipOp, hk.hku.cecid.corvus.http.EBMSPartnershipSender

setPassword

public void setPassword(String password)
Parameters:
  • password – the password for authenticate administrator page

setUsername

public void setUsername(String username)
Parameters:
  • username – The user name for authenticate administrator page.