Groovy Documentation

controllers
Class AdminController

java.lang.Object
  controllers.AdminController

class AdminController

The admin action(s).


Property Summary
def administerIndex

Administration actions over wiki area indices.

static Map conf

CoW config

def index

Show the main admin page.

def indexStatus

Shows indexing queue

def indexWikiArea

Perform indexing or delete the index for the given wikiArea.

def indexingService

Service for wiki area search indexing.

def showConfig

Display solrConfig.xml

def showSchema

Showing solr's schema.xml

def showStats

def sventon

Allows administrative access to the sventon browser

def sventonService

Service to control sventon.

 
Constructor Summary
AdminController()

 
Method Summary
boolean checkIfIdIsNull()

if params.id is null, this method renders the appropriate message Returns true if id is null

boolean checkIfSolrIsDisabled()

if solr is disabled, this method renders the appropriate message and returns true; false otherwise

void renderXml(String xmlUrl)

Rendering XML content.

 
Methods inherited from class Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll
 

Property Detail

administerIndex

def administerIndex
Administration actions over wiki area indices.


conf

static Map conf
CoW config


index

def index
Show the main admin page.


indexStatus

def indexStatus
Shows indexing queue


indexWikiArea

def indexWikiArea
Perform indexing or delete the index for the given wikiArea. It expects parameters id and command, e.g.: indexWikiArea?id=1&command=index


indexingService

def indexingService
Service for wiki area search indexing.


showConfig

def showConfig
Display solrConfig.xml


showSchema

def showSchema
Showing solr's schema.xml


showStats

def showStats


sventon

def sventon
Allows administrative access to the sventon browser


sventonService

def sventonService
Service to control sventon.


 
Constructor Detail

AdminController

AdminController()


 
Method Detail

checkIfIdIsNull

boolean checkIfIdIsNull()
if params.id is null, this method renders the appropriate message Returns true if id is null


checkIfSolrIsDisabled

boolean checkIfSolrIsDisabled()
if solr is disabled, this method renders the appropriate message and returns true; false otherwise


renderXml

void renderXml(String xmlUrl)
Rendering XML content.


 

Groovy Documentation