public class DefaultNotesArchivingStrategy extends Object implements NotesArchivingStrategy
| Constructor and Description |
|---|
DefaultNotesArchivingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
archiveNotes(CometBinary file)
Archives the given
CometBinary, which contains the content of the pushed
Notes XML file and its filename. |
boolean |
checkPrecondition(CometBinary file)
Checks if the given
CometBinary, which contains the content of the pushed
Notes XML file and its filename, is valid for archiving. |
protected boolean |
isSameRequestType(String currentFilename,
String previousFilename) |
void |
setConfigurationService(ConfigurationService configurationService) |
void |
setMediaService(MediaService mediaService) |
void |
setModelService(ModelService modelService) |
public void archiveNotes(CometBinary file)
NotesArchivingStrategyCometBinary, which contains the content of the pushed
Notes XML file and its filename.archiveNotes in interface NotesArchivingStrategyfile - the CometBinary which hold the pushed Notes XML file.public boolean checkPrecondition(CometBinary file)
NotesArchivingStrategyCometBinary, which contains the content of the pushed
Notes XML file and its filename, is valid for archiving.checkPrecondition in interface NotesArchivingStrategyfile - the CometBinary which hold the pushed Notes XML file.protected boolean isSameRequestType(String currentFilename, String previousFilename)
public void setConfigurationService(ConfigurationService configurationService)
public void setMediaService(MediaService mediaService)
public void setModelService(ModelService modelService)
Copyright © 2017 SAP SE. All Rights Reserved.