public class UpdateContentManagedFileInEARUtil
extends java.lang.Object
The UpdateContentManagedFilesInEARUtil performs a series of actions. It first retrieves the list of files from the Commerce database. The list of files includes all the files that need to be committed into the file system, and all the marked for delete files. And then it calls the
EAR Updater. For the files that need to be committed, the
EAR Updaterwill update the files into the Commerce EAR. After that, these files in the database will be marked as committed to the file system. For the files that are marked for delete, the
EAR Updaterwill delete these files in the Commerce EAR. After that, if the marked for delete files are also published, these files will be permanently deleted from the database. But if after the
EAR Updatercall, the marked for delete files has not been published yet, it will stay in the database so the later on it may get synchronized with the production database.
Behavior:
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
Define the CLASSNAME.
|
static java.lang.String | COPYRIGHT
The internal copyright field.
|
Constructor and Description |
---|
UpdateContentManagedFileInEARUtil(java.lang.String astrProductionServerApplicationName, boolean aboolUpdateCurrentEAR)
Constructor for UpdateContentManagedFileInEARUtil.
|
Modifier and Type | Method and Description |
---|---|
void | update()
The main execution of UpdateContentManagedFileInEARUtil.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public UpdateContentManagedFileInEARUtil(java.lang.String astrProductionServerApplicationName, boolean aboolUpdateCurrentEAR) throws ECException
public void update() throws ECException