org.kuali.rice.krad.service.impl
Class SequenceAccessorServiceImpl

java.lang.Object
  extended by org.kuali.rice.krad.service.impl.SequenceAccessorServiceImpl
All Implemented Interfaces:
SequenceAccessorService

@Transactional
public class SequenceAccessorServiceImpl
extends Object
implements SequenceAccessorService


Constructor Summary
SequenceAccessorServiceImpl()
           
 
Method Summary
 Long getNextAvailableSequenceNumber(String sequenceName)
          This method retrieves the next available sequence number
 Long getNextAvailableSequenceNumber(String sequenceName, Class<? extends BusinessObject> clazz)
          This method retrieves the next available sequence number using the dataSource that is associated with the specified BusinessObject class.
 void setSequenceAccessorDao(SequenceAccessorDao sequenceAccessorDao)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SequenceAccessorServiceImpl

public SequenceAccessorServiceImpl()
Method Detail

getNextAvailableSequenceNumber

public Long getNextAvailableSequenceNumber(String sequenceName,
                                           Class<? extends BusinessObject> clazz)
Description copied from interface: SequenceAccessorService
This method retrieves the next available sequence number using the dataSource that is associated with the specified BusinessObject class.

Specified by:
getNextAvailableSequenceNumber in interface SequenceAccessorService
Returns:
next available sequence number

getNextAvailableSequenceNumber

public Long getNextAvailableSequenceNumber(String sequenceName)
Description copied from interface: SequenceAccessorService
This method retrieves the next available sequence number

Specified by:
getNextAvailableSequenceNumber in interface SequenceAccessorService
Returns:
next available sequence number
See Also:
SequenceAccessorService.getNextAvailableSequenceNumber(java.lang.String)

setSequenceAccessorDao

public void setSequenceAccessorDao(SequenceAccessorDao sequenceAccessorDao)


Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.