public class FileDerivateManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
FileDerivateManager.CreatorSelector |
class |
FileDerivateManager.CurrentRun |
static class |
FileDerivateManager.DatabaseStatus |
static class |
FileDerivateManager.DerivateQuery |
static class |
FileDerivateManager.DerivateQueryResult |
static class |
FileDerivateManager.DerivateQueryTerm |
static class |
FileDerivateManager.DerivateRunProblemOccasion |
class |
FileDerivateManager.DerivateUpdateProcess |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DERIVATEMODE_ALL_CREATORS |
static java.lang.String |
DERIVATEMODE_OFF |
static java.lang.String |
DERIVATEMODE_SPECIAL_CREATORS |
static org.apache.log4j.Logger |
LOG |
Constructor and Description |
---|
FileDerivateManager(WGACore core) |
Modifier and Type | Method and Description |
---|---|
de.innovationgate.webgate.api.WGDatabaseRevision |
getDerivateUpdateRevision(de.innovationgate.webgate.api.WGDatabase db) |
de.innovationgate.webgate.api.WGDatabaseRevision |
getLocalUpdateStatus(de.innovationgate.webgate.api.WGDatabase db) |
FileDerivateManager.DerivateUpdateProcess |
getUpdateProcess() |
void |
init(de.innovationgate.wga.config.WGAConfiguration config) |
boolean |
isProcessServer() |
FileDerivateManager.DerivateQuery |
mergeDerivateQueries(java.lang.String fileDerivates,
java.lang.String existingDerivates) |
FileDerivateManager.DerivateQuery |
parseDerivateQuery(java.lang.String derivateQuery) |
de.innovationgate.webgate.api.WGFileAnnotations |
queryDerivate(de.innovationgate.webgate.api.WGDocument container,
java.lang.String fileName,
FileDerivateManager.DerivateQuery derivateQuery,
ClientHints clientHints,
boolean includeOriginal) |
boolean |
runUpdateProcess() |
void |
stop() |
void |
updateAllDerivates(de.innovationgate.webgate.api.WGDatabase db) |
void |
updateDerivatesOfCreators(de.innovationgate.webgate.api.WGDatabase db,
java.util.List<java.lang.String> creators) |
public static final org.apache.log4j.Logger LOG
public static final java.lang.String DERIVATEMODE_OFF
public static final java.lang.String DERIVATEMODE_SPECIAL_CREATORS
public static final java.lang.String DERIVATEMODE_ALL_CREATORS
public FileDerivateManager(WGACore core)
public void init(de.innovationgate.wga.config.WGAConfiguration config)
public void stop()
public de.innovationgate.webgate.api.WGFileAnnotations queryDerivate(de.innovationgate.webgate.api.WGDocument container, java.lang.String fileName, FileDerivateManager.DerivateQuery derivateQuery, ClientHints clientHints, boolean includeOriginal) throws de.innovationgate.webgate.api.WGException
de.innovationgate.webgate.api.WGException
public FileDerivateManager.DerivateQuery parseDerivateQuery(java.lang.String derivateQuery) throws WGInvalidDerivateQueryException
WGInvalidDerivateQueryException
public void updateAllDerivates(de.innovationgate.webgate.api.WGDatabase db) throws de.innovationgate.webgate.api.WGAPIException
de.innovationgate.webgate.api.WGAPIException
public void updateDerivatesOfCreators(de.innovationgate.webgate.api.WGDatabase db, java.util.List<java.lang.String> creators) throws java.lang.Exception
java.lang.Exception
public FileDerivateManager.DerivateQuery mergeDerivateQueries(java.lang.String fileDerivates, java.lang.String existingDerivates) throws WGInvalidDerivateQueryException
WGInvalidDerivateQueryException
public de.innovationgate.webgate.api.WGDatabaseRevision getDerivateUpdateRevision(de.innovationgate.webgate.api.WGDatabase db) throws de.innovationgate.webgate.api.WGAPIException, java.io.IOException
de.innovationgate.webgate.api.WGAPIException
java.io.IOException
public boolean isProcessServer()
public boolean runUpdateProcess()
public FileDerivateManager.DerivateUpdateProcess getUpdateProcess()
public de.innovationgate.webgate.api.WGDatabaseRevision getLocalUpdateStatus(de.innovationgate.webgate.api.WGDatabase db)