public interface PublicationController
| Modifier and Type | Method and Description |
|---|---|
CometBinary |
getBinaryFile(String fileId)
Returns a media that contains the requested file
|
CallProcessor |
getCometCallProcessor(String method)
Returns the CallProcessor that is registered for the given method
|
ElementlistProcessor |
getElementListProcessor(String method)
Returns the ElementlistProcessor that is registered for the given method
|
ListProcessor |
getListProcessor(String method)
Returns the ListProcessor that is registered for the given method
|
String |
getMessage(int messageCode)
Returns a (localized) (error)message for the given error code
|
void |
getNextHotfolder(String program,
int status,
int id)
Returns the next hotfolder that AutoComet shall observe for AutoCometJobs
|
AutoCometJob |
getNextJob(String program,
int status)
Returns the next AutoCometJob
|
CometProduct[] |
getProductList(Map<String,CometCondition> parameters)
Returns an Array of list entries that will be displayed in the Comet product tree.
|
void |
putBinaryFile(String fileId,
CometBinary file)
Stores the content of the given file
|
void |
setCallProcessors(Collection<CallProcessor> processors) |
void |
setDone(int id,
int status,
Date starttime,
Date endtime,
int exitValue)
Reports the end of the execution of an AutoCometJob
|
void |
setElementlistProcessors(Collection<ElementlistProcessor> processors) |
void |
setListProcessors(Collection<ListProcessor> processors) |
void |
setProductListProcessors(Collection<ProductListProcessor> processors) |
void |
setStart(int id,
Date starttime,
int status)
Reports the execution start of an AutoCometJob
|
void |
setStatus(int id,
int status)
Sets the current status of an AutoCometJob
|
CometProduct[] getProductList(Map<String,CometCondition> parameters) throws CometException
parameters - The search/request parametersCometException - If an error occurs while retrieving the product listListProcessor getListProcessor(String method) throws UnknownProcessorException
method - The name of the method for which to get an IListProcessorUnknownProcessorExceptionElementlistProcessor getElementListProcessor(String method) throws UnknownProcessorException
method - The name of the method for which to get an IElementlistProcessorUnknownProcessorExceptionCallProcessor getCometCallProcessor(String method) throws UnknownProcessorException
method - The name of the method for which to get an ICallProcessorUnknownProcessorExceptionCometBinary getBinaryFile(String fileId) throws CometException
fileId - The file name for which to get the contentCometException - If an error occurs while getting the filevoid putBinaryFile(String fileId, CometBinary file) throws CometException
fileId - The filename of related contentfile - The content that shall be storedCometException - If an error occurs while storing the fileString getMessage(int messageCode) throws CometException
messageCode - The code for which to get the respective messageCometException - If an error occurs while getting the messageAutoCometJob getNextJob(String program, int status) throws CometException
program - Unused (TODO: what is this?)status - Unused (TODO: what is this?)CometException - If an error occurs while getting the next jobvoid setStart(int id,
Date starttime,
int status)
throws CometException
id - The ID of the AutoCometJob that's execution has startedstarttime - The time, when the execution has startedstatus - The AutoCometJob's current statusCometException - If an error occurs while starting an AutoCometJobvoid setStatus(int id,
int status)
throws CometException
id - The ID of the AutoCometJob that's status becomes reportedstatus - The AutoCometJob's current statusCometException - If an error occurs while setting the status to an AutoCometJobvoid setDone(int id,
int status,
Date starttime,
Date endtime,
int exitValue)
throws CometException
id - The ID of the AutoCometJob that's execution has endedstatus - The AutoCometJob's current statusstarttime - The time, when the execution has startedendtime - The time, when the execution has endedexitValue - The result codeCometException - If an error occurs while finalize an AutoCometJobvoid getNextHotfolder(String program, int status, int id) throws CometException
program - Unused (TODO: what is this?)status - Unused (TODO: what is this?)id - Unused (TODO: what is this?)CometException - If an error occurs while getting the next hot foldervoid setCallProcessors(Collection<CallProcessor> processors)
void setListProcessors(Collection<ListProcessor> processors)
void setElementlistProcessors(Collection<ElementlistProcessor> processors)
void setProductListProcessors(Collection<ProductListProcessor> processors)
Copyright © 2017 SAP SE. All Rights Reserved.