Groovy Documentation

de.dewarim.goblin
[Groovy] Class UserController

java.lang.Object
  de.dewarim.goblin.UserController

@Secured(['ROLE_ADMIN'])
class UserController

NOTE: currently not used, was generated by Security Plugin. Should be refactored or removed. will provide: start page, login, logout, account management


Property Summary
static java.util.Map allowedMethods

java.lang.Object springSecurityService

 
Constructor Summary
UserController()

 
Method Summary
private void addRoles(java.lang.Object person)

private java.util.Map buildPersonModel(java.lang.Object person)

java.lang.Object create()

java.lang.Object delete()

Person delete action.

java.lang.Object edit()

java.lang.Object index()

java.lang.Object list()

java.lang.Object save()

Person save action.

java.lang.Object show()

java.lang.Object update()

Person update action.

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Property Detail

allowedMethods

static java.util.Map allowedMethods


springSecurityService

java.lang.Object springSecurityService


 
Constructor Detail

UserController

UserController()


 
Method Detail

addRoles

private void addRoles(java.lang.Object person)


buildPersonModel

private java.util.Map buildPersonModel(java.lang.Object person)


create

java.lang.Object create()


delete

java.lang.Object delete()
Person delete action. Before removing an existing person, he should be removed from those authorities which he is involved.


edit

java.lang.Object edit()


index

java.lang.Object index()


list

java.lang.Object list()


save

java.lang.Object save()
Person save action.


show

java.lang.Object show()


update

java.lang.Object update()
Person update action.


 

Groovy Documentation