egovframework.rfc3.sns.web
Class SnsCommentManager

java.lang.Object
  extended by egovframework.rfc3.sns.web.SnsCommentManager

public class SnsCommentManager
extends java.lang.Object


Constructor Summary
SnsCommentManager(javax.servlet.http.HttpServletRequest request)
           
 
Method Summary
 twitter4j.User getLoginTwitterUser()
          getLoginTwiterUser
 boolean isLoginFaceBook()
          isLoginFaceBook
 boolean isLoginkakaotalk()
           
 boolean isLoginMe2day()
          isLoginMe2day
 boolean isLoginTwitter()
          isLoginTwitter
 java.lang.String kakaotalk(int var)
          1. access_token 2. refresh_token 3. expires_in 4. scope 5. id 6. name 7. pro_img 10. thumbnail
 int selectSnsComentCount(java.lang.String categoryId)
           
 java.util.List<SnsCommentVO> selectSnsCommentList(java.lang.String categoryId)
          selectSnsCommentList
 java.util.List<SnsCommentVO> selectSnsCommentList(java.lang.String categoryId, java.lang.String menuCd)
           
 void updateTwitterFile(java.io.File file, java.lang.String msg)
          updateTwitterFile
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SnsCommentManager

public SnsCommentManager(javax.servlet.http.HttpServletRequest request)
Method Detail

selectSnsCommentList

public java.util.List<SnsCommentVO> selectSnsCommentList(java.lang.String categoryId)
                                                  throws java.lang.Exception
selectSnsCommentList

Parameters:
categoryId -
Returns:
Throws:
java.lang.Exception

selectSnsCommentList

public java.util.List<SnsCommentVO> selectSnsCommentList(java.lang.String categoryId,
                                                         java.lang.String menuCd)
                                                  throws java.lang.Exception
Throws:
java.lang.Exception

kakaotalk

public java.lang.String kakaotalk(int var)
                           throws java.lang.Exception
1. access_token 2. refresh_token 3. expires_in 4. scope 5. id 6. name 7. pro_img 10. thumbnail

Throws:
java.lang.Exception

selectSnsComentCount

public int selectSnsComentCount(java.lang.String categoryId)
                         throws java.lang.Exception
Throws:
java.lang.Exception

isLoginTwitter

public boolean isLoginTwitter()
                       throws java.lang.Exception
isLoginTwitter

Returns:
Throws:
java.lang.Exception

isLoginFaceBook

public boolean isLoginFaceBook()
                        throws java.lang.Exception
isLoginFaceBook

Returns:
Throws:
java.lang.Exception

isLoginkakaotalk

public boolean isLoginkakaotalk()
                         throws java.lang.Exception
Throws:
java.lang.Exception

isLoginMe2day

public boolean isLoginMe2day()
                      throws java.lang.Exception
isLoginMe2day

Returns:
Throws:
java.lang.Exception

getLoginTwitterUser

public twitter4j.User getLoginTwitterUser()
                                   throws java.lang.Exception
getLoginTwiterUser

Returns:
Throws:
twitter4j.TwitterException
java.lang.Exception

updateTwitterFile

public void updateTwitterFile(java.io.File file,
                              java.lang.String msg)
                       throws java.lang.Exception
updateTwitterFile

Parameters:
file -
msg -
Throws:
java.lang.Exception