Module m_rsc_import

Importing non-authoritative things into the system.

Copyright 2010 Arjan Scherpenisse

Authors: Arjan Scherpenisse (arjan@scherpenisse.net).

Description

Importing non-authoritative things into the system.

Function Index

create_empty/2Create an empty, non-authoritative resource, with the given uri.
create_empty/3
import/2Import given resource.

Function Details

create_empty/2

create_empty(Uri, Context) -> {ok, Id} | {error, Reason}

Create an empty, non-authoritative resource, with the given uri.

create_empty/3

create_empty(Uri, Props, Context) -> any()

import/2

import(RscImport::rsc_export(), Context) -> {ok, Id} | {error, Reason}

Import given resource. resource must already exist and be non-authoritative. URIs must match.


Generated by EDoc, Nov 22 2014, 05:16:46.