public abstract class AbstractIdGnrService extends Object implements EgovIdGnrService, org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.BeanFactoryAware
== 개정이력(Modification Information) == 수정일 수정자 수정내용 ------- -------- --------------------------- 2009.02.01 김태호 최초 생성
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.context.MessageSource |
messageSource
MessageSource
|
protected boolean |
useBigDecimals
BigDecimal 사용 여부
|
| Constructor and Description |
|---|
AbstractIdGnrService()
기본 생성자
|
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
getNextBigDecimalId()
Returns BigDecimal 타입의 다음 ID 제공
|
protected abstract BigDecimal |
getNextBigDecimalIdInner()
BigDecimal 타입의 유일 아이디 제공
|
byte |
getNextByteId()
Returns Byte 타입의 다음 ID 제공
|
int |
getNextIntegerId()
Returns int 타입의 다음 ID 제공
|
long |
getNextLongId()
Returns long 타입의 다음 ID 제공
|
protected long |
getNextLongIdChecked(long maxId)
특별한 최대 값보다 작은 Long 타입의 다음 ID
|
protected abstract long |
getNextLongIdInner()
long 타입의 유일 아이디 제공
|
short |
getNextShortId()
Returns Short 타입의 다음 ID 제공
|
String |
getNextStringId()
String 타입의 Id 제공하는데 정책의 아이디 생성 호출함
|
String |
getNextStringId(EgovIdGnrStrategy strategy)
정책 클래스를 입력받아서 String 타입의 Id 제공
|
String |
getNextStringId(String strategyId)
정책정보를 String으로 입력받아서 String 타입의 Id 제공
|
EgovIdGnrStrategy |
getStrategy()
정책 얻기
|
protected boolean |
isUsingBigDecimals()
BigDecimal 사용여부 정보 리턴
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
Message Source Injection
|
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
set BeanFactory
|
void |
setStrategy(EgovIdGnrStrategy strategy)
정책 세팅
|
void |
setUseBigDecimals(boolean useBigDecimals)
BigDecimal 사용여부 세팅
|
protected boolean useBigDecimals
protected org.springframework.context.MessageSource messageSource
protected abstract BigDecimal getNextBigDecimalIdInner() throws FdlException
FdlException - if an Id could not be allocated for any reason.protected abstract long getNextLongIdInner()
throws FdlException
FdlException - 여타이유에 의해 아이디 생성이 불가능 할때public final void setUseBigDecimals(boolean useBigDecimals)
useBigDecimals - BigDecimal 사용여부protected final boolean isUsingBigDecimals()
protected final long getNextLongIdChecked(long maxId)
throws FdlException
maxId - 최대값FdlException - 다음 ID가 입력받은 MaxId보다 클때public final BigDecimal getNextBigDecimalId() throws FdlException
getNextBigDecimalId in interface EgovIdGnrServiceFdlException - 다음 아이디가 유효한 BigDecimal의 범위를 벗어날때public final long getNextLongId()
throws FdlException
getNextLongId in interface EgovIdGnrServiceFdlException - 다음 아이디가 유효한 long의 범위를 벗어날때public final int getNextIntegerId()
throws FdlException
getNextIntegerId in interface EgovIdGnrServiceFdlException - 다음 아이디가 유효한 integer의 범위를 벗어날때public final short getNextShortId()
throws FdlException
getNextShortId in interface EgovIdGnrServiceFdlException - 다음 아이디가 유효한 Short의 범위를 벗어날때public final byte getNextByteId()
throws FdlException
getNextByteId in interface EgovIdGnrServiceFdlException - 다음 아이디가 유효한 Byte 범위를 벗어날때public final String getNextStringId() throws FdlException
getNextStringId in interface EgovIdGnrServiceFdlException - 다음 아이디가 유효한 byte의 범위를 벗어날때public String getNextStringId(EgovIdGnrStrategy strategy) throws FdlException
getNextStringId in interface EgovIdGnrServicestrategy - 생성된 정책 오브젝트FdlException - 다음 아이디가 유효한 byte의 범위를 벗어날때public String getNextStringId(String strategyId) throws FdlException
getNextStringId in interface EgovIdGnrServicestrategyId - 정책 스트링FdlException - 다음 아이디가 유효한 byte의 범위를 벗어날때public EgovIdGnrStrategy getStrategy()
public void setStrategy(EgovIdGnrStrategy strategy)
strategy - to be set by Spring Frameworkpublic void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwarebeanFactory - to be set by Spring Frameworkpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2015. All rights reserved.