return this.canMoveNode(this.getNode(nodeId),this.getNode(parentId),nextSiblingId);
}
protected boolean canMoveNode(IUserLayoutNodeDescription node,IUserLayoutNodeDescription parent, String nextSiblingId) throws PortalException {
// is the current parent immutable ?
IUserLayoutNodeDescription currentParent=getNode(getParentId(node.getId()));
if(currentParent==null) {
throw new PortalException("Unable to determine a parent node for node with id=\""+node.getId()+"\"");
}
return (!currentParent.isImmutable() && canAddNode(node,parent,nextSiblingId));
}