class DatabaseActions {

    public ConstraintDefinitionRepresentation createPropertyUniquenessConstraint( String labelName,
            Iterable<String> propertyKeys )
    {
        ConstraintCreator constraintCreator = graphDb.schema().constraintFor( label( labelName ) );
        for ( String key : propertyKeys )
        {
            constraintCreator = constraintCreator.assertPropertyIsUnique( key );
        }
        ConstraintDefinition constraintDefinition = constraintCreator.create();
        return new ConstraintDefinitionRepresentation( constraintDefinition );
    }

    public  DatabaseActions( GraphDatabaseAPI graphDatabaseAPI );

}