public interface PublicationClientChild
| Modifier and Type | Method and Description |
|---|---|
String |
getEntity()
Retrieve entity for which this child publishes.
|
String |
getETag()
Retrieve ETag used in last publish request.
|
void |
modifyPublication(String document,
String contentType,
String contentSubType,
int expires)
Modifies publication with passed document.
|
void |
newPublication(String entity,
String eventPackage,
String document,
String contentType,
String contentSubType,
int expires)
This method should be used to create new publication.
|
void |
removePublication()
Issues remove request.
|
void newPublication(String entity, String eventPackage, String document, String contentType, String contentSubType, int expires)
entity - - entity id handling this part of publication. AOR of
resource.eventPackage - - name of event package, ie: "publish"document - - encoded document, which should be sent for publicationcontentType - - main type of MIME typecontentSubType - - sub type of MIME typeexpires - - number of seconds for which publication should be active. If
its equal to 0, it means ESC/PA should determine expires
interval by itself.void modifyPublication(String document, String contentType, String contentSubType, int expires)
document - - encoded document, which should be sent for publicationcontentType - - main type of MIME typecontentSubType - - sub type of MIME typeexpires - - number of seconds for which publication should be activevoid removePublication()
String getEntity()
String getETag()
Copyright © 2017. All Rights Reserved.