Class AbstractPlugin

    • Constructor Detail

      • AbstractPlugin

        public AbstractPlugin()
    • Method Detail

      • getWorkflowService

        public WorkflowService getWorkflowService()
        Returns an instance of the WorkflowService EJB.
        Returns:
      • mergeFieldList

        public void mergeFieldList​(ItemCollection documentContext,
                                   List valueList,
                                   List<String> fieldList)
        This method merges the values of fieldList into valueList and test for duplicates. If an entry of the fieldList is a single key value, than the values to be merged are read from the corresponding documentContext property e.g. 'namTeam' -> maps the values of the documentContext property 'namteam' into the valueList If an entry of the fieldList is in square brackets, than the comma separated elements are mapped into the valueList e.g. '[user1,user2]' - maps the values 'user1' and 'user2' int the valueList. Also Curly brackets are allowed '{user1,user2}'
        Parameters:
        valueList -
        fieldList -
      • uniqueList

        public List<?> uniqueList​(List<Object> valueList)
        This method removes duplicates and null values from a vector.
        Parameters:
        valueList - - list of elements