__init__(self,
id='',
parent_id='',
title='',
restricted=False,
creator='',
write_status=WRITE_STATUS_NOT_WRITABLE,
searchable=True,
search_classes=[],
create_classes=[],
storage_medium='',
long_description='',
description='',
publishers=[],
contributors=[],
date='',
relations=[],
rights=[])
(Constructor)
| source code
|
Constructor for the Album class.
- Parameters:
id (string) - unique identifier for the object
parent_id (string) - id of object's parent
title (string) - name of the object
restricted (bool) - True if only CDS can modify the object
creator (string) - content creator or owner
write_status (integer) - modifiability of the resources of this object. Integer parameter
based on WRITE_STATUS_* constants
searchable (bool) - if True, Search action can be performed upon the container
search_classes (list) - list of SearchClass objects
create_classes (list) - list of CreateClass objects
storage_medium (string) - indicates the type of storage used for the content. Possible
values are enumerated on STORAGE_MEDIUM_* variables
long_description (string) - long description
description (string) - description
publishers (list) - list of publishers names
contributors (list) - entities responsible for making contributions to the resource
date (string) - ISO 8601, form YYYY-MM-DD
relations (list) - list of related resource names
rights (list) - rights held in and over the resource
- Overrides:
object.__init__
|