public class MoveObjectOptions
extends java.lang.Object
IApplicationService.moveGRCObject(com.ibm.openpages.api.metadata.Id, List, MoveObjectOptions)
operations.
You can specify an explicit list of child Object Types to be moved.
You can also define the actions to take when a naming conflict occurs as a result of a move.IApplicationService#moveGRCObject(com.ibm.openpages.api.resource.IGRCObject, List, MoveObjectOptions)| Constructor and Description |
|---|
MoveObjectOptions()
Creates the MoveObjectOptions with default settings.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addChildrenType(ITypeDefinition objectType)
Adds a single Object Type to the explicit list of Object Types to include in the moveGRCObject
operation.
|
java.util.List<ITypeDefinition> |
getChildrenTypesToMove() |
MoveConflictBehavior |
getConflictBehavior() |
static MoveObjectOptions |
getDefaultOptions()
Constructs a new instance of MoveObjectOptions with default parameters.
|
boolean |
isChildrenTypesDefined() |
void |
setChildrenTypesToMove(java.util.List<ITypeDefinition> childrenTypesToMove)
Explicit list of Object Types to include in the moveGRCObject
operation.
|
void |
setConflictBehavior(MoveConflictBehavior conflictBehavior)
Specifies the behavior for a move operation
when a GRCObject with the same name already exists at the location.
|
public MoveObjectOptions()
public java.util.List<ITypeDefinition> getChildrenTypesToMove()
public void setChildrenTypesToMove(java.util.List<ITypeDefinition> childrenTypesToMove)
Explicit list of Object Types to include in the moveGRCObject operation. If specified, only the primary children whose type matches those in the specified list will be moved along to the target parent location.
If not specified, then all primary children will be moved.
childrenTypesToMove - (required) the complete list to set. If null, then explicit ContentTypes are not included. Move defaults to all.public boolean isChildrenTypesDefined()
public void addChildrenType(ITypeDefinition objectType)
Adds a single Object Type to the explicit list of Object Types to include in the moveGRCObject operation.
objectType - (required) object type to add in the moveGRCObject operationpublic MoveConflictBehavior getConflictBehavior()
public void setConflictBehavior(MoveConflictBehavior conflictBehavior)
Specifies the behavior for a move operation when a GRCObject with the same name already exists at the location.
Possible options include:
conflictBehavior - (required) the conflictBehavior to setMoveConflictBehavior.public static MoveObjectOptions getDefaultOptions()
Licensed Materials - Property of IBM
OpenPages with Watson (PID: 5725-D51)
© Copyright IBM Corporation 2013, 2020. All Rights Reserved.
US Government Users Restricted Rights -
Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.