Groovy Documentation

de.dewarim.goblin.social
[Groovy] Class MailBoxController

java.lang.Object
  de.dewarim.goblin.BaseController
      de.dewarim.goblin.social.MailBoxController

class MailBoxController
extends BaseController


Constructor Summary
MailBoxController()

 
Method Summary
java.lang.Object archiveMail()

java.lang.Object deleteMail()

MailBox fetchMailBox(PlayerCharacter pc)

Fetch the mailbox specified by params.box (or the inbox).

java.util.List fetchMails(java.lang.Object pc, java.lang.Object box)

java.lang.Object index()

Show mailbox area

java.lang.Object listMails()

render list of mails

java.lang.Object sendMail()

Send a new mail

java.lang.Object sendMessage()

Send a message via AJAX form.

java.lang.Object showBox()

Show a mailbox

java.lang.Object showMail()

render a single mail

java.lang.Object writeMail()

Write a new mail

 
Methods inherited from class BaseController
fetchItem, fetchPc, fetchUser, renderException
 

Constructor Detail

MailBoxController

MailBoxController()


 
Method Detail

archiveMail

@Secured(['ROLE_USER'])
java.lang.Object archiveMail()


deleteMail

@Secured(['ROLE_USER'])
java.lang.Object deleteMail()


fetchMailBox

MailBox fetchMailBox(PlayerCharacter pc)
Fetch the mailbox specified by params.box (or the inbox).
Parameters:
pc - the current PlayerCharacter
Returns:
the requested mailbox or the pc's inbox.


fetchMails

java.util.List fetchMails(java.lang.Object pc, java.lang.Object box)


index

@Secured(['ROLE_USER'])
java.lang.Object index()
Show mailbox area


listMails

@Secured(['ROLE_USER'])
java.lang.Object listMails()
render list of mails


sendMail

@Secured(['ROLE_USER'])
java.lang.Object sendMail()
Send a new mail


sendMessage

@Secured(['ROLE_USER'])
java.lang.Object sendMessage()
Send a message via AJAX form.


showBox

@Secured(['ROLE_USER'])
java.lang.Object showBox()
Show a mailbox


showMail

@Secured(['ROLE_USER'])
java.lang.Object showMail()
render a single mail


writeMail

@Secured(['ROLE_USER'])
java.lang.Object writeMail()
Write a new mail


 

Groovy Documentation