Un-Publish an Entry.

@param entry Entry
@return {@link CMAEntry} result instance
@throws IllegalArgumentException if entry is null.
@throws IllegalArgumentException if entry's id is null.
@throws IllegalArgumentException if entry's space id is null.
184229
public CMAEntry unPublish(CMAEntry entry) {
    assertNotNull(entry, "entry");
    final String entryId = getResourceIdOrThrow(entry, "entry");
    final String spaceId = getSpaceIdOrThrow(entry, "entry");
    final String environmentId = entry.getEnvironmentId();

    return service.unPublish(spaceId, environmentId, entryId).blockingFirst();
  }
819941
public CMAAsset publish(CMAAsset asset) {
    assertNotNull(asset, "asset");
    final String assetId = getResourceIdOrThrow(asset, "asset");
    final String spaceId = getSpaceIdOrThrow(asset, "asset");
    final String environmentId = asset.getEnvironmentId();

    return service.publish(
        asset.getSystem().getVersion(),
        spaceId,
        environmentId,
        assetId
    ).blockingFirst();
  }
1260109
public static <K, V> boolean remove(final Map<K, V> map, Map.Entry<?, ?> entry) {
        return remove(map, entry.getKey(), entry.getValue());
    }
596254
public function removeEntry( $entry, $section = NULL )
	{
		if( !$section )
			$section	= $this->getSectionOfEntry( $entry );
		$index	= $this->getIndex( $entry, $section );
		if( $index === FALSE )
			throw new InvalidArgumentException( 'Entry "'.$entry.'" not found in Section "'.$section.'".' );
		unset( $this->list[$section][$index] );
	}
724747
@Override
    public void unsubscribeAll(EventPublisher source) {
	checkPermission();
	if (source == null) {
	    throw new IllegalArgumentException("Parameter cannot be null");
	}
	super.unsubscribeAll(source);
    }
1204138
public ADDRESST unregisterParticipant(ADDRESST address, EventListener entity) {
		synchronized (mutex()) {
			removeListener(address);
			this.participants.remove(entity.getID(), address);
		}
		return address;
	}
440494
public void removeEntry(AclEntry entry) {
    switch (entry.getType()) {
      case NAMED_USER:
        mNamedUserActions.remove(entry.getSubject());
        return;
      case NAMED_GROUP:
        mNamedGroupActions.remove(entry.getSubject());
        return;
      case MASK:
        if (hasExtended()) {
          throw new IllegalStateException(
              "Deleting the mask for extended ACLs is not allowed. entry: " + entry);
        } else {
          mMaskActions = new AclActions();
        }
        return;
      case OWNING_USER:  // fall through
      case OWNING_GROUP: // fall through
      case OTHER:
        throw new IllegalStateException(
            "Deleting base entry is not allowed. entry: " + entry);
      default:
        throw new IllegalStateException("Unknown ACL entry type: " + entry.getType());
    }
  }
1163945
public Entry remove(Entry removePointer)
  {
    if (tc.isEntryEnabled())
      SibTr.entry(tc, "remove", new Object[] { removePointer });
    
    Entry removedEntry = null;
    
    //check that the entry to be removed is not null and is in this list
    if(contains(removePointer))
    {         
      //call the internal unsynchronized remove method on the entry to be removed.
      removedEntry = removePointer.remove();
    }
    else //if the entry is not found in this list, throw a runtime exception
    {
      SIErrorException e = new SIErrorException(
        nls.getFormattedMessage(
          "INTERNAL_MESSAGING_ERROR_CWSIP0001",
          new Object[] {
            "com.ibm.ws.sib.processor.utils.linkedlist.LinkedList",
            "1:291:1.3" },
          null));
      
      FFDCFilter.processException(
        e,
        "com.ibm.ws.sib.processor.utils.linkedlist.LinkedList.remove",
        "1:297:1.3",
        this);
        
      SibTr.exception(tc, e);   
      SibTr.error(tc, "INTERNAL_MESSAGING_ERROR_CWSIP0001",
        new Object[] {
          "com.ibm.ws.sib.processor.utils.linkedlist.LinkedList",
          "1:304:1.3" });   

      if (tc.isEntryEnabled())
        SibTr.exit(tc, "remove", e);
      
      throw e;
    }
    
    if (tc.isEntryEnabled())
      SibTr.exit(tc, "remove", removedEntry);
    
    //return the object which was removed
    return removedEntry;
  }
855466
public synchronized void remove(Entry entry)
  {
    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.entry(tc, "remove", new Object[] { entry });

    super.remove(entry);
    DestinationHandler dh = (DestinationHandler) entry.data;
    if(dh.isMQLink()) removeFromMQLinkIndex(dh);
    DestinationEntry destEntry = (DestinationEntry) nameIndex.get(dh.getName());
    if(destEntry == entry)
    {
      nameIndex.remove(dh.getName());
    }

    if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
      SibTr.exit(tc, "remove");
  }
