@Override
public void rename( String newName )
{
if (isRoot( ))
{
throw new CannotRenameRootDirectoryException(
"You cannot rename the root directory." );
}
getParentStore( ).rename( this, newName );
CloudStorePath newPath = getPath( ).getParent( ).combine(
new CloudStorePath( newName , true , PathUtil.ROOT_DIRECTORY ) );