org.kuali.rice.krad.service
Interface SequenceAccessorService

All Known Implementing Classes:
SequenceAccessorServiceImpl

public interface SequenceAccessorService

Provides access to sequence numbers.


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.
 

Method Detail

getNextAvailableSequenceNumber

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.

Returns:
next available sequence number

getNextAvailableSequenceNumber

Long getNextAvailableSequenceNumber(String sequenceName)
This method retrieves the next available sequence number

Returns:
next available sequence number


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