Class MovingFolder
- java.lang.Object
-
- com.adobe.acs.commons.mcp.impl.processes.renovator.MovingNode
-
- com.adobe.acs.commons.mcp.impl.processes.renovator.MovingFolder
-
public class MovingFolder extends MovingNode
Represents a folder being moved
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringDEFAULT_FOLDER_TYPE
-
Constructor Summary
Constructors Constructor Description MovingFolder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancreateFolderNode(String folderPath, org.apache.sling.api.resource.ResourceResolver r)booleanisAbleToHaveChildren()booleanisCopiedBeforeMove()booleanisSupposedToBeReferenced()voidmove(ReplicatorQueue replicatorQueue, org.apache.sling.api.resource.ResourceResolver rr)-
Methods inherited from class com.adobe.acs.commons.mcp.impl.processes.renovator.MovingNode
addChild, findByPath, findReferences, getAllReferences, getChildren, getClonedProperties, getDestinationPath, getParent, getPreviousSibling, getPublishedReferences, getSourcePath, hasChild, isDestinationAlreadyExists, isLeaf, isSourceActivated, setChildren, setDestinationAlreadyExists, setDestinationPath, setParent, setSourcePath, visit, visit
-
-
-
-
Field Detail
-
DEFAULT_FOLDER_TYPE
protected static final String DEFAULT_FOLDER_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
isCopiedBeforeMove
public boolean isCopiedBeforeMove()
- Specified by:
isCopiedBeforeMovein classMovingNode
-
isSupposedToBeReferenced
public boolean isSupposedToBeReferenced()
- Specified by:
isSupposedToBeReferencedin classMovingNode
-
isAbleToHaveChildren
public boolean isAbleToHaveChildren()
- Specified by:
isAbleToHaveChildrenin classMovingNode
-
move
public void move(ReplicatorQueue replicatorQueue, org.apache.sling.api.resource.ResourceResolver rr) throws MovingException
- Specified by:
movein classMovingNode- Throws:
MovingException
-
createFolderNode
protected boolean createFolderNode(String folderPath, org.apache.sling.api.resource.ResourceResolver r) throws javax.jcr.RepositoryException, org.apache.sling.api.resource.PersistenceException
- Throws:
javax.jcr.RepositoryExceptionorg.apache.sling.api.resource.PersistenceException
-
-