com.basecmp.core.usecasesteps.assetmanagement
Class CreateChildReferences
java.lang.Object
BaseCmpUsecaseStep
com.basecmp.core.usecasesteps.assetmanagement.CreateChildReferences
- public class CreateChildReferences
- extends BaseCmpUsecaseStep
Creates new bindings for a list of assets (childs) of to another asset
(parent).
- See Also:
- Serialized Form
- Step-Configuration-Parameters:
| Parameter | Description |
ReferenceType (pflicht) | Referencetype of the references
(bindings) to be stored. |
ReferenceCaption (optional) | Caption for the references to be
used. Defaults to given ReferenceType if not given explicitly. |
AssetListContextKey (optional) | Alternative attributname for
contextin 'AssetList' |
ParentAssetContextKey (optional) | Alternative attributname for
contextin 'PersistentAsset' |
ForceParentAssetType (optional) | If given, the assettypes of
contextin 'AssetList' has to be of the given type, otherwise the
step is left over it's error-id. |
ForceChildAssetType (optional) | If given, the assettype of
contextin 'PersistentAsset' has to be of the given type, otherwise
the step is left over it's error-id. |
- Expected UsecaseContext-Attributes:
| Parameter | Description |
AssetList | Attributname where to find the List (Collection
containing objects of type PeristentAsset) of childassets for the
references to be stored. For convenience it is also allowed, to
store a single instance of a PersistentAsset instead of a
Colleciton. Type {@link java.util.Collection} or
{@link com.basecmp.core.persistence.impl.PersistentAsset} |
PersistentAsset | Attributname where to find the parentasset for
the references to be stored. Type
{@link com.basecmp.core.persistence.impl.PersistentAsset}
Created on 23.04.2007 |
- Author:
- Wolfgang Schröder
|
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 |
CONFIG_KEY_ASSET_LIST_CONTEXT_KEY
public static final java.lang.String CONFIG_KEY_ASSET_LIST_CONTEXT_KEY
- See Also:
- Constant Field Values
CONFIG_KEY_FORCE_CHILD_ASSETTYPE
public static final java.lang.String CONFIG_KEY_FORCE_CHILD_ASSETTYPE
- See Also:
- Constant Field Values
CONFIG_KEY_FORCE_PARENT_ASSETTYPE
public static final java.lang.String CONFIG_KEY_FORCE_PARENT_ASSETTYPE
- See Also:
- Constant Field Values
CONFIG_KEY_PARENT_ASSET_CONTEXT_KEY
public static final java.lang.String CONFIG_KEY_PARENT_ASSET_CONTEXT_KEY
- See Also:
- Constant Field Values
CONFIG_KEY_REFCAPTION
public static final java.lang.String CONFIG_KEY_REFCAPTION
- See Also:
- Constant Field Values
CONFIG_KEY_REFTYPE
public static final java.lang.String CONFIG_KEY_REFTYPE
- See Also:
- Constant Field Values
CreateChildReferences
public CreateChildReferences()
execute
public void execute(UsecaseContext uc,
int unlockKey)
throws java.lang.Exception
- Throws:
java.lang.Exception
initStep
protected void initStep(java.lang.Integer stepId)
Copyright © 2004 by basecmp® - Professional Web Solutions