com.atlassian.crowd.util.persistence.hibernate.batch.hibernate4.operation
Class RemoveGroupOperation
java.lang.Object
com.atlassian.crowd.util.persistence.hibernate.batch.hibernate4.operation.RemoveGroupOperation
- All Implemented Interfaces:
- HibernateOperation<org.hibernate.Session>
public class RemoveGroupOperation
- extends Object
- implements HibernateOperation<org.hibernate.Session>
An operation to remove a group and its related information such as members, memberships, and attributes.
When given an Object of type InternalGroup
, this should act the same as calling
GroupDAOHibernate.remove(com.atlassian.crowd.model.group.Group)
directly.
Method Summary |
void |
performOperation(Object object,
org.hibernate.Session session)
Interface to logic that performs a single hibernate operation on a target object for
use within a batch. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoveGroupOperation
public RemoveGroupOperation()
performOperation
public void performOperation(Object object,
org.hibernate.Session session)
throws org.hibernate.HibernateException
- Description copied from interface:
HibernateOperation
- Interface to logic that performs a single hibernate operation on a target object for
use within a batch.
- Specified by:
performOperation
in interface HibernateOperation<org.hibernate.Session>
- Parameters:
object
- perform the operation on this object
- Throws:
org.hibernate.HibernateException
Copyright © 2013 Atlassian. All Rights Reserved.