Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CursoService ¶
type CursoService interface { Consultar(criterio *criterio.CriterioCurso) ([]dominio.Curso, int64, error) Cadastrar(curso *dominio.Curso) error Alterar(curso *dominio.Curso) error Excluir(id int64) error }
func NewCursoService ¶
func NewCursoService(em orm.EntityManager) CursoService
type DisciplinaService ¶
type DisciplinaService interface { Consultar(criterio *criterio.CriterioDisciplina) ([]dominio.Disciplina, int64, error) Cadastrar(disciplina *dominio.Disciplina) error Alterar(disciplina *dominio.Disciplina) error Excluir(id int64) error }
func NewDisciplinaService ¶
func NewDisciplinaService(em orm.EntityManager) DisciplinaService
type SegurancaService ¶
func NewSegurancaService ¶
func NewSegurancaService(em orm.EntityManager, certs *util.Certified) SegurancaService
type ServiceFactory ¶
type ServiceFactory interface { GetSegurancaService() SegurancaService GetDisciplinaService() DisciplinaService GetCursoService() CursoService GetTurmaService() TurmaService }
func NewServiceFactory ¶
func NewServiceFactory(em orm.EntityManager, certs *util.Certified) ServiceFactory
type TurmaService ¶
type TurmaService interface { Consultar(criterio *criterio.CriterioTurma) ([]*dominio.Turma, int64, error) Cadastrar(turma *dominio.Turma) error Alterar(turma *dominio.Turma) error Excluir(id int64) error }
func NewTurmaService ¶
func NewTurmaService(em orm.EntityManager) TurmaService
Click to show internal directories.
Click to hide internal directories.