@@ -50,82 +50,6 @@ def getJobsAttributes(cls, *args, **kwargs):
5050 return res
5151 return S_OK (strToIntDict (res ["Value" ]))
5252
53- ##############################################################################
54- types_getApplicationStates = []
55-
56- @classmethod
57- def export_getApplicationStates (cls , condDict = None , older = None , newer = None ):
58- """Return Distinct Values of ApplicationStatus job Attribute in WMS"""
59- return cls .jobDB .getDistinctJobAttributes ("ApplicationStatus" , condDict , older , newer )
60-
61- ##############################################################################
62- types_getJobTypes = []
63-
64- @classmethod
65- def export_getJobTypes (cls , condDict = None , older = None , newer = None ):
66- """Return Distinct Values of JobType job Attribute in WMS"""
67- return cls .jobDB .getDistinctJobAttributes ("JobType" , condDict , older , newer )
68-
69- ##############################################################################
70- types_getOwners = []
71-
72- @classmethod
73- def export_getOwners (cls , condDict = None , older = None , newer = None ):
74- """
75- Return Distinct Values of Owner job Attribute in WMS
76- """
77- return cls .jobDB .getDistinctJobAttributes ("Owner" , condDict , older , newer )
78-
79- ##############################################################################
80- types_getOwnerGroup = []
81-
82- @classmethod
83- def export_getOwnerGroup (cls ):
84- """
85- Return Distinct Values of OwnerGroup from the JobDB
86- """
87- return cls .jobDB .getDistinctJobAttributes ("OwnerGroup" )
88-
89- ##############################################################################
90- types_getJobGroups = []
91-
92- @classmethod
93- def export_getJobGroups (cls , condDict = None , older = None , cutDate = None ):
94- """
95- Return Distinct Values of ProductionId job Attribute in WMS
96- """
97- return cls .jobDB .getDistinctJobAttributes ("JobGroup" , condDict , older , newer = cutDate )
98-
99- ##############################################################################
100- types_getSites = []
101-
102- @classmethod
103- def export_getSites (cls , condDict = None , older = None , newer = None ):
104- """
105- Return Distinct Values of Site job Attribute in WMS
106- """
107- return cls .jobDB .getDistinctJobAttributes ("Site" , condDict , older , newer )
108-
109- ##############################################################################
110- types_getStates = []
111-
112- @classmethod
113- def export_getStates (cls , condDict = None , older = None , newer = None ):
114- """
115- Return Distinct Values of Status job Attribute in WMS
116- """
117- return cls .jobDB .getDistinctJobAttributes ("Status" , condDict , older , newer )
118-
119- ##############################################################################
120- types_getMinorStates = []
121-
122- @classmethod
123- def export_getMinorStates (cls , condDict = None , older = None , newer = None ):
124- """
125- Return Distinct Values of Minor Status job Attribute in WMS
126- """
127- return cls .jobDB .getDistinctJobAttributes ("MinorStatus" , condDict , older , newer )
128-
12953 ##############################################################################
13054 types_getJobs = []
13155
0 commit comments