Method which is called after the publish list has been received from the server.<p>

@param groups the groups of the publish list
541215
public void onReceivePublishList(CmsPublishGroupList groups) {

        m_publishSelectPanel.setGroupList(groups, true, groups.getOverrideWorkflowId());
        setPanel(PANEL_SELECT);
        if (!isVisible()) {
            center();
        }
    }
955073
protected void setGroups(List<CmsPublishGroup> groups, boolean newData, String defaultWorkflow) {

        m_model = new CmsPublishDataModel(groups, this);
        m_model.setSelectionChangeAction(new Runnable() {

            public void run() {

                onChangePublishSelection();
            }
        });
        m_currentGroupIndex = 0;
        m_currentGroupPanel = null;
        m_problemsPanel.clear();
        if (newData) {
            m_showProblemsOnly = false;
            m_checkboxProblems.setChecked(false);
            m_checkboxProblems.setVisible(false);
            m_problemsPanel.setVisible(false);
        }
        m_groupPanels.clear();
        m_groupPanelContainer.clear();
        m_scrollPanel.onResizeDescendant();
        enableActions(false);

        int numGroups = groups.size();
        setResourcesVisible(numGroups > 0);

        if (numGroups == 0) {
            return;
        }
        enableActions(true);
        addMoreListItems();
        showProblemCount(m_model.countProblems());

        if (defaultWorkflow != null) {
            m_workflowSelector.setFormValue(defaultWorkflow, false);
            m_publishDialog.setWorkflowId(defaultWorkflow);
            m_actions = m_publishDialog.getSelectedWorkflow().getActions();
            m_publishDialog.setPanel(CmsPublishDialog.PANEL_SELECT);
        }
    }
632437
public void setBillingGroups(java.util.Collection<GroupNameAndArn> billingGroups) {
        if (billingGroups == null) {
            this.billingGroups = null;
            return;
        }

        this.billingGroups = new java.util.ArrayList<GroupNameAndArn>(billingGroups);
    }
487195
public void setUserGroups(CmsObject cms) {

        if (getUser() != null) {
            try {
                m_groups = cms.getGroupsOfUser(getUser().getName(), false);
            } catch (CmsException e) {
                // failed to set user groups
            }
        }
    }
1084736
public void onItemGroup(ItemGroup<?> group) {
        for (Item i : group.getItems())
            if (i.hasPermission(Item.READ))
                onItem(i);
    }
581084
public void setGroupList(CmsPublishGroupList groups, boolean newData, String defaultWorkflow) {

        if (groups.getToken() == null) {
            setGroups(groups.getGroups(), newData, defaultWorkflow);
            setShowResources(true, "");
        } else {
            setShowResources(false, groups.getTooManyResourcesMessage());
        }
        boolean isDirectPublish = m_publishDialog.getPublishOptions().getProjectId().equals(m_directPublishId);
        m_checkboxAddContents.setVisible(isDirectPublish);
    }
1183422
public void setUserGroup(String userGroup) {

        CmsGroup group = checkGroup(userGroup);
        if (group != null) {
            m_project.setGroupId(group.getId());
        }
    }
833694
public OperationFuture<List<Server>> reboot(Group... groups) {
        return serverService().reboot(
            getServerSearchCriteria(groups)
        );
    }
869722
public static void removeGroupColumns(List<String> selectColumns, List<String> groups) {		
		List<String> removedGroups = new ArrayList<String>();	
		for (String group : groups) {			
			if (!containsColumnByAlias(selectColumns, group)) {
				removedGroups.add(group);
			}
		}		
		groups.removeAll(removedGroups);		
	}
787420
public void removeGroup(String group) {
        if (worldGroupExist(group)) {
            Common.getInstance().getStorageHandler().getStorageEngine().removeWorldGroup(group);
            list.remove(group);
        }
    }
1090052
public void setLoadBalancerTargetGroups(java.util.Collection<LoadBalancerTargetGroupState> loadBalancerTargetGroups) {
        if (loadBalancerTargetGroups == null) {
            this.loadBalancerTargetGroups = null;
            return;
        }

        this.loadBalancerTargetGroups = new com.amazonaws.internal.SdkInternalList<LoadBalancerTargetGroupState>(loadBalancerTargetGroups);
    }
1256545
public void setWorkGroups(java.util.Collection<WorkGroupSummary> workGroups) {
        if (workGroups == null) {
            this.workGroups = null;
            return;
        }

        this.workGroups = new java.util.ArrayList<WorkGroupSummary>(workGroups);
    }
468029
public void setClusterSubnetGroups(java.util.Collection<ClusterSubnetGroup> clusterSubnetGroups) {
        if (clusterSubnetGroups == null) {
            this.clusterSubnetGroups = null;
            return;
        }

        this.clusterSubnetGroups = new com.amazonaws.internal.SdkInternalList<ClusterSubnetGroup>(clusterSubnetGroups);
    }
658916
protected function publishes(array $paths, $groups = null)
    {
        $this->ensurePublishArrayInitialized($class = static::class);

        static::$publishes[$class] = array_merge(static::$publishes[$class], $paths);

        if (! is_null($groups)) {
            foreach ((array) $groups as $group) {
                $this->addPublishGroup($group, $paths);
            }
        }
    }
284353
public void setIncludegroups(String includeGroups) {

        if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(includeGroups)) {
            m_includegroups = Boolean.valueOf(includeGroups).booleanValue();
        }
    }
203402
public void setDBClusterParameterGroups(java.util.Collection<DBClusterParameterGroup> dBClusterParameterGroups) {
        if (dBClusterParameterGroups == null) {
            this.dBClusterParameterGroups = null;
            return;
        }

        this.dBClusterParameterGroups = new com.amazonaws.internal.SdkInternalList<DBClusterParameterGroup>(dBClusterParameterGroups);
    }
480639
private static void addMimeGroups(String... groups) {
        for (String mimeType : EXTENSIONS.values()) {
            for (String group : groups) {
                if (mimeType.startsWith(group) && !COMPRESSED_MIME.contains(mimeType)) {
                    COMPRESSED_MIME.add(mimeType);
                }
            }
        }
    }