Package org.apache.ofbiz.entity.util
Class SequenceUtil
- java.lang.Object
-
- org.apache.ofbiz.entity.util.SequenceUtil
-
public class SequenceUtil extends java.lang.Object
Sequence Utility to get unique sequences from named sequence banks
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
-
Constructor Summary
Constructors Constructor Description SequenceUtil(GenericHelperInfo helperInfo, ModelEntity seqEntity, java.lang.String nameFieldName, java.lang.String idFieldName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
forceBankRefresh(java.lang.String seqName, long staggerMax)
java.lang.Long
getNextSeqId(java.lang.String seqName, long staggerMax, ModelEntity seqModelEntity)
-
-
-
Constructor Detail
-
SequenceUtil
public SequenceUtil(GenericHelperInfo helperInfo, ModelEntity seqEntity, java.lang.String nameFieldName, java.lang.String idFieldName)
-
-
Method Detail
-
getNextSeqId
public java.lang.Long getNextSeqId(java.lang.String seqName, long staggerMax, ModelEntity seqModelEntity)
-
forceBankRefresh
public void forceBankRefresh(java.lang.String seqName, long staggerMax)
-
-