parameters: (self, group)
return_statement: return getStateList(group)
docstring: Return a list of workflow states classified to a specific group.
docstring_summary: Return a list of workflow states classified to a specific group.
docstring_tokens: Return a list of workflow states classified to a specific group .
function: def _getPortalGroupedStateList(self, group):
      """
      Return a list of workflow states classified to a specific group.
      """
      def getStateList(group):
        state_set = set()
        for wf in self.portal_workflow.objectValues():
          for state in wf.getStateValueList():
            if group in state.getStateTypeList():
              state_set.add(state.getReference())
        return tuple(state_set)
  
      getStateList = CachingMethod(getStateList,
                                   id=('_getPortalGroupedStateList', group),
                                   cache_factory='erp5_content_medium')
      return getStateList(group)
function_tokens: def _getPortalGroupedStateList ( self , group ) : def getStateList ( group ) : state_set = set ( ) for wf in self . portal_workflow . objectValues ( ) : for state in wf . getStateValueList ( ) : if group in state . getStateTypeList ( ) : state_set . add ( state . getReference ( ) ) return tuple ( state_set ) getStateList = CachingMethod ( getStateList , id = ( '_getPortalGroupedStateList' , group ) , cache_factory = 'erp5_content_medium' ) return getStateList ( group )