org.compass.core.cascade
Class CascadingManager

java.lang.Object
  extended by org.compass.core.cascade.CascadingManager
All Implemented Interfaces:
CompassConfigurable

public class CascadingManager
extends Object
implements CompassConfigurable

Cascading manager supports perfoming cascade opeations on Objects.

Author:
kimchy

Constructor Summary
CascadingManager(InternalCompassSession session)
           
 
Method Summary
 boolean cascade(Class clazz, Object root, CascadeMapping.Cascade cascade, DirtyOperationContext context)
           
 boolean cascade(Object root, CascadeMapping.Cascade cascade, DirtyOperationContext context)
           
 boolean cascade(String alias, Object root, CascadeMapping.Cascade cascade, DirtyOperationContext context)
           
 void configure(CompassSettings settings)
          Configure using the given settings.
 boolean shouldCascade(Class clazz, Object root, CascadeMapping.Cascade cascade)
           
 boolean shouldCascade(Object root, CascadeMapping.Cascade cascade)
           
 boolean shouldCascade(String alias, Object root, CascadeMapping.Cascade cascade)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CascadingManager

public CascadingManager(InternalCompassSession session)
Method Detail

configure

public void configure(CompassSettings settings)
               throws CompassException
Description copied from interface: CompassConfigurable
Configure using the given settings.

Specified by:
configure in interface CompassConfigurable
Parameters:
settings - The settings for the configured object
Throws:
CompassException

cascade

public boolean cascade(Object root,
                       CascadeMapping.Cascade cascade,
                       DirtyOperationContext context)
                throws CompassException
Throws:
CompassException

cascade

public boolean cascade(String alias,
                       Object root,
                       CascadeMapping.Cascade cascade,
                       DirtyOperationContext context)
                throws CompassException
Throws:
CompassException

cascade

public boolean cascade(Class clazz,
                       Object root,
                       CascadeMapping.Cascade cascade,
                       DirtyOperationContext context)
                throws CompassException
Throws:
CompassException

shouldCascade

public boolean shouldCascade(Object root,
                             CascadeMapping.Cascade cascade)
                      throws CompassException
Throws:
CompassException

shouldCascade

public boolean shouldCascade(String alias,
                             Object root,
                             CascadeMapping.Cascade cascade)
                      throws CompassException
Throws:
CompassException

shouldCascade

public boolean shouldCascade(Class clazz,
                             Object root,
                             CascadeMapping.Cascade cascade)
                      throws CompassException
Throws:
CompassException


Copyright (c) 2004-2008 The Compass Project.