Documentation
¶
Index ¶
- func SetAspectRdfType(aspect *model.Aspect)
- func SetCharacteristicRdfTypes(characteristic *model.Characteristic)
- func SetConceptRdfTypes(concept *model.Concept)
- func SetDeviceClassRdfType(deviceclass *model.DeviceClass)
- func SetDevicetypeRdfTypes(deviceType *model.DeviceType)
- func SetFunctionRdfType(function *model.Function)
- func SetLocationRdfType(location *model.Location)
- func SetSubCharacteristicRdfTypes(characteristic []model.Characteristic)
- type Controller
- func (this *Controller) DeleteAspect(id string) (err error)
- func (this *Controller) DeleteCharacteristic(id string) (err error)
- func (this *Controller) DeleteConcept(id string, withNested bool) (err error)
- func (this *Controller) DeleteDeviceClass(id string) (err error)
- func (this *Controller) DeleteDeviceType(id string) (err error)
- func (this *Controller) DeleteFunction(id string) (err error)
- func (this *Controller) DeleteLocation(id string) (err error)
- func (this *Controller) GetAspect(id string) (result model.Aspect, err error, errCode int)
- func (this *Controller) GetAspects() (result []model.Aspect, err error, errCode int)
- func (this *Controller) GetAspectsMeasuringFunctions(subject string) (result []model.Function, err error, errCode int)
- func (this *Controller) GetAspectsWithMeasuringFunction() (result []model.Aspect, err error, errCode int)
- func (this *Controller) GetCharacteristic(subject string) (result model.Characteristic, err error, errCode int)
- func (this *Controller) GetConceptWithCharacteristics(subject string) (result model.ConceptWithCharacteristics, err error, errCode int)
- func (this *Controller) GetConceptWithoutCharacteristics(subject string) (result model.Concept, err error, errCode int)
- func (this *Controller) GetDeviceClass(id string) (result model.DeviceClass, err error, errCode int)
- func (this *Controller) GetDeviceClasses() (result []model.DeviceClass, err error, errCode int)
- func (this *Controller) GetDeviceClassesControllingFunctions(subject string) (result []model.Function, err error, errCode int)
- func (this *Controller) GetDeviceClassesFunctions(subject string) (result []model.Function, err error, errCode int)
- func (this *Controller) GetDeviceClassesWithControllingFunctions() (result []model.DeviceClass, err error, errCode int)
- func (this *Controller) GetDeviceType(deviceTypeId string) (result model.DeviceType, err error, errCode int)
- func (this *Controller) GetDeviceTypesFiltered(filter []model.DeviceTypesFilter) (result []model.DeviceType, err error, errCode int)
- func (this *Controller) GetFunction(id string) (result model.Function, err error, errCode int)
- func (this *Controller) GetFunctions(limit int, offset int, search string, direction string) (result model.FunctionList, err error, errCode int)
- func (this *Controller) GetFunctionsByType(funcType string) (result []model.Function, err error, errCode int)
- func (this *Controller) GetLeafCharacteristics() (result []model.Characteristic, err error, errCode int)
- func (this *Controller) GetLocation(id string) (result model.Location, err error, errCode int)
- func (this *Controller) PermissionCheck(token string, id string, permission string, resource string) (err error, code int)
- func (this *Controller) PermissionCheckForLocation(token string, id string, permission string) (err error, code int)
- func (*Controller) RdfXmlFrame(rdfxml string, result interface{}, rootElement string) (err error)
- func (this *Controller) RdfXmlToModel(rdfxml string, result interface{}) (err error)
- func (*Controller) RdfXmlToModelWithContext(rdfxml string, result interface{}, contextDoc map[string]interface{}) (err error)
- func (this *Controller) SetAspect(aspect model.Aspect, owner string) (err error)
- func (this *Controller) SetCharacteristic(conceptId string, characteristic model.Characteristic, owner string) (err error)
- func (this *Controller) SetConcept(concept model.Concept, owner string) (err error)
- func (this *Controller) SetDeviceClass(deviceclass model.DeviceClass, owner string) (err error)
- func (this *Controller) SetDeviceType(deviceType model.DeviceType, owner string) (err error)
- func (this *Controller) SetFunction(function model.Function, owner string) (err error)
- func (this *Controller) SetLocation(location model.Location, owner string) (err error)
- func (this *Controller) ValidateAspect(aspect model.Aspect) (error, int)
- func (this *Controller) ValidateAspects(aspects []model.Aspect) (error, int)
- func (this *Controller) ValidateCharacteristics(characteristic model.Characteristic) (error, int)
- func (this *Controller) ValidateConcept(concept model.Concept) (err error, code int)
- func (this *Controller) ValidateDeviceClass(deviceClass model.DeviceClass) (error, int)
- func (this *Controller) ValidateDeviceType(dt model.DeviceType) (err error, code int)
- func (this *Controller) ValidateFunction(function model.Function) (error, int)
- func (this *Controller) ValidateFunctions(functions []model.Function) (error, int)
- func (this *Controller) ValidateLocation(location model.Location) (error, int)
- func (this *Controller) ValidateService(services []model.Service) (error, int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetCharacteristicRdfTypes ¶
func SetCharacteristicRdfTypes(characteristic *model.Characteristic)
func SetConceptRdfTypes ¶
func SetDeviceClassRdfType ¶
func SetDeviceClassRdfType(deviceclass *model.DeviceClass)
///////////////////////
source
///////////////////////
func SetDevicetypeRdfTypes ¶
func SetDevicetypeRdfTypes(deviceType *model.DeviceType)
func SetSubCharacteristicRdfTypes ¶
func SetSubCharacteristicRdfTypes(characteristic []model.Characteristic)
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func (*Controller) DeleteAspect ¶
func (this *Controller) DeleteAspect(id string) (err error)
func (*Controller) DeleteCharacteristic ¶
func (this *Controller) DeleteCharacteristic(id string) (err error)
func (*Controller) DeleteConcept ¶
func (this *Controller) DeleteConcept(id string, withNested bool) (err error)
func (*Controller) DeleteDeviceClass ¶
func (this *Controller) DeleteDeviceClass(id string) (err error)
func (*Controller) DeleteDeviceType ¶
func (this *Controller) DeleteDeviceType(id string) (err error)
func (*Controller) DeleteFunction ¶
func (this *Controller) DeleteFunction(id string) (err error)
func (*Controller) DeleteLocation ¶
func (this *Controller) DeleteLocation(id string) (err error)
func (*Controller) GetAspects ¶
func (this *Controller) GetAspects() (result []model.Aspect, err error, errCode int)
func (*Controller) GetAspectsMeasuringFunctions ¶
func (*Controller) GetAspectsWithMeasuringFunction ¶
func (this *Controller) GetAspectsWithMeasuringFunction() (result []model.Aspect, err error, errCode int)
func (*Controller) GetCharacteristic ¶
func (this *Controller) GetCharacteristic(subject string) (result model.Characteristic, err error, errCode int)
func (*Controller) GetConceptWithCharacteristics ¶
func (this *Controller) GetConceptWithCharacteristics(subject string) (result model.ConceptWithCharacteristics, err error, errCode int)
func (*Controller) GetConceptWithoutCharacteristics ¶
func (*Controller) GetDeviceClass ¶
func (this *Controller) GetDeviceClass(id string) (result model.DeviceClass, err error, errCode int)
func (*Controller) GetDeviceClasses ¶
func (this *Controller) GetDeviceClasses() (result []model.DeviceClass, err error, errCode int)
func (*Controller) GetDeviceClassesControllingFunctions ¶
func (*Controller) GetDeviceClassesFunctions ¶
func (*Controller) GetDeviceClassesWithControllingFunctions ¶
func (this *Controller) GetDeviceClassesWithControllingFunctions() (result []model.DeviceClass, err error, errCode int)
func (*Controller) GetDeviceType ¶
func (this *Controller) GetDeviceType(deviceTypeId string) (result model.DeviceType, err error, errCode int)
func (*Controller) GetDeviceTypesFiltered ¶
func (this *Controller) GetDeviceTypesFiltered(filter []model.DeviceTypesFilter) (result []model.DeviceType, err error, errCode int)
func (*Controller) GetFunction ¶
func (*Controller) GetFunctions ¶
func (this *Controller) GetFunctions(limit int, offset int, search string, direction string) (result model.FunctionList, err error, errCode int)
func (*Controller) GetFunctionsByType ¶
func (*Controller) GetLeafCharacteristics ¶
func (this *Controller) GetLeafCharacteristics() (result []model.Characteristic, err error, errCode int)
func (*Controller) GetLocation ¶
func (*Controller) PermissionCheck ¶
func (*Controller) PermissionCheckForLocation ¶
func (*Controller) RdfXmlFrame ¶
func (*Controller) RdfXmlFrame(rdfxml string, result interface{}, rootElement string) (err error)
func (*Controller) RdfXmlToModel ¶
func (this *Controller) RdfXmlToModel(rdfxml string, result interface{}) (err error)
deprecated
func (*Controller) RdfXmlToModelWithContext ¶
func (*Controller) RdfXmlToModelWithContext(rdfxml string, result interface{}, contextDoc map[string]interface{}) (err error)
func (*Controller) SetAspect ¶
func (this *Controller) SetAspect(aspect model.Aspect, owner string) (err error)
func (*Controller) SetCharacteristic ¶
func (this *Controller) SetCharacteristic(conceptId string, characteristic model.Characteristic, owner string) (err error)
func (*Controller) SetConcept ¶
func (this *Controller) SetConcept(concept model.Concept, owner string) (err error)
func (*Controller) SetDeviceClass ¶
func (this *Controller) SetDeviceClass(deviceclass model.DeviceClass, owner string) (err error)
func (*Controller) SetDeviceType ¶
func (this *Controller) SetDeviceType(deviceType model.DeviceType, owner string) (err error)
func (*Controller) SetFunction ¶
func (this *Controller) SetFunction(function model.Function, owner string) (err error)
func (*Controller) SetLocation ¶
func (this *Controller) SetLocation(location model.Location, owner string) (err error)
func (*Controller) ValidateAspect ¶
func (this *Controller) ValidateAspect(aspect model.Aspect) (error, int)
func (*Controller) ValidateAspects ¶
func (this *Controller) ValidateAspects(aspects []model.Aspect) (error, int)
func (*Controller) ValidateCharacteristics ¶
func (this *Controller) ValidateCharacteristics(characteristic model.Characteristic) (error, int)
func (*Controller) ValidateConcept ¶
func (this *Controller) ValidateConcept(concept model.Concept) (err error, code int)
func (*Controller) ValidateDeviceClass ¶
func (this *Controller) ValidateDeviceClass(deviceClass model.DeviceClass) (error, int)
func (*Controller) ValidateDeviceType ¶
func (this *Controller) ValidateDeviceType(dt model.DeviceType) (err error, code int)
func (*Controller) ValidateFunction ¶
func (this *Controller) ValidateFunction(function model.Function) (error, int)
func (*Controller) ValidateFunctions ¶
func (this *Controller) ValidateFunctions(functions []model.Function) (error, int)
func (*Controller) ValidateLocation ¶
func (this *Controller) ValidateLocation(location model.Location) (error, int)
func (*Controller) ValidateService ¶
func (this *Controller) ValidateService(services []model.Service) (error, int)
Click to show internal directories.
Click to hide internal directories.