Updates the disabled state for the given model page.<p>

@param entryId the model page id
@param disabled the disabled state
760705
public void updateModelPageDisabledState(CmsUUID entryId, boolean disabled) {

        if (m_modelPageTreeItems.containsKey(entryId)) {
            m_modelPageTreeItems.get(entryId).setDisabled(disabled);
        } else if (m_parentModelPageTreeItems.containsKey(entryId)) {
            m_parentModelPageTreeItems.get(entryId).setDisabled(disabled);
        }
    }
933126
private void removeEntry(CmsUUID entryId, CmsUUID parentId) {

        CmsClientSitemapEntry entry = getEntryById(entryId);
        CmsClientSitemapEntry deleteParent = getEntryById(parentId);
        removeAllChildren(entry);
        deleteParent.removeSubEntry(entry.getPosition());
        m_entriesById.remove(entryId);
        m_entriesByPath.remove(entry.getSitePath());
        // apply to detailpage table
        CmsDetailPageTable detailPageTable = getData().getDetailPageTable();
        if (detailPageTable.contains(entryId)) {
            detailPageTable.remove(entryId);
        }
    }
437207
private void setState(State newState) {
        m_logger.debug("Entering state: {}", newState.toString());
        synchronized (m_stateChangeLock) {
            m_state = newState;
            m_stateChangeLock.notifyAll();
        }
    }
1115467
public void setInactivity(int inactivity) { // CPF-Inactivity
      if (lock == SET) {
         throw new IllegalStateException("EntryInfo is locked");
      }
      inactivityFlag = SET;
      this.inactivity = inactivity; // Seconds
      if (com.ibm.ws.cache.TimeLimitDaemon.UNIT_TEST_INACTIVITY) {
        System.out.println("EntryInfo.setInactivity() "+inactivity);
      }
   }
1312989
public CmsCategoryTreeEntry getEntryById(CmsUUID id) {

        for (CmsCategoryTreeEntry entry : getFlatList()) {
            if (id.equals(entry.getId())) {
                return entry;
            }
        }
        return null;
    }
558718
public void setEnabled(boolean enabled) {
		super.setEnabled(enabled);
		comboBox.setEnabled(enabled);

		if (spinner != null) {
			spinner.setEnabled(enabled);
		}
	}
1056026
private boolean isEntryDisabled() {

        CmsClientSitemapEntry entry = getHoverbar().getEntry();
        final CmsUUID id = entry.getId();
        return getHoverbar().getController().isEditable() && CmsSitemapView.getInstance().isDisabledModelPageEntry(id);
    }
83045
public void updateSingleEntry(final CmsUUID entryId) {

        CmsRpcAction<CmsClientSitemapEntry> getChildrenAction = new CmsRpcAction<CmsClientSitemapEntry>() {

            /**
            * @see org.opencms.gwt.client.rpc.CmsRpcAction#execute()
            */
            @Override
            public void execute() {

                getService().getChildren(getEntryPoint(), entryId, 0, this);
            }

            /**
            * @see org.opencms.gwt.client.rpc.CmsRpcAction#onResponse(java.lang.Object)
            */
            @Override
            public void onResponse(CmsClientSitemapEntry result) {

                CmsClientSitemapEntry target = getEntryById(entryId);
                if (target == null) {
                    // this might happen after an automated deletion
                    stop(false);
                    return;
                }
                target.update(result);
                CmsSitemapTreeItem item = CmsSitemapTreeItem.getItemById(target.getId());
                item.updateEntry(target);
            }
        };
        getChildrenAction.execute();
    }
893488
public void updateClientId(String clientId) {
        if (configForVM != null) {
            configForVM.withClientId(clientId);
        } else {
            configForAppService.withClientId(clientId);
        }
    }
373155
public void entryUpdated (EntryUpdatedEvent<T> event)
    {
        dispatchMethod(event.getName() + "Updated",
            new Object[] { event.getEntry() });
    }
