controllers

package
v0.0.0-...-9951748 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2015 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

View Source
const (
	Success = 0 + iota
	Error
)

Variables

This section is empty.

Functions

func GetGridJson

func GetGridJson(c *revel.Controller, count int, data interface{}) revel.Result

Types

type App

type App struct {
	BaseCollection
}

func (App) Index

func (c App) Index() revel.Result

func (App) Role

func (a App) Role() revel.Result

type BaseCollection

type BaseCollection struct {
	*revel.Controller
}

type Docker

type Docker struct {
	BaseCollection
}

func (Docker) Index

func (d Docker) Index() revel.Result

func (Docker) MachineAdd

func (d Docker) MachineAdd(machine *modules.Machine) revel.Result

type GridJson

type GridJson struct {
	// contains filtered or unexported fields
}

type System

type System struct {
	BaseCollection
}

func (System) AddRole

func (r System) AddRole(role *modules.Role) revel.Result

func (System) Dep

func (s System) Dep() revel.Result

==========================================分割线===========================

func (System) DepDelete

func (s System) DepDelete(id bson.ObjectId) revel.Result

func (System) DepEdit

func (s System) DepEdit(dep *modules.Department) revel.Result

func (System) DepInfo

func (s System) DepInfo(id bson.ObjectId) revel.Result

func (System) DepInsert

func (s System) DepInsert(dep *modules.Department) revel.Result

func (System) DepTree

func (s System) DepTree() revel.Result

func (System) DepTreeUsed

func (s System) DepTreeUsed() revel.Result

func (System) EditRole

func (s System) EditRole(role *modules.Role) revel.Result

func (System) FuncDelete

func (s System) FuncDelete(id bson.ObjectId) revel.Result

func (System) FuncInfo

func (s System) FuncInfo(id bson.ObjectId) revel.Result

func (System) FuncInsert

func (s System) FuncInsert(function *modules.Function) revel.Result

========================================================================================

func (System) FuncSelect

func (s System) FuncSelect(moduleid string) revel.Result

func (System) FuncUpdate

func (s System) FuncUpdate(function *modules.Function) revel.Result

func (System) GetRoleInfo

func (r System) GetRoleInfo(id bson.ObjectId) revel.Result

func (System) GetRoleTreeJson

func (s System) GetRoleTreeJson() revel.Result

func (System) ModelTree

func (s System) ModelTree() revel.Result

func (System) ModelTreeUsed

func (s System) ModelTreeUsed() revel.Result

func (System) Module

func (s System) Module() revel.Result

==============================================================================

func (System) ModuleDelete

func (s System) ModuleDelete(id bson.ObjectId) revel.Result

func (System) ModuleInfo

func (s System) ModuleInfo(id bson.ObjectId) revel.Result

func (System) ModuleInsert

func (s System) ModuleInsert(module *modules.Module) revel.Result

func (System) ModuleUpdate

func (s System) ModuleUpdate(module *modules.Module) revel.Result

func (System) Role

func (s System) Role() revel.Result

func (System) RoleDelete

func (s System) RoleDelete(id bson.ObjectId) revel.Result

func (System) RoleFunc

func (s System) RoleFunc(roleID, moduleID string) revel.Result

func (System) RoleModule

func (s System) RoleModule(roleID string) revel.Result

func (System) RolePerFuncDelete

func (s System) RolePerFuncDelete(id bson.ObjectId) revel.Result

func (System) RolePerModuleAdd

func (s System) RolePerModuleAdd(RoleID, RoleCode, ModuleID string) revel.Result

========================================================================================

func (System) RolePerModuleDelete

func (s System) RolePerModuleDelete(id bson.ObjectId) revel.Result

func (System) UserInfo

func (s System) UserInfo(id bson.ObjectId) revel.Result

func (System) UserInsert

func (s System) UserInsert(user *modules.User) revel.Result

func (System) UserSelect

func (s System) UserSelect(key string, depIds string, pageIndex, pageSize int) revel.Result

===========================================================================

func (System) UserUpdate

func (s System) UserUpdate(user *modules.User) revel.Result

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL