public class BinaryFactory extends Object
Constructor and Description |
---|
BinaryFactory() |
Modifier and Type | Method and Description |
---|---|
BinaryData |
getBinary(int publicationId,
int binaryId)
Gets from the Broker storage the default binary (with empty variantId) from a given
publication and with a certain binaryId.
|
BinaryData |
getBinary(int publicationId,
int binaryId,
String variantId)
Gets from the Broker storage the binary in a certain publication, with a given binaryId and
a given variantId.
|
BinaryData |
getBinary(String binaryURI)
Gets from the Broker storage the default binary (with empty variantId) that has the given uri.
|
BinaryData |
getBinary(String binaryURI,
String variantId)
Gets from the Broker storage the binary that has the given uri and the given variantId.
|
public BinaryData getBinary(String binaryURI)
binaryURI
- The uri of the default binary to get.public BinaryData getBinary(String binaryURI, String variantId)
binaryURI
- The uri of the binary to get.variantId
- The variant of the binary that we're searching for.public BinaryData getBinary(int publicationId, int binaryId)
publicationId
- The publication id in which the binary is.binaryId
- The id of the default binary that we're searching for.public BinaryData getBinary(int publicationId, int binaryId, String variantId)
publicationId
- The publication id in which the binary is.binaryId
- The id of the binary that we're searching for.variantId
- The variant of the binary that we're searching for.Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries