示例#1
0
 def manage_resequenceGraphGroups(self, seqmap=(), origseq=(), REQUEST=None):
     """Reorder the sequence of the groups.
     """
     retval = resequence(self, self.graphGroups(), seqmap, origseq, REQUEST)
     if REQUEST:
         audit('UI.Report.ResequenceGraphGroups', self.id, sequence=seqmap, oldData_={'sequence':origseq})
     return retval
 def manage_resequenceGraphPoints(self, seqmap=(), origseq=(), REQUEST=None):
     """Reorder the sequence of the GraphPoints.
     """
     retval = resequence(self, self.graphPoints(), seqmap, origseq, REQUEST)
     if REQUEST:
         audit('UI.GraphDefinition.ResequenceGraphPoints', self.id, sequence=seqmap, oldData_={'sequence':origseq})
     return retval
 def manage_resequenceGraphPoints(self, seqmap=(), origseq=(), REQUEST=None):
     """Reorder the sequence of the GraphPoints.
     """
     retval = resequence(self, self.graphPoints(), seqmap, origseq, REQUEST)
     if REQUEST:
         audit('UI.GraphDefinition.ResequenceGraphPoints', self.id, sequence=seqmap, oldData_={'sequence':origseq})
     return retval
示例#4
0
 def manage_resequenceGraphDefs(self, seqmap=(), origseq=(), REQUEST=None):
     """ Reorder the sequence of the GraphDefinitions.
     """
     from Products.ZenUtils.Utils import resequence
     retval = resequence(self, self.getGraphDefs(), seqmap, origseq, REQUEST)
     if REQUEST:
         audit('UI.Report.ResequenceGraphDefinitions', self.id, sequence=seqmap, oldData_={'sequence':origseq})
     return retval
 def manage_resequenceCollectionItems(self, seqmap=(), origseq=(),
                                                             REQUEST=None):
     """Reorder the sequence of the items.
     """
     retval = resequence(self, self.collection_items(), seqmap, origseq, REQUEST)
     if REQUEST:
         audit('UI.Collection.ResequenceItems', self.id, sequence=seqmap,
               oldData_={'sequence':origseq})
     return retval
 def manage_resequenceGraphReportElements(self, seqmap=(), origseq=(),
                                 REQUEST=None):
     """Reorder the sequecne of the graphs.
     """
     from Products.ZenUtils.Utils import resequence
     retval = resequence(self, self.elements(), seqmap, origseq, REQUEST)
     if REQUEST:
         audit('UI.Report.ResequenceGraphElements', self.id, sequence=seqmap, oldData_={'sequence':origseq})
     return retval
示例#7
0
 def manage_resequenceGraphDefs(self, seqmap=(), origseq=(), REQUEST=None):
     """ Reorder the sequence of the GraphDefinitions.
     """
     from Products.ZenUtils.Utils import resequence
     retval = resequence(self, self.getGraphDefs(), seqmap, origseq,
                         REQUEST)
     if REQUEST:
         audit('UI.Report.ResequenceGraphDefinitions',
               self.id,
               sequence=seqmap,
               oldData_={'sequence': origseq})
     return retval
示例#8
0
 def manage_resequenceGraphGroups(self,
                                  seqmap=(),
                                  origseq=(),
                                  REQUEST=None):
     """Reorder the sequence of the groups.
     """
     retval = resequence(self, self.graphGroups(), seqmap, origseq, REQUEST)
     if REQUEST:
         audit('UI.Report.ResequenceGraphGroups',
               self.id,
               sequence=seqmap,
               oldData_={'sequence': origseq})
     return retval
示例#9
0
 def manage_resequenceGraphReportElements(self,
                                          seqmap=(),
                                          origseq=(),
                                          REQUEST=None):
     """Reorder the sequecne of the graphs.
     """
     from Products.ZenUtils.Utils import resequence
     retval = resequence(self, self.elements(), seqmap, origseq, REQUEST)
     if REQUEST:
         audit('UI.Report.ResequenceGraphElements',
               self.id,
               sequence=seqmap,
               oldData_={'sequence': origseq})
     return retval
示例#10
0
 def manage_resequenceCollectionItems(self,
                                      seqmap=(),
                                      origseq=(),
                                      REQUEST=None):
     """Reorder the sequence of the items.
     """
     retval = resequence(self, self.collection_items(), seqmap, origseq,
                         REQUEST)
     if REQUEST:
         audit('UI.Collection.ResequenceItems',
               self.id,
               sequence=seqmap,
               oldData_={'sequence': origseq})
     return retval
 def manage_resequenceProcesses(self, seqmap=(), origseq=(), REQUEST=None):
     "resequence the OsProcesses"
     from Products.ZenUtils.Utils import resequence
     return resequence(self, self.getSubOSProcessClassesGen(),
                         seqmap, origseq, REQUEST)
 def manage_resequenceGraphDefs(self, seqmap=(), origseq=(), REQUEST=None):
     """Reorder the sequence of the GraphDefinitions.
     """
     from Products.ZenUtils.Utils import resequence
     return resequence(self, self.getGraphDefs(), seqmap, origseq, REQUEST)
示例#13
0
 def manage_resequenceGraphDefs(self, seqmap=(), origseq=(), REQUEST=None):
     """Reorder the sequence of the GraphDefinitions.
     """
     from Products.ZenUtils.Utils import resequence
     return resequence(self, self.getGraphDefs(),
                         seqmap, origseq, REQUEST)
    def manage_resequenceGraphReportElements(self, seqmap=(), origseq=(), REQUEST=None):
        """Reorder the sequecne of the graphs.
        """
        from Products.ZenUtils.Utils import resequence

        return resequence(self, self.elements(), seqmap, origseq, REQUEST)
示例#15
0
 def manage_resequenceProcesses(self, seqmap=(), origseq=(), REQUEST=None):
     "resequence the OsProcesses"
     from Products.ZenUtils.Utils import resequence
     return resequence(self, self.getSubOSProcessClassesGen(), seqmap,
                       origseq, REQUEST)