|
|||||||||
| 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 CheckInService

java.lang.Objectcom.flexstor.flexdbserver.services.checkincheckout.CheckInService
- All Implemented Interfaces:
- com.flexstor.flexdbserver.services.Service, com.flexstor.common.threadmgr.ThreadCallbackI
- public class CheckInService
- extends java.lang.Object
- implements com.flexstor.flexdbserver.services.Service, com.flexstor.common.threadmgr.ThreadCallbackI
- extends java.lang.Object
CheckInService
Checks in new versions of assets after modifications, making such assets the current assets in the system. Older versions are kept in the system.
Input Data Object
com.flexstor.common.data.ActionData
Output Data Object
com.flexstor.common.dataActionResult
Programmable Properties (passed inside data object)
Specific Properties (apply to each individual asset)
MacBinaryFormat: Indicates whether the file represented by this asset is in MacBinary format or not (defaults to false).
Data type: Boolean
Legal values: true or false
RegenerateThumbnails: Indicates if the CheckInService needs to call the ImportActionDataService to regenerate the thumbnail (defaults to false).
Data type: Boolean
Legal values: true or false
VersionNo: The version number of the asset to check in.
Data type: String
Legal values: any String
VersionNoPrevious: The version number of the asset, previous to being checked in.
Data type: String
Legal values: Any String
CheckInDateTime: The date and time this asset was checked in.
Data type: String
Legal values: String of the form MM-DD-YYYY hh24:mi:ss
SourceLocation: Full path, including name, of file to be checked in.
Data type: String
Legal values: Full path to the file, including name
KeepLowres: If set to true, it will preserve the old low resolution asset synchronized with the old asset prior being to checked in (defaults to true).
Data type: Boolean
Legal values: true or false
| Field Summary | |
protected com.flexstor.common.data.ActionData |
data
|
private int |
id
|
static java.lang.String |
IDENTIFIER
|
protected int |
nManagerRunning
|
protected com.flexstor.common.data.ActionResult |
result
|
protected java.lang.String |
sThisService
|
protected java.util.Vector |
vBadRecords
|
protected java.util.Vector |
vRecords
|
| Constructor Summary | |
CheckInService()
|
|
| Method Summary | |
private java.util.Hashtable |
createSubSets()
create a Hashtable containing a list of objects to be sent to the service manager. |
com.flexstor.common.data.ActionResult |
go()
The start of the CheckIn Service. |
void |
initData(com.flexstor.common.data.ActionData actionData)
A data initialization method called at the beginning of the service. |
private void |
notify(com.flexstor.common.data.ActionResult result)
update the ImportData after the set of services are executed for a ImportData sub set. |
void |
setServiceContext(com.flexstor.flexdbserver.services.ServiceContext context)
Calls before the service is initialized (before initData is called) to pass information about the environment in which the service is running. |
void |
threadTaskEnd(com.flexstor.common.threadmgr.ThreadConsumerI consumer,
java.lang.Object obj)
Called when a thread task has just finished. |
void |
threadTaskStart(com.flexstor.common.threadmgr.ThreadConsumerI consumer,
java.lang.Object obj)
Called when a thread task is about to begin. |
| 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
data
protected com.flexstor.common.data.ActionData data
result
protected com.flexstor.common.data.ActionResult result
vRecords
protected java.util.Vector vRecords
vBadRecords
protected java.util.Vector vBadRecords
nManagerRunning
protected int nManagerRunning
sThisService
protected java.lang.String sThisService
id
private int id
| Constructor Detail |
CheckInService
public CheckInService()
| Method Detail |
setServiceContext
public void setServiceContext(com.flexstor.flexdbserver.services.ServiceContext context)
- Calls before the service is initialized (before initData is called) to
pass information about the environment in which the service is running.
This environment consists of information about the properties set for the
service in one of these files (services.config, roletype_services.config,
or *.ctl), plus methods to access other information such as an instance
of the service broker to invoke other services, the transaction id for
the service, file separator character and local path for the installation
directory and configuration directory.
- Specified by:
setServiceContextin interfacecom.flexstor.flexdbserver.services.Service
initData
public void initData(com.flexstor.common.data.ActionData actionData)
- A data initialization method called at the beginning of the service.
The input argument, ActionData must be cast into its subclass in order
to extract the CheckInService specific data from it.
- Specified by:
initDatain interfacecom.flexstor.flexdbserver.services.Service
go
public com.flexstor.common.data.ActionResult go()
- The start of the CheckIn Service.
- Specified by:
goin interfacecom.flexstor.flexdbserver.services.Service
createSubSets
private java.util.Hashtable createSubSets()
- create a Hashtable containing a list of objects to be sent to the service manager.
key = server name; value = ServiceManagerData
notify
private void notify(com.flexstor.common.data.ActionResult result)
- update the ImportData after the set of services are executed for
a ImportData sub set.
threadTaskStart
public void threadTaskStart(com.flexstor.common.threadmgr.ThreadConsumerI consumer, java.lang.Object obj)
- Called when a thread task is about to begin.
- Specified by:
threadTaskStartin interfacecom.flexstor.common.threadmgr.ThreadCallbackI
threadTaskEnd
public void threadTaskEnd(com.flexstor.common.threadmgr.ThreadConsumerI consumer, java.lang.Object obj)
- Called when a thread task has just finished.
- Specified by:
threadTaskEndin interfacecom.flexstor.common.threadmgr.ThreadCallbackI
|
|||||||||
| 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
com.flexstor.flexdbserver.services.checkincheckout.CheckInService