Back to index

plone3  3.1.7
Static Public Attributes | Properties | Private Member Functions | Static Private Attributes
CMFDefault.browser.metadata.MetadataSchemaAdapter Class Reference
Inheritance diagram for CMFDefault.browser.metadata.MetadataSchemaAdapter:
Inheritance graph
Collaboration diagram for CMFDefault.browser.metadata.MetadataSchemaAdapter:
Collaboration graph

List of all members.

Static Public Attributes

tuple identifier
tuple title = ProxyFieldProperty(IMetadataSchema['title'], 'Title', 'setTitle')
tuple description
tuple subject
tuple contributors
tuple created = ProxyFieldProperty(IMetadataSchema['created'])
tuple modified = ProxyFieldProperty(IMetadataSchema['modified'])
tuple format
tuple language
tuple rights


 allow_discussion = property(_getAllowDiscussion, _setAllowDiscussion)
 effective = property(_getEffective, _effective.__set__)
 expires = property(_getExpires, _expires.__set__)

Private Member Functions

def _getEffective
def _getExpires
def _getAllowDiscussion
def _setAllowDiscussion

Static Private Attributes

tuple _effective
tuple _expires

Detailed Description

Adapter for IMutableDublinCore.

Definition at line 148 of file

Member Function Documentation

Definition at line 171 of file

00172     def _getAllowDiscussion(self):
00173         context = aq_self(self.context)
00174         return getattr(context, 'allow_discussion', None)

Here is the call graph for this function:

Definition at line 161 of file

00162     def _getEffective(self):
00163         if self.context.EffectiveDate() == 'None':
00164             return None
00165         return self._effective

Definition at line 166 of file

00167     def _getExpires(self):
00168         if self.context.ExpirationDate() == 'None':
00169             return None
00170         return self._expires

Definition at line 175 of file

00176     def _setAllowDiscussion(self, value):
00177         dtool = getUtility(IDiscussionTool)
00178         dtool.overrideDiscussionFor(self.context, value)

Here is the call graph for this function:

Member Data Documentation

Initial value:
                                    'effective', 'setEffectiveDate')

Definition at line 156 of file

Initial value:
                                  'expires', 'setExpirationDate')

Definition at line 158 of file

Initial value:
                                      'listContributors', 'setContributors')

Definition at line 187 of file

Definition at line 189 of file

Initial value:
                                     'Description', 'setDescription')

Definition at line 183 of file

Initial value:
                                     'Format', 'setFormat')

Definition at line 193 of file

Initial value:

Definition at line 180 of file

Initial value:
                                     'Language', 'setLanguage')

Definition at line 195 of file

Definition at line 190 of file

Initial value:
                                     'Rights', 'setRights')

Definition at line 197 of file

Initial value:
                                 'Subject', 'setSubject')

Definition at line 185 of file

tuple CMFDefault.browser.metadata.MetadataSchemaAdapter.title = ProxyFieldProperty(IMetadataSchema['title'], 'Title', 'setTitle') [static]

Definition at line 182 of file

Property Documentation

Definition at line 179 of file

Definition at line 191 of file

Definition at line 192 of file

The documentation for this class was generated from the following file: