egovframework.rfc3.search.web
Class SearchManager
java.lang.Object
egovframework.rfc3.search.web.SearchManager
public class SearchManager
- extends java.lang.Object
Method Summary |
boolean |
addDomainIndex(java.lang.String indexType,
java.lang.String domain,
SearchVO searchVO)
|
boolean |
addIndex(java.lang.String indexType,
java.lang.String domain,
SearchVO searchVO)
|
java.lang.String |
checkRfcPattren(java.lang.String s)
|
void |
clearDocument(java.lang.String indexType)
|
org.apache.lucene.document.Document |
createDocument(java.lang.String indexType,
SearchVO searchVO)
|
java.lang.String |
getContent()
|
org.apache.lucene.store.Directory |
getDirectory(java.lang.String dirPath,
java.lang.String type)
|
java.lang.String |
getDomain(java.lang.String domainId)
|
java.lang.String |
getDomainUrl()
|
java.lang.String |
getFileName()
|
java.lang.String |
getGroup()
|
java.lang.String |
getId()
|
java.lang.String |
getLocation()
|
java.lang.String |
getModDate()
|
java.lang.String |
getPropertie(java.lang.String key,
java.lang.String type)
|
java.lang.String |
getRegDate()
|
java.lang.String |
getSearchDomainis()
|
java.util.List<SearchVO> |
getSearchList(java.lang.String indexType,
java.lang.String keyword,
java.lang.String fileType,
java.lang.String domain,
int beginRow,
int rowCount)
|
java.util.List<OfficePartVO> |
getSearchOfficeList(java.lang.String keyword,
java.lang.String sgroupId,
int beginRow,
int rowCount)
|
int |
getSearchOfficeMax(java.lang.String keyword,
java.lang.String sgroupId)
|
java.lang.String |
getSearchPath()
|
java.lang.String |
getThumb()
|
java.lang.String |
getTitle()
|
java.lang.String |
getType()
|
java.lang.String |
getUrl()
|
java.lang.String |
getUrlExt()
|
SearchVO |
initDocItem(java.lang.String indexType,
SearchResultVO searchResultVO,
java.lang.String domain,
java.lang.String url)
|
SearchVO |
initDocItem(java.lang.String indexType,
SearchResultVO searchResultVO,
java.lang.String domain,
java.lang.String url,
MenuService menuService)
|
java.lang.String |
isNullString(java.lang.String inputStr)
|
void |
modifyIndex(java.lang.String indexType)
|
int |
searchIndexMax(java.lang.String indexType,
java.lang.String domain,
java.lang.String id)
|
int |
searchIndexMax(java.lang.String indexType,
java.lang.String keyword,
java.lang.String fileType,
java.lang.String domain)
|
void |
setSearchVO(int index)
|
void |
setSearchVO(SearchVO searchVO)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SearchManager
public SearchManager()
SearchManager
public SearchManager(javax.servlet.http.HttpServletRequest request)
getDomain
public java.lang.String getDomain(java.lang.String domainId)
throws java.lang.Exception
- Throws:
java.lang.Exception
getDirectory
public org.apache.lucene.store.Directory getDirectory(java.lang.String dirPath,
java.lang.String type)
throws java.io.IOException
- Throws:
java.io.IOException
addIndex
public boolean addIndex(java.lang.String indexType,
java.lang.String domain,
SearchVO searchVO)
throws java.io.IOException
- Throws:
java.io.IOException
addDomainIndex
public boolean addDomainIndex(java.lang.String indexType,
java.lang.String domain,
SearchVO searchVO)
throws java.io.IOException
- Throws:
java.io.IOException
initDocItem
public SearchVO initDocItem(java.lang.String indexType,
SearchResultVO searchResultVO,
java.lang.String domain,
java.lang.String url,
MenuService menuService)
throws java.io.IOException,
java.lang.Exception
- Throws:
java.io.IOException
java.lang.Exception
initDocItem
public SearchVO initDocItem(java.lang.String indexType,
SearchResultVO searchResultVO,
java.lang.String domain,
java.lang.String url)
throws java.io.IOException,
java.lang.Exception
- Throws:
java.io.IOException
java.lang.Exception
createDocument
public org.apache.lucene.document.Document createDocument(java.lang.String indexType,
SearchVO searchVO)
searchIndexMax
public int searchIndexMax(java.lang.String indexType,
java.lang.String domain,
java.lang.String id)
getSearchOfficeMax
public int getSearchOfficeMax(java.lang.String keyword,
java.lang.String sgroupId)
throws java.lang.Exception
- Throws:
java.lang.Exception
searchIndexMax
public int searchIndexMax(java.lang.String indexType,
java.lang.String keyword,
java.lang.String fileType,
java.lang.String domain)
getSearchOfficeList
public java.util.List<OfficePartVO> getSearchOfficeList(java.lang.String keyword,
java.lang.String sgroupId,
int beginRow,
int rowCount)
throws java.lang.Exception
- Throws:
java.lang.Exception
getSearchList
public java.util.List<SearchVO> getSearchList(java.lang.String indexType,
java.lang.String keyword,
java.lang.String fileType,
java.lang.String domain,
int beginRow,
int rowCount)
throws java.io.IOException
- Throws:
java.io.IOException
modifyIndex
public void modifyIndex(java.lang.String indexType)
throws java.io.IOException
- Throws:
java.io.IOException
clearDocument
public void clearDocument(java.lang.String indexType)
throws java.io.IOException
- Throws:
java.io.IOException
getUrlExt
public java.lang.String getUrlExt()
getSearchDomainis
public java.lang.String getSearchDomainis()
isNullString
public java.lang.String isNullString(java.lang.String inputStr)
getSearchPath
public java.lang.String getSearchPath()
getPropertie
public java.lang.String getPropertie(java.lang.String key,
java.lang.String type)
setSearchVO
public void setSearchVO(int index)
setSearchVO
public void setSearchVO(SearchVO searchVO)
checkRfcPattren
public java.lang.String checkRfcPattren(java.lang.String s)
getId
public java.lang.String getId()
getTitle
public java.lang.String getTitle()
getLocation
public java.lang.String getLocation()
getDomainUrl
public java.lang.String getDomainUrl()
getContent
public java.lang.String getContent()
getUrl
public java.lang.String getUrl()
getType
public java.lang.String getType()
getGroup
public java.lang.String getGroup()
getThumb
public java.lang.String getThumb()
getFileName
public java.lang.String getFileName()
getRegDate
public java.lang.String getRegDate()
getModDate
public java.lang.String getModDate()