skoinfo.rfc.mobile.dao
Class MobileDAO

java.lang.Object
  extended by skoinfo.rfc.mobile.dao.MobileDAO

public class MobileDAO
extends java.lang.Object


Constructor Summary
MobileDAO()
           
 
Method Summary
 void deleteContents(org.hibernate.Session session, long mobileContentsSid)
           
 void deleteContents(org.hibernate.Session session, MobileContentsVO mobileContentsVO)
           
 void deleteMenu(org.hibernate.Session session, MobileVO mobileVO)
          모바일 메뉴 삭제
 java.util.List<MobileContentsVO> getContentsList(org.hibernate.Session session, long mobileSid)
          모바일 메뉴에 연동된 컨텐츠 리스트
 java.util.List<MobileContentsVO> getContentsList(org.hibernate.Session session, long contentsSid, boolean temp)
           
 java.util.List<MobileContentsVO> getContentsList(org.hibernate.Session session, long mobileSid, java.lang.String contentsType)
           
 int getContentsListCount(org.hibernate.Session session, long mobileSid)
          모바일 메뉴에 연동된 컨텐츠 개수
 java.util.List<MobileVO> getMenuList(org.hibernate.Session session)
          1차메뉴 목록
 java.util.List<MobileVO> getMenuList(org.hibernate.Session session, java.lang.String check, boolean mobileIsUse)
           
 int getMenuListCount(org.hibernate.Session session, java.lang.String mobileCd)
          메뉴 목록 카운트 DAO
 MobileContentsVO getMobileContentsVO(org.hibernate.Session session, long mobileContentsSid)
          모바일 메뉴와 연동된 컨텐츠 객체 반환
 MobileContentsVO getMobileContentsVO(org.hibernate.Session session, java.lang.String mobileCd, long contentsSid)
           
 MobileVO getMobileVO(org.hibernate.Session session, long mobileSid)
          모바일 객체 가져오기 : mobileSid
 MobileVO getMobileVO(org.hibernate.Session session, java.lang.String mobileCd)
          모바일 객체 가져오기 : mobileCd
 java.util.List<MobileVO> getSubMenuList(org.hibernate.Session session, java.lang.String mobileCd)
          서브 메뉴 검색 목록 DAO
 java.util.List<MobileVO> getSubMenuList(org.hibernate.Session session, java.lang.String mobileCd, java.lang.String check, boolean mobileIsUse)
           
 void insertContents(org.hibernate.Session session, MobileContentsVO mobileContentsVO)
          모바일 메뉴 연동 컨텐츠 등록
 java.util.List<MobileVO> searchMenuList(org.hibernate.Session session, int depth, java.lang.String mobileCd, int beginRow, int rowCount, java.util.List<OrderBy> orderByList)
           
 java.util.List<MobileVO> searchMenuList(org.hibernate.Session session, int depth, java.lang.String mobileCd, java.util.List<OrderBy> orderByList)
          메뉴 검색 목록 DAO
 MobileVO updateMenu(org.hibernate.Session session, MobileVO mobileVO)
          모바일 메뉴 수정
 MobileVO writeMenu(org.hibernate.Session session, MobileVO mobileVO)
          모바일 메뉴 등록
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MobileDAO

public MobileDAO()
Method Detail

getMenuList

public java.util.List<MobileVO> getMenuList(org.hibernate.Session session)
                                     throws java.lang.Exception
1차메뉴 목록

Parameters:
groupCd - 그룹코드
menuIsUse - 메뉴사용여부(true,false)
menuIsUse - 왼쪽메뉴출력여부(true,false)
Returns:
조건에 해당하는 자료를 List로 반환
Throws:
java.lang.Exception - 처리

getMenuList

public java.util.List<MobileVO> getMenuList(org.hibernate.Session session,
                                            java.lang.String check,
                                            boolean mobileIsUse)
                                     throws java.lang.Exception
Throws:
java.lang.Exception

getSubMenuList

public java.util.List<MobileVO> getSubMenuList(org.hibernate.Session session,
                                               java.lang.String mobileCd)
                                        throws java.lang.Exception
서브 메뉴 검색 목록 DAO

Parameters:
session - 디비커넥션
menuCd - 메뉴코드
menuIsUse - 메뉴사용여부(true,false)
menuIsUse - 왼쪽메뉴출력여부(true,false)
Returns:
조건에 해당하는 자료를 List로 반환
Throws:
java.lang.Exception - 처리

getSubMenuList

