wt.ixb.actor
Class CheckOutActorTemplate

java.lang.Object
  extended bywt.ixb.actor.ActorTemplate
      extended bywt.ixb.actor.CheckOutActorTemplate
All Implemented Interfaces:
Actor
Direct Known Subclasses:
ActorTemplateForTypeDefinition, CheckOutActorForVersioned

public class CheckOutActorTemplate
extends ActorTemplate

General template for export check out action as well as lock action.

Supported API: true

Extendable: false


Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
 
Constructor Summary
CheckOutActorTemplate()
           
 
Method Summary
 void checkApplicabilityOfAction(Object obj)
          Check if this action is applicable to the specified object.
 void performPostExportAction(ClassExporterImporter handler, Exporter exporter, Object object, IxbElement fileXML)
          Perform check out and lock actions for the object after the real export ends.
 
Methods inherited from class wt.ixb.actor.ActorTemplate
createObject, importObjectAttributes, importObjectAttributesAfterStore, performPreExportAction, previewObject, storeObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

CheckOutActorTemplate

public CheckOutActorTemplate()
Method Detail

performPostExportAction

public void performPostExportAction(ClassExporterImporter handler,
                                    Exporter exporter,
                                    Object object,
                                    IxbElement fileXML)
                             throws WTException
Perform check out and lock actions for the object after the real export ends.

Supported API: true

Specified by:
performPostExportAction in interface Actor
Overrides:
performPostExportAction in class ActorTemplate
Parameters:
handler - The export class handler.
exporter - The Exporter instance that represents the context of the export operation.
object - The object to be exported.
fileXML - The exported information of the object.
Throws:
WTException

checkApplicabilityOfAction

public void checkApplicabilityOfAction(Object obj)
                                throws IxbInapplicableActionException
Description copied from class: ActorTemplate
Check if this action is applicable to the specified object. If not, throw wt.util.WTException

Supported API: true

Specified by:
checkApplicabilityOfAction in interface Actor
Overrides:
checkApplicabilityOfAction in class ActorTemplate
Parameters:
obj -
Throws:
IxbInapplicableActionException