public class BinaryFactoryImpl extends BaseFactory implements BinaryFactory
processors| Modifier | Constructor and Description |
|---|---|
protected |
BinaryFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
Binary |
getBinaryByURI(String tcmUri)
Get a binary by the tcmUri.
|
Binary |
getBinaryByURL(String url,
int publicationId)
Get a binary by the url and publicationId.
|
void |
setBinaryProvider(BinaryProvider binaryProvider) |
void |
setCacheProvider(PayloadCacheProvider cacheAgent)
Set the cache agent.
|
executeProcessors, getProcessors, setProcessorsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteProcessorsgetProcessors, setProcessorspublic Binary getBinaryByURI(String tcmUri) throws FactoryException
getBinaryByURI in interface BinaryFactorytcmUri - String representing the TCMURI of the binary to retrieveFactoryExceptionpublic Binary getBinaryByURL(String url, int publicationId) throws FactoryException
getBinaryByURL in interface BinaryFactoryurl - String representing the path part of the binary URLpublicationId - int representing the Publication context idFactoryExceptionpublic void setCacheProvider(PayloadCacheProvider cacheAgent)
BaseFactorysetCacheProvider in interface FactorysetCacheProvider in class BaseFactorypublic void setBinaryProvider(BinaryProvider binaryProvider)
Copyright © 2017. All rights reserved.