|
|||||||||
| Home >> All >> com >> flexstor >> flexdbserver >> services >> [ checkincheckout overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.flexstor.flexdbserver.services.checkincheckout
Class PromoteServiceManager

java.lang.Objectcom.flexstor.flexdbserver.services.ServiceManager
com.flexstor.flexdbserver.services.checkincheckout.PromoteServiceManager
- All Implemented Interfaces:
- com.flexstor.common.constants.AssetRolesI, com.flexstor.common.threadmgr.ThreadConsumerI
- public class PromoteServiceManager
- extends com.flexstor.flexdbserver.services.ServiceManager
- implements com.flexstor.common.constants.AssetRolesI
- extends com.flexstor.flexdbserver.services.ServiceManager
PromoteServiceManager provides functionality to control the sequencial execution of Services during the promote process
| Field Summary | |
protected boolean |
bContinue
|
protected boolean |
bRunRemote
|
protected com.flexstor.common.data.ActionData |
data
|
protected java.lang.String |
fileSeparator
|
static java.lang.String |
IDENTIFIER
|
protected java.lang.String |
sServerName
|
protected java.util.Vector |
vBadRecords
|
protected java.util.Vector |
vRecords
|
| Fields inherited from class com.flexstor.flexdbserver.services.ServiceManager |
|
| Fields inherited from interface com.flexstor.common.constants.AssetRolesI |
AUDIO, HIGHRES, LARGEST_ASSET_ROLE, LAYOUT, LOWRES, roles, THUMBNAIL, VIDEO |
| Constructor Summary | |
PromoteServiceManager(java.lang.String sIdentifier,
com.flexstor.common.data.ActionData data,
com.flexstor.common.threadmgr.ThreadCallbackI caller)
|
|
| Method Summary | |
com.flexstor.common.data.ActionResult |
execute()
Main loop for sequencial execution of Services. |
private void |
executeService(java.lang.String sServiceName,
com.flexstor.common.data.ActionData data)
|
protected com.flexstor.common.data.ActionResult |
getResultObjectOnAbnormalEnding()
This method need to be implemented for all subclasses to return the proper result object if the execution of the service manager ends abnormally (due to a non-catch exception inside the service manager. |
private void |
promoteChildren()
|
private void |
rollBackStatusToCheckIn()
|
private boolean |
setStatusToCheckedOut()
Set the status in the database to in-progress |
| Methods inherited from class com.flexstor.flexdbserver.services.ServiceManager |
abortManager, doService, doService, getResult, processService, startManager |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
IDENTIFIER
public static final java.lang.String IDENTIFIER
- See Also:
- Constant Field Values
sServerName
protected java.lang.String sServerName
data
protected com.flexstor.common.data.ActionData data
bRunRemote
protected boolean bRunRemote
bContinue
protected boolean bContinue
fileSeparator
protected java.lang.String fileSeparator
vRecords
protected java.util.Vector vRecords
vBadRecords
protected java.util.Vector vBadRecords
| Constructor Detail |
PromoteServiceManager
public PromoteServiceManager(java.lang.String sIdentifier, com.flexstor.common.data.ActionData data, com.flexstor.common.threadmgr.ThreadCallbackI caller)
| Method Detail |
execute
public com.flexstor.common.data.ActionResult execute() throws java.lang.InterruptedException
- Main loop for sequencial execution of Services.
getResultObjectOnAbnormalEnding
protected com.flexstor.common.data.ActionResult getResultObjectOnAbnormalEnding()
- Description copied from class:
com.flexstor.flexdbserver.services.ServiceManager - This method need to be implemented for all subclasses to return the proper
result object if the execution of the service manager ends abnormally (due
to a non-catch exception inside the service manager.
setStatusToCheckedOut
private boolean setStatusToCheckedOut()
- Set the status in the database to in-progress
rollBackStatusToCheckIn
private void rollBackStatusToCheckIn()
promoteChildren
private void promoteChildren()
throws com.flexstor.common.gateway.exceptions.TransactionFailedException
executeService
private void executeService(java.lang.String sServiceName, com.flexstor.common.data.ActionData data)
|
|||||||||
| Home >> All >> com >> flexstor >> flexdbserver >> services >> [ checkincheckout overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC