com.jpattern.orm.persistor.version
Class VersionManipulatorImpl<BEAN>

java.lang.Object
  extended by com.jpattern.orm.persistor.version.VersionManipulatorImpl<BEAN>
Type Parameters:
BEAN -
All Implemented Interfaces:
VersionManipulator<BEAN>

public class VersionManipulatorImpl<BEAN>
extends Object
implements VersionManipulator<BEAN>

Author:
cinafr

Constructor Summary
VersionManipulatorImpl(PropertyPersistor<BEAN,?,?> versionablePersistor)
           
 
Method Summary
 boolean isVersionable()
           
 void updateVersion(BEAN bean, boolean firstVersionNumber)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionManipulatorImpl

public VersionManipulatorImpl(PropertyPersistor<BEAN,?,?> versionablePersistor)
Method Detail

isVersionable

public boolean isVersionable()
Specified by:
isVersionable in interface VersionManipulator<BEAN>

updateVersion

public void updateVersion(BEAN bean,
                          boolean firstVersionNumber)
                   throws IllegalArgumentException,
                          IllegalAccessException,
                          InvocationTargetException
Specified by:
updateVersion in interface VersionManipulator<BEAN>
Throws:
IllegalArgumentException
IllegalAccessException
InvocationTargetException


Copyright © 2013. All Rights Reserved.