Ejemplo n.º 1
0
    def listMetaDataFields(self, exclude=True):
        """Return a list of metadata fields from catalog
        """

        return DisplayList((
            ('getRequestID', _('Request ID')),
            ('getClientTitle', _('Client Name')),
            ('getContactTitle', _('Contact Name')),
            ('getProfileTitle', _('Analysis Profile')),
            ('getClientOrderNumber', _('Client Order')),
            ('getInvoiced', _('Invoiced')),
            ('review_state', _p('Review state')),
            ('getAnalysisCategory', _p('Analysis Category')),
            ('getAnalysisService', _p('Analysis Service')),
            ('getAnalyst', _('Analyst')),
            ('getClientReference', _('Client Reference')),
            ('getClientSampleID', _('Client Sample ID')),
            ('getSampleTypeTitle', _('Sample Type')),
            ('getSamplePointTitle', _('Sample Point')),
            ('getDateSampled', _('Date Sampled')),
            ('created', _('Date Created')),
            ('getDateReceived', _('Date Received')),
            ('getDatePublished', _('Date Published')),
            ('Creator', _p('Creator')),
        ))
Ejemplo n.º 2
0
    def listMetaDataFields(self, exclude=True):
        """Return a list of metadata fields from catalog.
        """
        #tool = getToolByName(self, ATCT_TOOLNAME)
        #original_list = tool.getMetadataDisplay(exclude)

        return DisplayList((
            ('getAnalysisCategory', _p('Analysis Category')),
            ('getAnalysisService', _p('Analysis Service')),
            ('getAnalysts', _('Analyst')),
            ('getClientOrderNumber', _('Client Order')),
            ('getClientReference', _('Client Reference')),
            ('getClientSampleID', _('Client Sample ID')),
            ('getClientTitle', _('Client')),
            ('getContactTitle', _('Contact')),
            ('Creator', _p('Creator')),
            ('created', _('Date Created')),
            ('getDatePublished', _('Date Published')),
            ('getDateReceived', _('Date Received')),
            ('getDateSampled', _('Date Sampled')),
            ('getProfilesTitle', _('Analysis Profiles')),
            ('getRequestID', _('Request ID')),
            ('getSampleID', _('Sample ID')),
            ('getSamplePointTitle', _('Sample Point')),
            ('getSampleTypeTitle', _('Sample Type')),
            ('review_state', _p('Review state')),
        ))
Ejemplo n.º 3
0
    def listMetaDataFields(self, exclude=True):
        """Return a list of metadata fields from catalog.
        """
        #tool = getToolByName(self, ATCT_TOOLNAME)
        #original_list = tool.getMetadataDisplay(exclude)

        return DisplayList((
            ('getAnalysisCategory', _p('Analysis Category')),
            ('getAnalysisService', _p('Analysis Service')),
            ('getAnalysts', _('Analyst')),
            ('getClientOrderNumber', _('Client Order')),
            ('getClientReference', _('Client Reference')),
            ('getClientSampleID', _('Client Sample ID')),
            ('getClientTitle', _('Client')),
            ('getContactTitle', _('Contact')),
            ('Creator', _p('Creator')),
            ('created', _('Date Created')),
            ('getDatePublished', _('Date Published')),
            ('getDateReceived', _('Date Received')),
            ('getDateSampled', _('Date Sampled')),
            ('getProfileTitle', _('Analysis Profile')),
            ('getRequestID', _('Request ID')),
            ('getSampleID', _('Sample ID')),
            ('getSamplePointTitle', _('Sample Point')),
            ('getSampleTypeTitle', _('Sample Type')),
            ('review_state', _p('Review state')),
        ))
Ejemplo n.º 4
0
    def listMetaDataFields(self, exclude=True):
        """Return a list of metadata fields from catalog
        """

        return DisplayList(
            (
                ("getRequestID", _("Request ID")),
                ("getClientTitle", _("Client Name")),
                ("getContactTitle", _("Contact Name")),
                ("getProfileTitle", _("Analysis Profile")),
                ("getClientOrderNumber", _("Client Order")),
                ("getInvoiced", _("Invoiced")),
                ("review_state", _p("Review state")),
                ("getAnalysisCategory", _p("Analysis Category")),
                ("getAnalysisService", _p("Analysis Service")),
                ("getAnalyst", _("Analyst")),
                ("getClientReference", _("Client Reference")),
                ("getClientSampleID", _("Client Sample ID")),
                ("getSampleTypeTitle", _("Sample Type")),
                ("getSamplePointTitle", _("Sample Point")),
                ("getDateSampled", _("Date Sampled")),
                ("created", _("Date Created")),
                ("getDateReceived", _("Date Received")),
                ("getDatePublished", _("Date Published")),
                ("Creator", _p("Creator")),
            )
        )