congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
AfterDocumentCreatedEvent
Code IndexAdd Tabnine to your IDE (free)

How to use
AfterDocumentCreatedEvent
in
de.tudarmstadt.ukp.clarin.webanno.api.event

Best Java code snippets using de.tudarmstadt.ukp.clarin.webanno.api.event.AfterDocumentCreatedEvent (Showing top 10 results out of 315)

origin: de.tudarmstadt.ukp.inception.app/inception-log

@Override
public long getDocument(AfterDocumentCreatedEvent aEvent)
{
  return aEvent.getDocument().getId();
}

origin: de.tudarmstadt.ukp.inception.app/inception-search-core

@TransactionalEventListener(fallbackExecution = true)
@Transactional
public void afterDocumentCreate(AfterDocumentCreatedEvent aEvent) throws Exception
{
  log.trace("Starting afterDocumentCreate");
  // Schedule new document index process
  indexScheduler.enqueueIndexDocument(aEvent.getDocument(), aEvent.getJcas());
}
origin: de.tudarmstadt.ukp.clarin.webanno/webanno-api-dao

.publishEvent(new AfterDocumentCreatedEvent(this, aDocument, jcas));
origin: webanno/webanno

.publishEvent(new AfterDocumentCreatedEvent(this, aDocument, jcas));
origin: inception-project/inception

@Override
public long getDocument(AfterDocumentCreatedEvent aEvent)
{
  return aEvent.getDocument().getId();
}

origin: inception-project/inception

@TransactionalEventListener(fallbackExecution = true)
@Transactional
public void afterDocumentCreate(AfterDocumentCreatedEvent aEvent) throws Exception
{
  log.trace("Starting afterDocumentCreate");
  // Schedule new document index process
  indexScheduler.enqueueIndexDocument(aEvent.getDocument(), aEvent.getJcas());
}
origin: de.tudarmstadt.ukp.inception.app/inception-log

  @Override
  public long getProject(AfterDocumentCreatedEvent aEvent)
  {
    return aEvent.getDocument().getProject().getId();
  }
}
origin: inception-project/inception

  @Override
  public long getProject(AfterDocumentCreatedEvent aEvent)
  {
    return aEvent.getDocument().getProject().getId();
  }
}
origin: de.tudarmstadt.ukp.clarin.webanno/webanno-api-dao

@TransactionalEventListener(phase = TransactionPhase.BEFORE_COMMIT)
public void onAfterDocumentCreatedEvent(AfterDocumentCreatedEvent aEvent)
{
  projectService.recalculateProjectState(aEvent.getDocument().getProject());
}
origin: webanno/webanno

@TransactionalEventListener(phase = TransactionPhase.BEFORE_COMMIT)
public void onAfterDocumentCreatedEvent(AfterDocumentCreatedEvent aEvent)
{
  projectService.recalculateProjectState(aEvent.getDocument().getProject());
}
de.tudarmstadt.ukp.clarin.webanno.api.eventAfterDocumentCreatedEvent

Most used methods

  • getDocument
  • <init>
  • getJcas

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setRequestProperty (URLConnection)
  • onRequestPermissionsResult (Fragment)
  • getSystemService (Context)
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Top 17 Free Sublime Text Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now