com.poscoict.glueframework.dao
Interface GlueGenericDao

All Known Subinterfaces:
GlueGenericHibernateDao, GlueGenericJdbcDao
All Known Implementing Classes:
GlueHibernateDao, GlueJdbcDao, GlueMybatisDao

public interface GlueGenericDao


Method Summary
 int delete(String name)
          Äõ¸® Å°¿¡ ÇØ´çÇÏ´Â Static SQL Äõ¸®(¹ÙÀεù º¯¼ö°¡ ¾ø´Â Äõ¸®)¸¦ ½ÇÇàÇÏ¿© Database Record¸¦ »èÁ¦ÇÑ´Ù.
<P> int
delete(String name, GlueParameter<P> param)
          Äõ¸® Å°¿¡ ÇØ´çÇÏ´Â SQL Äõ¸®¹®ÀåÀ» ½ÇÇàÇÏ¿© Database Record¸¦ »èÁ¦ÇÑ´Ù.
<T> List<T>
find(String name)
          Äõ¸® Å°¿¡ ÇØ´çÇÏ´Â Static SQL Äõ¸®(¹ÙÀεù º¯¼ö°¡ ¾ø´Â Äõ¸®)¸¦ ½ÇÇàÇÏ¿© Á¶°Ç¿¡ ÇØ´çÇÏ´Â Database Record¸¦ °Ë»öÇÑ´Ù.
<T,P> List<T>
find(String name, GlueParameter<P> param)
          Äõ¸® Å°¿¡ ÇØ´çÇÏ´Â SQL Äõ¸®¹®ÀåÀ» ½ÇÇàÇÏ¿© Á¶°Ç¿¡ ÇØ´çÇÏ´Â Database Record¸¦ °Ë»öÇÑ´Ù.
 int insert(String name)
          Äõ¸® Å°¿¡ ÇØ´çÇÏ´Â Static SQL Äõ¸®(¹ÙÀεù º¯¼ö°¡ ¾ø´Â Äõ¸®)¸¦ ½ÇÇàÇÏ¿© Database Record¸¦ »ý¼ºÇÑ´Ù.
<P> int
insert(String name, GlueParameter<P> param)
          Äõ¸® Å°¿¡ ÇØ´çÇÏ´Â SQL Äõ¸®¹®ÀåÀ» ½ÇÇàÇÏ¿© Database Record¸¦ »ý¼ºÇÑ´Ù.
 int update(String name)
          Äõ¸® Å°¿¡ ÇØ´çÇÏ´Â Static SQL Äõ¸®(¹ÙÀεù º¯¼ö°¡ ¾ø´Â Äõ¸®)¸¦ ½ÇÇàÇÏ¿© Á¶°Ç¿¡ ÇØ´çÇÏ´Â Database Record¸¦ ¼öÁ¤ÇÑ´Ù.
<P> int
update(String name, GlueParameter<P> param)
          Äõ¸® Å°¿¡ ÇØ´çÇÏ´Â SQL Äõ¸®¹®ÀåÀ» ½ÇÇàÇÏ¿© Á¶°Ç¿¡ ÇØ´çÇÏ´Â Database Record¸¦ ¼öÁ¤ÇÑ´Ù.
 

Method Detail

delete

int delete(String name)
Äõ¸® Å°¿¡ ÇØ´çÇÏ´Â Static SQL Äõ¸®(¹ÙÀεù º¯¼ö°¡ ¾ø´Â Äõ¸®)¸¦ ½ÇÇàÇÏ¿© Database Record¸¦ »èÁ¦ÇÑ´Ù.

Parameters:
name - Äõ¸® Å°
Returns:
»èÁ¦µÈ ·¹ÄÚµå °³¼ö

delete

<P> int delete(String name,
               GlueParameter<P> param)
Äõ¸® Å°¿¡ ÇØ´çÇÏ´Â SQL Äõ¸®¹®ÀåÀ» ½ÇÇàÇÏ¿© Database Record¸¦ »èÁ¦ÇÑ´Ù.

Parameters:
name - Äõ¸® Å°
param - ÆĶó¸ÞÅÍ
Returns:
»èÁ¦µÈ ·¹ÄÚµå °³¼ö

find

<T> List<T> find(String name)
Äõ¸® Å°¿¡ ÇØ´çÇÏ´Â Static SQL Äõ¸®(¹ÙÀεù º¯¼ö°¡ ¾ø´Â Äõ¸®)¸¦ ½ÇÇàÇÏ¿© Á¶°Ç¿¡ ÇØ´çÇÏ´Â Database Record¸¦ °Ë»öÇÑ´Ù.

Parameters:
name - Äõ¸® Å°
Returns:
°Ë»öµÈ ·¹Äڵ带 Ç¥ÇöÇÏ´Â RowSet

find

<T,P> List<T> find(String name,
                   GlueParameter<P> param)
Äõ¸® Å°¿¡ ÇØ´çÇÏ´Â SQL Äõ¸®¹®ÀåÀ» ½ÇÇàÇÏ¿© Á¶°Ç¿¡ ÇØ´çÇÏ´Â Database Record¸¦ °Ë»öÇÑ´Ù.

Parameters:
param - ÆĶó¸ÞÅÍ
name - Äõ¸® Å°
Returns:
°Ë»öµÈ ·¹Äڵ带 Ç¥ÇöÇÏ´Â RowSet

insert

int insert(String name)
Äõ¸® Å°¿¡ ÇØ´çÇÏ´Â Static SQL Äõ¸®(¹ÙÀεù º¯¼ö°¡ ¾ø´Â Äõ¸®)¸¦ ½ÇÇàÇÏ¿© Database Record¸¦ »ý¼ºÇÑ´Ù.

Parameters:
name - Äõ¸® Å°
Returns:
»ý¼ºµÈ ·¹ÄÚµå °³¼ö

insert

<P> int insert(String name,
               GlueParameter<P> param)
Äõ¸® Å°¿¡ ÇØ´çÇÏ´Â SQL Äõ¸®¹®ÀåÀ» ½ÇÇàÇÏ¿© Database Record¸¦ »ý¼ºÇÑ´Ù.

Parameters:
name - Äõ¸® Å°
param - ÆĶó¸ÞÅÍ
Returns:
»ý¼ºµÈ ·¹ÄÚµå °³¼ö

update

int update(String name)
Äõ¸® Å°¿¡ ÇØ´çÇÏ´Â Static SQL Äõ¸®(¹ÙÀεù º¯¼ö°¡ ¾ø´Â Äõ¸®)¸¦ ½ÇÇàÇÏ¿© Á¶°Ç¿¡ ÇØ´çÇÏ´Â Database Record¸¦ ¼öÁ¤ÇÑ´Ù.

Parameters:
name - Äõ¸® Å°
Returns:
¼öÁ¤µÈ ·¹ÄÚµå °³¼ö

update

<P> int update(String name,
               GlueParameter<P> param)
Äõ¸® Å°¿¡ ÇØ´çÇÏ´Â SQL Äõ¸®¹®ÀåÀ» ½ÇÇàÇÏ¿© Á¶°Ç¿¡ ÇØ´çÇÏ´Â Database Record¸¦ ¼öÁ¤ÇÑ´Ù.

Parameters:
name - Äõ¸® Å°
param - ÆĶó¸ÞÅÍ
Returns:
¼öÁ¤µÈ ·¹ÄÚµå °³¼ö


Copyright © 2013–2016 POSCO ICT. All rights reserved.