Skip to content

Latest commit

 

History

History
120 lines (73 loc) · 3.26 KB

occi_category_mgr.md

File metadata and controls

120 lines (73 loc) · 3.26 KB

Module occi_category_mgr

.

Copyright (c) (C) 2013, Jean Parpaillon

This file is provided to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Authors: Jean Parpaillon (jean.parpaillon@free.fr).

Function Index

find/1
find_all/0
get/1
hash/1 Starts the supervisor.
init/0
load_schema/2
register_action/1
register_kind/1
register_mixin/1
unregister_mixin/1

Function Details

find/1


find_all/0


find_all() -> {[occi_kind()], [occi_mixin()], [occi_action()]}

get/1


get(Occi_cid::occi_cid()) -> {ok, occi_category()} | {error, term()}

hash/1


hash(Cid::occi_cid()) -> uri()

Starts the supervisor

init/0


init() -> ok

load_schema/2


load_schema(Backend::atom(), Schema::occi_schema()) -> ok | {error, term()}

register_action/1

register_action(Occi_action) -> any()

register_kind/1

register_kind(Occi_kind) -> any()

register_mixin/1

register_mixin(Occi_mixin) -> any()

unregister_mixin/1

unregister_mixin(Occi_mixin) -> any()