info.magnolia.module.delta
Class NoSameNameSiblingsCondition

java.lang.Object
  extended by info.magnolia.module.delta.AbstractCondition
      extended by info.magnolia.module.delta.NoSameNameSiblingsCondition
All Implemented Interfaces:
Condition

public class NoSameNameSiblingsCondition
extends AbstractCondition

Install condition to verify that Magnolia node types don't allow same name siblings. The check is performed against the RepositoryConstants.WEBSITE workspace.


Field Summary
static String[] NODETYPES
           
static String[] WORKSPACES
           
 
Constructor Summary
NoSameNameSiblingsCondition()
           
 
Method Summary
 boolean check(InstallContext installContext)
           
 
Methods inherited from class info.magnolia.module.delta.AbstractCondition
getDescription, getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NODETYPES

public static final String[] NODETYPES

WORKSPACES

public static final String[] WORKSPACES
Constructor Detail

NoSameNameSiblingsCondition

public NoSameNameSiblingsCondition()
Method Detail

check

public boolean check(InstallContext installContext)


Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.