Invalidate / delete all annots of this page.
776258
def _reset_annot_refs(self):
        """"""
        for annot in self._annot_refs.values():
            if annot:
                annot._erase()
        self._annot_refs.clear()
1068869
public static function formDeleteAll() {

		if ( ! empty( $_POST['delete_all_covers'] ) && check_admin_referer( 'pb-delete-all-covers' ) ) {
			\Pressbooks\Utility\truncate_exports( 0, static::getCoversFolder() );
			delete_transient( 'dirsize_cache' ); /** @see get_dirsize() */
		}

		\Pressbooks\Redirect\location( admin_url( 'admin.php?page=pressbooks_cg' ) );
	}
1074457
def destroy(self):
        """"""
        self._refresh_connection()

        self.push_queue = []
        index_name = self.document_class()._get_index()  # pylint: disable=protected-access
        connections.get_connection().indices.delete(index_name, ignore=404)

        self._mapping_created = False
1071517
public function invalidate()
    {
        $this->parent = null;
        $this->ancestors = null;
        $this->descendants = null;
        $this->children = null;
        $this->level = null;
        $this->outlineNumbers = null;
    }
147506
@Invalidate
    public void stop() {
        for (ServiceRegistration<Template> reg : registrations.values()) {
            try {
                reg.unregister();
            } catch (Exception e) { //NOSONAR
                // Ignore it.
            }
        }
        registrations.clear();
    }
809530
public void invalidateAll() throws SecurityException {
        if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_CORE.isLoggable(Level.FINE)) {
            LoggingUtil.SESSION_LOGGER_CORE.logp(Level.FINE, methodClassName, "invalidateAll", "will default to invalidateAll(false)");
        }
        invalidateAll(false);
    }
76443
public function invalidate() {
		$this->incrementor = time();
		\wp_cache_set( $this->incrementor_key, $this->incrementor, $this->group, 0 );
	}
1308364
private void invalidateAllMemorySessions() {

        if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_CORE.isLoggable(Level.FINE)) {
            LoggingUtil.SESSION_LOGGER_CORE.entering(methodClassName, methodNames[INVALIDATE_ALL_MEMORY_SESSIONS], appNameForLogging);
        }

        Set s = _sessions.keySet();
        if (s != null) {
            for (Iterator it = s.iterator(); it.hasNext();) {
                MemorySession ms = (MemorySession) _sessions.get(it.next());
                ms.internalInvalidate(false);
            }
        }
        if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && LoggingUtil.SESSION_LOGGER_CORE.isLoggable(Level.FINE)) {
            LoggingUtil.SESSION_LOGGER_CORE.exiting(methodClassName, methodNames[INVALIDATE_ALL_MEMORY_SESSIONS]);
        }
    }
881344
def close_all_pages(self):
        """"""
        states_to_be_closed = []
        for state_identifier in self.tabs:
            states_to_be_closed.append(state_identifier)
        for state_identifier in states_to_be_closed:
            self.close_page(state_identifier, delete=False)
1046062
def invalidate(*tables, **kwargs):
    """"""
    backend = get_backend()
    db = kwargs.get('using', 'default')

    if backend._patched:
        for t in map(resolve_table, tables):
            backend.keyhandler.invalidate_table(t, db)
713315
public static function flushAll()
    {
        $GLOBALS["CACHE_MANAGER"]->cleanAll();
        $GLOBALS["stackCacheManager"]->cleanAll();
        $staticHtmlCache = StaticHtmlCache::getInstance();
        $staticHtmlCache->deleteAll();
        BXClearCache(true);
    }
145273
function(cssClass) {
        for (var i=0, len=this.invalidHandleClasses.length; i<len; ++i) {
            if (this.invalidHandleClasses[i] == cssClass) {
                delete this.invalidHandleClasses[i];
            }
        }
    }
946227
public void removeAllBusHubs() {
		for (final BusHub busHub : this.validBusHubs) {
			busHub.setContainer(null);
			busHub.setEventFirable(true);
		}
		for (final BusHub busHub : this.invalidBusHubs) {
			busHub.setContainer(null);
			busHub.setEventFirable(true);
		}
		this.validBusHubs.clear();
		this.invalidBusHubs.clear();
		firePrimitiveChanged(new BusChangeEvent(this,
				BusChangeEventType.ALL_HUBS_REMOVED,
				null,
				-1,
				null,
				null,
				null));
		revalidate();
	}
1075188
def deleteLink(self, linkdict):
        """"""
        CheckParent(self)

        val = _fitz.Page_deleteLink(self, linkdict)
        if linkdict["xref"] == 0: return
        linkid = linkdict["id"]
        try:
            linkobj = self._annot_refs[linkid]
            linkobj._erase()
        except:
            pass


        return val
334343
def delete(self):
        
        resp = self._client.delete(type(self).api_endpoint, model=self)

        if 'error' in resp:
            return False
        self.invalidate()
        return True
674957
public void invalidate() {
        if (mInvalid.compareAndSet(false, true)) {
            for (InvalidatedCallback callback : mOnInvalidatedCallbacks) {
                callback.onInvalidated();
            }
        }
    }
439087
void invalidate() {

        if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
            SibTr.entry(this, TRACE, "invalidate");
        }

        _sessionInvalidated = true;

        if (TraceComponent.isAnyTracingEnabled() && TRACE.isEntryEnabled()) {
            SibTr.exit(this, TRACE, "invalidate");
        }

    }