|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.sakaiproject.search.tool.SearchAdminBeanImpl
public class SearchAdminBeanImpl
Nested Class Summary | |
---|---|
class |
SearchAdminBeanImpl.AdminOptionImpl
|
Constructor Summary | |
---|---|
SearchAdminBeanImpl(javax.servlet.http.HttpServletRequest request,
SearchService searchService,
org.sakaiproject.site.api.SiteService siteService,
org.sakaiproject.tool.api.ToolManager toolManager,
org.sakaiproject.tool.api.SessionManager sessionManager,
org.sakaiproject.authz.api.SecurityService securityService,
org.sakaiproject.component.api.ServerConfigurationService serverConfigurationService)
Construct a SearchAdminBean, checking permissions first |
Method Summary | |
---|---|
String |
getAdminOptions(String adminOptionsFormat)
Get admin options formatted according to pattern |
String |
getCommandFeedback()
get feedback from the command |
String |
getGlobalMasterDocuments(String rowFormat)
get a list of Global Master documents |
List<MasterRecord> |
getGlobalMasterRecords()
get a list of master objects |
String |
getIndexDocuments(String rowFormat)
get a BIG list of all documents in the index |
String |
getIndexStatus(String statusFormat)
get an HTML fragment representing the status of the index |
List<AdminOption> |
getOptons()
get a list of options for the admin user |
SearchStatus |
getSearchStatus()
get the search status |
String |
getSegmentInfo(String rowFormat)
|
List<Segment> |
getSegments()
get a list of segments |
String |
getSiteMasterDocuments(String rowFormat)
get a list of Site Master Documents |
List<MasterRecord> |
getSiteMasterRecords()
get a list of site master records |
String |
getTitle()
Get the Title of the index |
String |
getWorkers(String rowFormat)
|
List<WorkerThread> |
getWorkerThreads()
get a list of worker threads |
boolean |
isRedirectRequired()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SearchAdminBeanImpl(javax.servlet.http.HttpServletRequest request, SearchService searchService, org.sakaiproject.site.api.SiteService siteService, org.sakaiproject.tool.api.ToolManager toolManager, org.sakaiproject.tool.api.SessionManager sessionManager, org.sakaiproject.authz.api.SecurityService securityService, org.sakaiproject.component.api.ServerConfigurationService serverConfigurationService) throws org.sakaiproject.exception.IdUnusedException, org.sakaiproject.exception.PermissionException
request
- searchService
- siteService
- portalService
-
org.sakaiproject.exception.IdUnusedException
org.sakaiproject.exception.PermissionException
Method Detail |
---|
public String getTitle()
getTitle
in interface SearchAdminBean
public String getIndexStatus(String statusFormat) throws org.sakaiproject.exception.PermissionException
getIndexStatus
in interface SearchAdminBean
statusFormat
- {0} is the Last Load time {1} is how long it took to load {2} is
the current worker node (none if none) {3} is the Latest time of
completion of the worker
org.sakaiproject.exception.PermissionException
public String getWorkers(String rowFormat)
getWorkers
in interface SearchAdminBean
rowFormat
- {0} is the worker name {1} is the latest time the node should
reaapear, after which time the node will be considered overdue and
removed from the list of worker nodes.
public String getIndexDocuments(String rowFormat)
SearchAdminBean
getIndexDocuments
in interface SearchAdminBean
public String getGlobalMasterDocuments(String rowFormat)
SearchAdminBean
getGlobalMasterDocuments
in interface SearchAdminBean
public String getSiteMasterDocuments(String rowFormat)
SearchAdminBean
getSiteMasterDocuments
in interface SearchAdminBean
public String getAdminOptions(String adminOptionsFormat)
getAdminOptions
in interface SearchAdminBean
adminOptionsFormat
- format pattern {0} is the URL, {1} is the text
public String getCommandFeedback()
SearchAdminBean
getCommandFeedback
in interface SearchAdminBean
public String getSegmentInfo(String rowFormat)
getSegmentInfo
in interface SearchAdminBean
public List<MasterRecord> getGlobalMasterRecords()
SearchAdminBean
getGlobalMasterRecords
in interface SearchAdminBean
public List<AdminOption> getOptons()
SearchAdminBean
getOptons
in interface SearchAdminBean
public List<Segment> getSegments()
SearchAdminBean
getSegments
in interface SearchAdminBean
public List<MasterRecord> getSiteMasterRecords()
SearchAdminBean
getSiteMasterRecords
in interface SearchAdminBean
public SearchStatus getSearchStatus()
SearchAdminBean
getSearchStatus
in interface SearchAdminBean
public List<WorkerThread> getWorkerThreads()
SearchAdminBean
getWorkerThreads
in interface SearchAdminBean
public boolean isRedirectRequired()
isRedirectRequired
in interface SearchAdminBean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |