__init__(self,
session,
node,
parent)
The constructor for all Cheshire3 objects take the same arguments:
session: A Session object topNode: The <config> or
<subConfig> domNode for the configuration parent: The object
that provides the scope for this object.
|
create_record(self,
session,
record=None)
Create a record and assign it a new identifier.
|
replace_record(self,
session,
record)
Permissions checking hook for store_record if the record does not
already exist.
|
store_record(self,
session,
record)
Store an existing record.
|
fetch_record(self,
session,
id,
parser=None)
Return the record with the given identifier.
|
delete_record(self,
session,
id)
Delete the record with the given identifier from storage.
|
fetch_recordSize(self,
session,
id)
Return the size of the record, according to its metadata.
|
fetch_recordChecksum(self,
session,
id,
parser=None)
Return a checksum for the record, if one is available.
|
process_data(self,
session,
id,
data,
parser=None)
|
:
create_object ,
delete_object ,
fetch_object ,
store_object
:
auth_function ,
get_config ,
get_default ,
get_object ,
get_path ,
get_setting ,
log_function ,
unauth_function ,
unlog_function
:
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__str__
|