congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
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

  • Running tasks concurrently on multiple threads
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setRequestProperty (URLConnection)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • ImageIO (javax.imageio)
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • CodeWhisperer alternatives
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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