1228685
public CmsListItem createDeletedItem(final CmsClientSitemapEntry entry) {

        CmsListInfoBean infoBean = new CmsListInfoBean();
        infoBean.setTitle(entry.getTitle());
        infoBean.setSubTitle(entry.getSitePath());
        infoBean.setResourceType(
            CmsStringUtil.isNotEmptyOrWhitespaceOnly(entry.getDefaultFileType())
            ? entry.getDefaultFileType()
            : entry.getResourceTypeName());
        infoBean.addAdditionalInfo(Messages.get().key(Messages.GUI_NAME_0), entry.getName());
        infoBean.addAdditionalInfo(Messages.get().key(Messages.GUI_VFS_PATH_0), entry.getVfsPath());
        infoBean.setBigIconClasses(entry.getNavModeIcon());
        final CmsListItemWidget itemWidget = new CmsListItemWidget(infoBean);
        CmsListItem listItem = new CmsClipboardDeletedItem(itemWidget, entry);
        CmsPushButton button = new CmsPushButton();
        button.setImageClass(I_CmsButton.RESET);
        button.setTitle(Messages.get().key(Messages.GUI_HOVERBAR_UNDELETE_0));
        button.setButtonStyle(ButtonStyle.FONT_ICON, null);
        button.addClickHandler(new ClickHandler() {

            public void onClick(ClickEvent event) {

                CmsDomUtil.ensureMouseOut(itemWidget.getElement());
                m_clipboardButton.closeMenu();
                CmsSitemapView.getInstance().getController().undelete(entry.getId(), entry.getSitePath());
            }

        });
        itemWidget.addButton(button);
        itemWidget.setStateIcon(StateIcon.standard);
        listItem.setId(entry.getId().toString());
        return listItem;
    }
23697
public void bump(CmsClientSitemapEntry entry) {

        CmsDetailPageTable table = getDetailPageTable().copy();
        table.bump(entry.getId());
        CmsSitemapChange change = new CmsSitemapChange(entry.getId(), entry.getSitePath(), ChangeType.bumpDetailPage);
        change.setDetailPageInfos(table.toList());
        commitChange(change, null);
    }
335128
@Nullable
  private synchronized CloseableReference<V> referenceToClose(Entry<K, V> entry) {
    Preconditions.checkNotNull(entry);
    return (entry.isOrphan && entry.clientCount == 0) ? entry.valueRef : null;
  }
824950
public static byte[] unpackEntry(InputStream is, String name) {
    ByteArrayUnpacker action = new ByteArrayUnpacker();
    if (!handle(is, name, action))
      return null; // entry not found
    return action.getBytes();
  }
1192182
protected boolean removeEntry(Entry e) {
    int hc = extractModifiedHash(e);
    boolean _removed;
    OptimisticLock l = hash.getSegmentLock(hc);
    long _stamp = l.writeLock();
    try {
      _removed = hash.removeWithinLock(e, hc);
      e.setGone();
      if (_removed) {
        eviction.submitWithoutEviction(e);
      }
    } finally {
      l.unlockWrite(_stamp);
    }
    checkForHashCodeChange(e);
    timing.cancelExpiryTimer(e);
    return _removed;
  }
370948
public void remove(Entry entry) {
        entry.priority = null;
        cutAndMakeRoot(entry);
        oMinEntry = entry;
        poll();
    }
61027
@Override
    public ENTRY update(final ENTRY entry) throws CouldNotPerformException {
        if (entry == null) {
            throw new NotAvailableException("entry");
        }
        log("Update " + entry + "...");
        try {
            checkWriteAccess();
            lock();
            try {
                try {
                    // validate update
                    if (!entryMap.containsKey(entry.getId())) {
                        throw new InvalidStateException("Entry not registered!");
                    }
                    // perform update
                    sandbox.update(entry);
                    // check if the new message results in an update after consistency checks
                    final boolean changed = !isSandbox() && ((sandbox instanceof MockRegistrySandbox) || !get(entry).equals(sandbox.get(entry)));
                    pluginPool.beforeUpdate(entry);
                    entryMap.put(entry.getId(), entry);
                    finishTransaction();
                    pluginPool.afterUpdate(entry);
                    // test if the entry has changed at all by this update method
                    if (changed) {
                        notifySuccessfulTransaction();
                    }
                } finally {
                    syncSandbox();
                }
            } finally {
                unlock();
            }
        } catch (CouldNotPerformException ex) {
            throw new CouldNotPerformException("Could not update " + entry + " in " + this + "!", ex);
        }
        notifyObservers();
        return get(entry);
    }
1154592
private OriginalMapping getOriginalMappingForEntry(Entry entry) {
    if (entry.getSourceFileId() == UNMAPPED) {
      return null;
    } else {
      // Adjust the line/column here to be start at 1.
      Builder x = OriginalMapping.newBuilder()
        .setOriginalFile(sources[entry.getSourceFileId()])
        .setLineNumber(entry.getSourceLine() + 1)
        .setColumnPosition(entry.getSourceColumn() + 1);
      if (entry.getNameId() != UNMAPPED) {
        x.setIdentifier(names[entry.getNameId()]);
      }
      return x.build();
    }
  }