com.basecmp.core.usecasesteps.assetmanagement
Class ProcessRating

java.lang.Object
  extended byBaseCmpUsecaseStep
      extended bycom.basecmp.core.usecasesteps.assetmanagement.ProcessRating

public class ProcessRating
extends BaseCmpUsecaseStep

Führt eine 'AttachedAsset-Operation aus, die zuvor über einen Click, der vom Tag attachedAssetOperation erzeugt wurde, getriggert wurde.

See Also:
Serialized Form

Step-Configuration-Parameters:
ParameterDescription
Operation Auszuführende Operation [add|insert|remove|moveup|movedown]
ContextKey (optional) Alternatives Context-Attribute ersetzt PersistentAsset
AssetType Bei Operation 'add' der Assettyp des zu erzeugenden AttachedAsset. Wenn hier festgelegt, kann der Typ zu Laufzeit mit AssetTypKey nicht mehr verändert werden.
AssetTypeKey (optional) Alternatives Context-Attribute ersetzt AssetType

Expected UsecaseContext-Attributes:
ParameterDescription
AssetType Default-Assettype-Key bei Operation 'add'

Created UsecaseContext-Attributes:
ParameterDescription
IsMainAssetNavigation True, wenn der Hauptasset eine Seite ist. Typ java.lang.Boolean
ErrorMessage Fehlermeldung, falls etwas schief geht. Nicht vorhanden, wenn Operation OK. Created on 27.09.2006
Author:
Wolfgang Schröder

Field Summary
static java.lang.String CONFIG_KEY_CONTEXT_KEY
          Step-Konfigurations-Wert für den Namen des UscaseContext-Attributs, unter dem der Asset gefunden werden soll.
 
Constructor Summary
ProcessRating()
           
 
Method Summary
 void execute(UsecaseContext uc, int unlockKey)
           
protected  void initStep(java.lang.Integer stepId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIG_KEY_CONTEXT_KEY

public static final java.lang.String CONFIG_KEY_CONTEXT_KEY
Step-Konfigurations-Wert für den Namen des UscaseContext-Attributs, unter dem der Asset gefunden werden soll. Ist kein Name angegeben wird com.basecmp.core.usecase.UsecaseContextEntries#PERSISTENT_ASSET benutzt.

See Also:
Constant Field Values
Constructor Detail

ProcessRating

public ProcessRating()
Method Detail

execute

public void execute(UsecaseContext uc,
                    int unlockKey)
             throws UsecaseStepExecutionException
Throws:
UsecaseStepExecutionException

initStep

protected void initStep(java.lang.Integer stepId)


Copyright © 2004 by basecmp® - Professional Web Solutions