|
__init__(self,
url,
create=False,
readonly=False,
force=False)
FIXME: missing docstring. |
source code
|
|
|
create_tag(self,
id)
This method is inherited from core.Package but is unsafe on
cam.Package. |
source code
|
|
|
create_user_tag(self,
id)
FIXME: missing docstring. |
source code
|
|
|
create_annotation_type(self,
id)
FIXME: missing docstring. |
source code
|
|
|
create_relation_type(self,
id)
FIXME: missing docstring. |
source code
|
|
|
|
|
create_relation(self,
id,
mimetype=' x-advene/none ' ,
model=None,
url='
' ,
members=( ) ,
type=None)
FIXME: missing docstring. |
source code
|
|
|
create_list(self,
id,
items=( ) )
This method is inherited from core.Package but is unsafe on
cam.Package. |
source code
|
|
|
create_user_list(self,
id,
items=( ) )
FIXME: missing docstring. |
source code
|
|
|
create_schema(self,
id,
items=( ) )
FIXME: missing docstring. |
source code
|
|
|
|
|
_associate_tag_nowarn(self,
element,
tag)
Allows to call associate_tag internally without raising a warning. |
source code
|
|
|
|
|
_dissociate_tag_nowarn(self,
element,
tag)
Allows to call dissociate_tag internally without raising a warning. |
source code
|
|
|
associate_user_tag(self,
element,
tag)
FIXME: missing docstring. |
source code
|
|
|
dissociate_user_tag(self,
element,
tag)
FIXME: missing docstring. |
source code
|
|
|
_create_type_constraint(self,
package,
type)
Callback invoked on 'created::tag' to automatically create the
type-constraint view associated with annotation/relation types. |
source code
|
|
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|
|
|
|
|
|
|
|
_compute_absolute_url(self,
aliases)
Used by `WithAbsoluteUrlMixin` |
source code
|
|
|
|
|
|
|
_finish_close(self)
FIXME: missing docstring. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
_get_referrers(self)
Return a dict whose keys are backends, and whose values are dicts
whose keys are package ids, and whose keys are packages. |
source code
|
|
|
|
|
|
|
_make_event_delegate(self)
Required by WithEventsMixin. |
source code
|
|
|
_make_transient_backend(self)
FIXME: missing docstring. |
source code
|
|
|
_set_namespaces_with_dict(self,
d)
Set the parser-meta:namespaces metadata with a dict like the one
returned by ``_get_namespaces_as_dict``. |
source code
|
|
|
|
|
_update_backends_dict(self,
_firsttime=False)
FIXME: missing docstring. |
source code
|
|
|
close(self)
Free all external resources used by the package's backend. |
source code
|
|
|
create_import(self,
id,
package)
FIXME: missing docstring. |
source code
|
|
|
create_media(self,
id,
url,
frame_of_reference=' http://advene.liris.cnrs.fr/ns/frame_of_reference/ms;o=0 ' )
FIXME: missing docstring. |
source code
|
|
|
create_query(self,
id,
mimetype,
model=None,
url='
' )
FIXME: missing docstring. |
source code
|
|
|
create_resource(self,
id,
mimetype,
model=None,
url='
' )
FIXME: missing docstring. |
source code
|
|
|
create_view(self,
id,
mimetype,
model=None,
url='
' )
FIXME: missing docstring. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
save(self,
serializer=None)
Save the package to disk if its URL is in the "file:"
scheme. |
source code
|
|
|
save_as(self,
url,
change_url=False,
serializer=None,
erase=False)
Save the package under the given URL (if it is in the 'file:'
scheme). |
source code
|
|
|
|
|
|
|
|
|
_update_caches(self,
old_idref,
new_idref,
element,
relation)
:see-also: `advene.model.core.element.PackageElement._update_caches` |
source code
|
|
|
|
|
get_meta(self,
key,
default=_RAISE)
Return the metadata (string or element) associated to the given key. |
source code
|
|
|
get_meta_id(self,
key,
default=_RAISE,
_return_id=True)
Return the metadata id (string or element) associated to the given
key. |
source code
|
|
|
|
|
|
|
|
|
block_handler(self,
handler_id)
Prevent the handler identified by handler_id to be invoked until it
is unblocked. |
source code
|
|
|
connect(self,
detailed_signal,
handler,
*args)
Connect the given handler to the (optionally detailed) signal. |
source code
|
|
|
disconnect(self,
handler_id)
Disconnect the handler associated to the given handler_id. |
source code
|
|
|
emit(self,
detailed_signal,
*args)
Cause the object to emit the signal specified by detailed_signal. |
source code
|
|
|
emit_lazy(self,
lazy_params)
Like emit, but lazy_params is assumed to be a function returning an
iterable of the params to send to emit. |
source code
|
|
|
|
|
|
|
handler_block(self,
handler_id)
Prevent the handler identified by handler_id to be invoked until it
is unblocked. |
source code
|
|
|
|
|
|
|
has_handler(self,
handler_id)
Return True iff the given handler_id represents a connected handler. |
source code
|
|
|
|
|
|
|
|
|
|