com.atlassian.crowd.util.persistence.hibernate.batch.operation
Class SaveOrUpdateOperation

java.lang.Object
  extended by com.atlassian.crowd.util.persistence.hibernate.batch.operation.SaveOrUpdateOperation
All Implemented Interfaces:
HibernateOperation

public class SaveOrUpdateOperation
extends Object
implements HibernateOperation


Constructor Summary
SaveOrUpdateOperation()
           
 
Method Summary
 void performOperation(org.hibernate.Session session, Object object)
          Perform a single Hibernate operation on an object given a Hiberante session.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SaveOrUpdateOperation

public SaveOrUpdateOperation()
Method Detail

performOperation

public void performOperation(org.hibernate.Session session,
                             Object object)
                      throws org.hibernate.HibernateException
Description copied from interface: HibernateOperation
Perform a single Hibernate operation on an object given a Hiberante session.

Specified by:
performOperation in interface HibernateOperation
Parameters:
session - Hibernate session prebound to an active transaction.
object - perform the operation on this persistable object.
Throws:
org.hibernate.HibernateException - a Hibernate error has occured while attempting to perform the operation.


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.