247482
protected function setStatus(
            string $entryId,
            EntryInterface $entry,
            $response
    ) {
        if ($response === false) {
            $this->monitor->setStatus($entryId, false);
        } else {
            $this->monitor->setStatus($entryId, $entry::succeeded($response));
        }
    }
771565
protected void updateStatus() {
        if (!plugins.isEmpty()) {
            boolean disabled = isDisabled();
            
            for (ElementPlugin container : plugins) {
                container.setDisabled(disabled);
            }
        }
    }
1351191
protected void setPageChanged(boolean changed, boolean unlock) {

        if (changed) {
            if (!m_pageChanged) {
                m_pageChanged = changed;
                lockContainerpage(new I_CmsSimpleCallback<Boolean>() {

                    public void execute(Boolean arg) {

                        // nothing to do
                    }
                });
            }
        } else {
            m_pageChanged = changed;
            if (unlock) {
                unlockContainerpage();
            }
        }
    }
922268
public void handleChange(Object propertyId) {

        try {
            lockOnChange(propertyId);
        } catch (CmsException e) {
            LOG.debug(e);
        }
        if (isDescriptorProperty(propertyId)) {
            m_descriptorHasChanges = true;
        }
        if (isBundleProperty(propertyId)) {
            m_changedTranslations.add(getLocale());
        }

    }
735567
public void updateDetailPageView(CmsClientSitemapEntry entry) {

        CmsDetailPageTable detailPageTable = m_controller.getDetailPageTable();
        List<CmsUUID> idsToUpdate = new ArrayList<CmsUUID>();
        if (m_controller.isDetailPage(entry)) {
            idsToUpdate.add(entry.getId());
            idsToUpdate.addAll(detailPageTable.getAllIds());
        }
        updateEntriesById(idsToUpdate);
    }
132382
public function setEntryState($entryId, $state)
    {
        /** @var SimpleWorkflowEntry $theEntry */
        $theEntry = $this->findEntry($entryId);
        $theEntry->setState($state);
    }
354076
@Override
    public synchronized void add(DiscoveryEntry discoveryEntry) {
        if (discoveryEntry.getDomain() == null || discoveryEntry.getInterfaceName() == null
                || discoveryEntry.getParticipantId() == null) {
            String message = "discoveryEntry being registered is not complete: " + discoveryEntry;
            logger.error(message);
            throw new JoynrCommunicationException(message);
        }

        synchronized (storeLock) {
            String discoveryEntryId = domainInterfaceParticipantIdKey(discoveryEntry.getDomain(),
                                                                      discoveryEntry.getInterfaceName(),
                                                                      discoveryEntry.getParticipantId());
            DiscoveryEntry entry = capabilityKeyToCapabilityMapping.get(discoveryEntryId);
            // check if a DiscoveryEntry with the same Id already exists
            if (entry != null) {
                remove(discoveryEntry.getParticipantId());
            }

            // update participantId to capability mapping
            capabilityKeyToCapabilityMapping.put(discoveryEntryId, discoveryEntry);

            // update time mapping
            registeredCapabilitiesTime.put(discoveryEntryId, System.currentTimeMillis());

            // update interfaceDomain to capability mapping
            String domainInterfaceId = domainInterfaceKey(discoveryEntry.getDomain(),
                                                          discoveryEntry.getInterfaceName());

            // if domainInterfaceId not in the mapping, map it to an empty map,
            // otherwise use the mapping that is  already there
            List<String> newMapping = new ArrayList<String>();
            List<String> mapping = interfaceAddressToCapabilityMapping.putIfAbsent(domainInterfaceId, newMapping);
            if (mapping == null) {
                mapping = newMapping;
            }

            mapping.add(discoveryEntryId);

            // update participantId to capability mapping
            String participantId = discoveryEntry.getParticipantId();

            participantIdToCapabilityMapping.put(participantId, discoveryEntryId);
        }
    }