Updates the cp friendly url entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

@param cpFriendlyURLEntry the cp friendly url entry
@return the cp friendly url entry that was updated
194993
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CPFriendlyURLEntry updateCPFriendlyURLEntry(
		CPFriendlyURLEntry cpFriendlyURLEntry) {
		return cpFriendlyURLEntryPersistence.update(cpFriendlyURLEntry);
	}
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);
    }
46414
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CPDefinitionOptionValueRel addCPDefinitionOptionValueRel(
		CPDefinitionOptionValueRel cpDefinitionOptionValueRel) {
		cpDefinitionOptionValueRel.setNew(true);

		return cpDefinitionOptionValueRelPersistence.update(cpDefinitionOptionValueRel);
	}
1120639
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CPRuleUserSegmentRel addCPRuleUserSegmentRel(
		CPRuleUserSegmentRel cpRuleUserSegmentRel) {
		cpRuleUserSegmentRel.setNew(true);

		return cpRuleUserSegmentRelPersistence.update(cpRuleUserSegmentRel);
	}
226828
@Override
	public com.liferay.commerce.product.model.CPDefinitionOptionRel updateCPDefinitionOptionRel(
		com.liferay.commerce.product.model.CPDefinitionOptionRel cpDefinitionOptionRel) {
		return _cpDefinitionOptionRelLocalService.updateCPDefinitionOptionRel(cpDefinitionOptionRel);
	}
1261300
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceSubscriptionEntry addCommerceSubscriptionEntry(
		CommerceSubscriptionEntry commerceSubscriptionEntry) {
		commerceSubscriptionEntry.setNew(true);

		return commerceSubscriptionEntryPersistence.update(commerceSubscriptionEntry);
	}
740407
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CPDefinitionInventory addCPDefinitionInventory(
		CPDefinitionInventory cpDefinitionInventory) {
		cpDefinitionInventory.setNew(true);

		return cpDefinitionInventoryPersistence.update(cpDefinitionInventory);
	}
1282207
static function updateUrlObjectLinks( $contentObjectAttribute, $urlIDArray )
    {
        $objectAttributeID = $contentObjectAttribute->attribute( 'id' );
        $objectAttributeVersion = $contentObjectAttribute->attribute('version');

        // Ensure links that have been removed from the attribute version are removed from the object link table
        $linkObjectLinkList = eZURLObjectLink::fetchLinkObjectList( $objectAttributeID, $objectAttributeVersion );
        foreach ( $linkObjectLinkList as $linkObjectLink ) {
            if ( !in_array( $linkObjectLink->attribute( 'url_id' ), $urlIDArray ) ) {
                $linkObjectLink->remove();
            }
        }

        // Ensure links that have been added to the attribute version are added to the object link table
        foreach( $urlIDArray as $urlID )
        {
            $linkObjectLink = eZURLObjectLink::fetch( $urlID, $objectAttributeID, $objectAttributeVersion );
            if ( $linkObjectLink == null )
            {
                $linkObjectLink = eZURLObjectLink::create( $urlID, $objectAttributeID, $objectAttributeVersion );
                $linkObjectLink->store();
            }
        }
    }
1251738
public void addLinkFromSelectPart(final String _linkFrom)
        throws CacheReloadException
    {
        this.fromSelect = new LinkFromSelect(_linkFrom, getQuery().isCacheEnabled() ? getQuery().getKey() : null);
    }
679839
@Override
	public com.liferay.commerce.product.model.CPFriendlyURLEntry getCPFriendlyURLEntry(
		long CPFriendlyURLEntryId)
		throws com.liferay.portal.kernel.exception.PortalException {
		return _cpFriendlyURLEntryLocalService.getCPFriendlyURLEntry(CPFriendlyURLEntryId);
	}
314824
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CPTaxCategory updateCPTaxCategory(CPTaxCategory cpTaxCategory) {
		return cpTaxCategoryPersistence.update(cpTaxCategory);
	}
1291456
public void updateServiceInstanceUri(String serviceName, String instanceId, String uri, final RegistrationCallback cb, Object context){
        ProtocolHeader header = new ProtocolHeader();
        header.setType(ProtocolType.UpdateServiceInstanceUri);

        UpdateServiceInstanceUriProtocol p = new UpdateServiceInstanceUriProtocol(serviceName, instanceId, uri);
        ProtocolCallback pcb = new ProtocolCallback(){

            @Override
            public void call(boolean result, Response response,
                    ErrorCode error, Object ctx) {
                cb.call(result, error, ctx);
            }

        };
        connection.submitCallbackRequest(header, p, pcb, context);
    }
973689
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CPSpecificationOption updateCPSpecificationOption(
		CPSpecificationOption cpSpecificationOption) {
		return cpSpecificationOptionPersistence.update(cpSpecificationOption);
	}
177290
@Override
	public void clearCache(CPFriendlyURLEntry cpFriendlyURLEntry) {
		entityCache.removeResult(CPFriendlyURLEntryModelImpl.ENTITY_CACHE_ENABLED,
			CPFriendlyURLEntryImpl.class, cpFriendlyURLEntry.getPrimaryKey());

		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);

		clearUniqueFindersCache((CPFriendlyURLEntryModelImpl)cpFriendlyURLEntry,
			true);
	}
565185
@Override
	public com.liferay.commerce.product.model.CPAttachmentFileEntry addCPAttachmentFileEntry(
		com.liferay.commerce.product.model.CPAttachmentFileEntry cpAttachmentFileEntry) {
		return _cpAttachmentFileEntryLocalService.addCPAttachmentFileEntry(cpAttachmentFileEntry);
	}
440232
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CPDefinitionVirtualSetting addCPDefinitionVirtualSetting(
		CPDefinitionVirtualSetting cpDefinitionVirtualSetting) {
		cpDefinitionVirtualSetting.setNew(true);

		return cpDefinitionVirtualSettingPersistence.update(cpDefinitionVirtualSetting);
	}
1177817
@Override
	public com.liferay.commerce.model.CPDAvailabilityEstimate addCPDAvailabilityEstimate(
		com.liferay.commerce.model.CPDAvailabilityEstimate cpdAvailabilityEstimate) {
		return _cpdAvailabilityEstimateLocalService.addCPDAvailabilityEstimate(cpdAvailabilityEstimate);
	}