| org.kuali.module.gl.service.EnterpriseFeederNotificationService
All known Subclasses: org.kuali.module.gl.service.impl.EnterpriseFeederNotificationServiceImpl,
EnterpriseFeederNotificationService | public interface EnterpriseFeederNotificationService (Code) | | A service that is used to provide notification about the status of an enterprise feed. The implementation may use a variety of
other services to perform notification, ranging from simply logging data to sending emails, etc.
|
Method Summary | |
public String | getFileFeedStatusMessage(String feederProcessName, EnterpriseFeederStatus status, File doneFile, File dataFile, File reconFile, List<Message> errorMessages) Generates the status message that would be generated by a call to notifyFileFeedStatus with the same parameters. | public String | getFileFeedStatusMessage(String feederProcessName, EnterpriseFeederStatus status, String doneFileDescription, InputStream doneFileContents, String dataFileDescription, InputStream dataFileContents, String reconFileDescription, InputStream reconFileContents, List<Message> errorMessages) Generates the status message that would be generated by a call to notifyFileFeedStatus with the same parameters. | public void | notifyFileFeedStatus(String feederProcessName, EnterpriseFeederStatus status, File doneFile, File dataFile, File reconFile, List<Message> errorMessages) Performs notification about the status of the upload (i.e. | public void | notifyFileFeedStatus(String feederProcessName, EnterpriseFeederStatus status, String doneFileDescription, InputStream doneFileContents, String dataFileDescription, InputStream dataFileContents, String reconFileDescription, InputStream reconFileContents, List<Message> errorMessages) Performs notification about the status of the upload (i.e. |
getFileFeedStatusMessage | public String getFileFeedStatusMessage(String feederProcessName, EnterpriseFeederStatus status, File doneFile, File dataFile, File reconFile, List<Message> errorMessages)(Code) | | Generates the status message that would be generated by a call to notifyFileFeedStatus with the same parameters.
Parameters: feederProcessName - The name of the feeder process; this may correspond to the name of the Spring definition of thefeeder step, but each implementation may define how to use the value of this parameter and/or restrictions on itsvalue. Parameters: event - The event/status of the upload of the file set Parameters: doneFile - The done file Parameters: dataFile - The data file Parameters: reconFile - The recon file Parameters: errorMessages - Any error messages for which to provide notification |
getFileFeedStatusMessage | public String getFileFeedStatusMessage(String feederProcessName, EnterpriseFeederStatus status, String doneFileDescription, InputStream doneFileContents, String dataFileDescription, InputStream dataFileContents, String reconFileDescription, InputStream reconFileContents, List<Message> errorMessages)(Code) | | Generates the status message that would be generated by a call to notifyFileFeedStatus with the same parameters. NOTE:
the CALLER MUST CLOSE all of the input streams that are passed in. In addition, the input streams may be used by
implementations of this method, and no assumption about the state of the input streams should be made after this method
returns.
Parameters: feederProcessName - The name of the feeder process; this may correspond to the name of the Spring definition of thefeeder step, but each implementation may define how to use the value of this parameter and/or restrictions on itsvalue. Parameters: event - The event/status of the upload of the file set Parameters: doneFileDescription - The description of the done file to be output during notification Parameters: doneFileContents - An input stream for the contents of the done file. If the implementation does not require thecontents of the file, then null may be passed in. Parameters: dataFileDescription - The description of the done file to be output during notification Parameters: dataFileContents - An input stream for the contents of the data file. If the implementation does not require thecontents of the file, then null may be passed in. Parameters: reconFileDescription - The description of the done file to be output during notification Parameters: reconFileContents - An input stream for the contents of the recon file. If the implementation does not require thecontents of the file, then null may be passed in. Parameters: errorMessages - Any error messages for which to provide notification |
notifyFileFeedStatus | public void notifyFileFeedStatus(String feederProcessName, EnterpriseFeederStatus status, File doneFile, File dataFile, File reconFile, List<Message> errorMessages)(Code) | | Performs notification about the status of the upload (i.e. feeding) of a single file set (i.e. done file, data file, and
recon file).
Parameters: feederProcessName - The name of the feeder process; this may correspond to the name of the Spring definition of thefeeder step, but each implementation may define how to use the value of this parameter and/or restrictions on itsvalue. Parameters: event - The event/status of the upload of the file set Parameters: doneFile - The done file Parameters: dataFile - The data file Parameters: reconFile - The recon file Parameters: errorMessages - Any error messages for which to provide notification |
notifyFileFeedStatus | public void notifyFileFeedStatus(String feederProcessName, EnterpriseFeederStatus status, String doneFileDescription, InputStream doneFileContents, String dataFileDescription, InputStream dataFileContents, String reconFileDescription, InputStream reconFileContents, List<Message> errorMessages)(Code) | | Performs notification about the status of the upload (i.e. feeding) of a single file set (i.e. done file, data file, and
recon file). This method is useful when the file sets are not NOTE: the CALLER MUST CLOSE all of the input streams
that are passed in. In addition, the input streams may be used by implementations of this method, and no assumption about the
state of the input streams should be made after this method returns.
Parameters: feederProcessName - The name of the feeder process; this may correspond to the name of the Spring definition of thefeeder step, but each implementation may define how to use the value of this parameter and/or restrictions on itsvalue. Parameters: event - The event/status of the upload of the file set Parameters: doneFileDescription - The description of the done file to be output during notification Parameters: doneFileContents - An input stream for the contents of the done file. If the implementation does not require thecontents of the file, then null may be passed in. Parameters: dataFileDescription - The description of the done file to be output during notification Parameters: dataFileContents - An input stream for the contents of the data file. If the implementation does not require thecontents of the file, then null may be passed in. Parameters: reconFileDescription - The description of the done file to be output during notification Parameters: reconFileContents - An input stream for the contents of the recon file. If the implementation does not require thecontents of the file, then null may be passed in. Parameters: errorMessages - Any error messages for which to provide notification |
|
|