public java.util.List<MobileVO> getSubMenuList(org.hibernate.Session session,
                                               java.lang.String mobileCd,
                                               java.lang.String check,
                                               boolean mobileIsUse)
                                        throws java.lang.Exception
Throws:
java.lang.Exception

searchMenuList

public java.util.List<MobileVO> searchMenuList(org.hibernate.Session session,
                                               int depth,
                                               java.lang.String mobileCd,
                                               java.util.List<OrderBy> orderByList)
                                        throws java.lang.Exception
메뉴 검색 목록 DAO

Parameters:
depth - 메뉴depth
groupCd - 그룹코드
menuCd - 메뉴코드
beginRow - 페이지 시작 위치
rowCount - 가져올 자료수
orderByList - 정렬할 필드정의
Returns:
조건에 해당하는 자료를 List로 반환
Throws:
java.lang.Exception - 처리

searchMenuList

public java.util.List<MobileVO> searchMenuList(org.hibernate.Session session,
                                               int depth,
                                               java.lang.String mobileCd,
                                               int beginRow,
                                               int rowCount,
                                               java.util.List<OrderBy> orderByList)
                                        throws java.lang.Exception
Throws:
java.lang.Exception

getMobileVO

public MobileVO getMobileVO(org.hibernate.Session session,
                            long mobileSid)
모바일 객체 가져오기 : mobileSid

Parameters:
session -
mobileSid -
Returns:

getMobileVO

public MobileVO getMobileVO(org.hibernate.Session session,
                            java.lang.String mobileCd)
모바일 객체 가져오기 : mobileCd

Parameters:
session -
mobileSid -
Returns:

getMobileContentsVO

public MobileContentsVO getMobileContentsVO(org.hibernate.Session session,
                                            long mobileContentsSid)
모바일 메뉴와 연동된 컨텐츠 객체 반환

Parameters:
session -
mobileContentsSid -
Returns:

getMobileContentsVO

public MobileContentsVO getMobileContentsVO(org.hibernate.Session session,
                                            java.lang.String mobileCd,
                                            long contentsSid)

getMenuListCount

public int getMenuListCount(org.hibernate.Session session,
                            java.lang.String mobileCd)
                     throws java.lang.Exception
메뉴 목록 카운트 DAO

Parameters:
depth - 메뉴depth
groupCd - 그룹코드
menuCd - 메뉴코드
Returns:
조건에 해당하는 레코드 건수를 반환한다.
Throws:
java.lang.Exception - 처리

getContentsListCount

public int getContentsListCount(org.hibernate.Session session,
                                long mobileSid)
                         throws java.lang.Exception
모바일 메뉴에 연동된 컨텐츠 개수

Parameters:
session -
mobileSid -
Returns:
Throws:
java.lang.Exception

getContentsList

public java.util.List<MobileContentsVO> getContentsList(org.hibernate.Session session,
                                                        long mobileSid)
                                                 throws java.lang.Exception
모바일 메뉴에 연동된 컨텐츠 리스트

Parameters:
session -
mobileSid -
Returns:
Throws:
java.lang.Exception

getContentsList

public java.util.List<MobileContentsVO> getContentsList(org.hibernate.Session session,
                                                        long mobileSid,
                                                        java.lang.String contentsType)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

getContentsList

public java.util.List<MobileContentsVO> getContentsList(org.hibernate.Session session,
                                                        long contentsSid,
                                                        boolean temp)
                                                 throws java.lang.Exception
Throws:
java.lang.Exception

writeMenu

public MobileVO writeMenu(org.hibernate.Session session,
                          MobileVO mobileVO)
                   throws java.lang.Exception
모바일 메뉴 등록

Parameters:
menuVO -
Returns:
menuSid
Throws:
java.lang.Exception

updateMenu

public MobileVO updateMenu(org.hibernate.Session session,
                           MobileVO mobileVO)
모바일 메뉴 수정

Parameters:
session -
mobileVO -
Throws:
java.lang.Exception

deleteMenu

public void deleteMenu(org.hibernate.Session session,
                       MobileVO mobileVO)
모바일 메뉴 삭제

Parameters:
session -
mobileVO -
Throws:
java.lang.Exception

deleteContents

public void deleteContents(org.hibernate.Session session,
                           MobileContentsVO mobileContentsVO)

deleteContents

public void deleteContents(org.hibernate.Session session,
                           long mobileContentsSid)

insertContents

public void insertContents(org.hibernate.Session session,
                           MobileContentsVO mobileContentsVO)
모바일 메뉴 연동 컨텐츠 등록

Parameters:
session -
mobileContentsVO -