Exemple #1
0
 def storageTypes(self, instance=None):
     if instance is None:
         return ateapi.getDisplayList(self,
                                      'storage_types',
                                      add_select=True)
     return ateapi.getDisplayList(instance,
                                  'storage_types',
                                  add_select=True)
 def storageTypes(self, instance=None):
     """Look up the controlled vocabulary for the storage types
     from the properties tool"""
     if instance is None:
         return ateapi.getDisplayList(self,
                                      'storage_types',
                                      add_select=True)
     return ateapi.getDisplayList(instance,
                                  'storage_types',
                                  add_select=True)
 def storageTypes(self, instance=None):
     if instance is None:
         return ateapi.getDisplayList(self, 'storage_types', add_select=True)
     return ateapi.getDisplayList(instance, 'storage_types', add_select=True)
Exemple #4
0
    def identifierTypes(self, instance):
        """Controlled vocabulary for the supported PID systems"""

        return ateapi.getDisplayList(instance,
                                     'identifier_types',
                                     add_select=True)
Exemple #5
0
    def identifierTypes(self, instance):
        """Controlled vocabulary for the supported PID systems"""

        return ateapi.getDisplayList(instance, 'identifier_types', add_select=True)
    def getOSVocab(self):
        """provides the vocabulary for the 'supported_os' field"""

        return ateapi.getDisplayList(self, 'operating_systems', add_select=False)
 def publicationIdentifiers(self, instance=None):
     """
     list of common identifiers for publications
     used as vocabulary for the 'identifiers' field
     """
     return getDisplayList(self, 'publication_identifiers')
Exemple #8
0
 def publicationIdentifiers(self, instance=None):
     """
     list of common identifiers for publications
     used as vocabulary for the 'identifiers' field
     """
     return getDisplayList(self, 'publication_identifiers')
Exemple #9
0
    def getOSVocab(self):
        """provides the vocabulary for the 'supported_os' field"""

        return ateapi.getDisplayList(self,
                                     'operating_systems',
                                     add_select=False)
    def storageTypes(self, instance):
        """Look up the controlled vocabulary for the storage types
        from the properties tool"""

        return ateapi.getDisplayList(instance, "storage_types", add_select=True)
Exemple #11
0
 def storageTypes(self, instance=None):
     """Look up the controlled vocabulary for the storage types
     from the properties tool"""
     if instance is None:
         return ateapi.getDisplayList(self, 'storage_types', add_select=True)
     return ateapi.getDisplayList(instance, 'storage_types', add_select=True)
    def provider_stati(self):
        """provides the vocabulary for the 'provider_status' field"""

        return ateapi.getDisplayList(self, 'provider_stati', add_select=False)