Examples of removeEntry()


Examples of org.apache.wicket.AccessStackPageMap.removeEntry()

            // custom, user-defined IPageMapEntry class and cannot
            // contain
            // versioning information, so we just remove the entry.
            if (oldestEntry != null)
            {
              accessPM.removeEntry(oldestEntry);
            }
          }
        }
      }
    }
View Full Code Here

Examples of org.apache.wiki.auth.acl.Acl.removeEntry()

                    entriesToAdd.add(newEntry);
                }
            }
            for (Iterator<AclEntry> ix = entriesToRemove.iterator(); ix.hasNext(); ) {
                AclEntry entry = ix.next();
                acl.removeEntry(entry);
            }
            for (Iterator<AclEntry> ix = entriesToAdd.iterator(); ix.hasNext(); ) {
                AclEntry entry = ix.next();
                acl.addEntry(entry);
            }
View Full Code Here

Examples of org.apache.xml.xmlbeans.x2004.x02.xmlbean.xsdownload.DownloadedSchemasDocument.DownloadedSchemas.removeEntry()

                        if (resource == _resourceForURL.get(urls[j]))
                            _resourceForURL.remove(urls[j]);
                    }
                }

                downloadedSchemas.removeEntry(i);
                i -= 1;
            }
        }
    }
View Full Code Here

Examples of org.apache.xml.xmlbeans.x2004.x02.xmlbean.xsdownload.DownloadedSchemasDocument.DownloadedSchemas.removeEntry()

                        if (resource == _resourceForURL.get(urls[j]))
                            _resourceForURL.remove(urls[j]);
                    }
                }

                downloadedSchemas.removeEntry(i);
                i -= 1;
            }
        }
    }
View Full Code Here

Examples of org.apache.xmlbeans.impl.xb.xsdownload.DownloadedSchemasDocument.DownloadedSchemas.removeEntry()

                        if (resource == _resourceForURL.get(urls[j]))
                            _resourceForURL.remove(urls[j]);
                    }
                }

                downloadedSchemas.removeEntry(i);
                i -= 1;
            }
        }
    }
View Full Code Here

Examples of org.exoplatform.services.jcr.ext.registry.RegistryService.removeEntry()

        element = doc.getDocumentElement();
        String adminIdentity;
        assertNotNull(adminIdentity = element.getAttribute( "value"));
       
        // We remove the new entry to simulate old data structure
        registry.removeEntry(sessionProvider, pathDefault);
       
        AuditServiceImpl as = (AuditServiceImpl) service;
        // We restart the service to make sure that it doesn't fail at startup
        as.stop();
        as.start();
View Full Code Here

Examples of org.hibernate.engine.PersistenceContext.removeEntry()

    //postDelete:
    // After actually deleting a row, record the fact that the instance no longer
    // exists on the database (needed for identity-column key generation), and
    // remove it from the session cache
    final PersistenceContext persistenceContext = session.getPersistenceContext();
    EntityEntry entry = persistenceContext.removeEntry( instance );
    if ( entry == null ) {
      throw new AssertionFailure( "possible nonthreadsafe access to session" );
    }
    entry.postDelete();
View Full Code Here

Examples of org.hibernate.engine.PersistenceContext.removeEntry()

        }
      }
      li.setSession( null );
    }
    else {
      EntityEntry e = persistenceContext.removeEntry( object );
      if ( e != null ) {
        EntityKey key = new EntityKey( e.getId(), e.getPersister(), source.getEntityMode()  );
        persistenceContext.removeEntity( key );
        doEvict( object, key, e.getPersister(), source );
      }
View Full Code Here

Examples of org.hibernate.engine.PersistenceContext.removeEntry()

        }
      }
      li.unsetSession();
    }
    else {
      EntityEntry e = persistenceContext.removeEntry( object );
      if ( e != null ) {
        persistenceContext.removeEntity( e.getEntityKey() );
        doEvict( object, e.getEntityKey(), e.getPersister(), source );
      }
    }
View Full Code Here

Examples of org.hibernate.engine.PersistenceContext.removeEntry()

        }
      }
      li.unsetSession();
    }
    else {
      EntityEntry e = persistenceContext.removeEntry( object );
      if ( e != null ) {
        EntityKey key = new EntityKey( e.getId(), e.getPersister(), source.getEntityMode()  );
        persistenceContext.removeEntity( key );
        doEvict( object, key, e.getPersister(), source );
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.