Tabnine Logo
StackPersistedEvent.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
org.eclipse.che.api.workspace.server.event.StackPersistedEvent
constructor

Best Java code snippets using org.eclipse.che.api.workspace.server.event.StackPersistedEvent.<init> (Showing top 2 results out of 315)

origin: org.eclipse.che.core/che-core-api-workspace

@Transactional(rollbackOn = {RuntimeException.class, ApiException.class})
protected void doCreate(StackImpl stack) throws ConflictException, ServerException {
 if (stack.getWorkspaceConfig() != null) {
  stack.getWorkspaceConfig().getProjects().forEach(ProjectConfigImpl::prePersistAttributes);
 }
 EntityManager manager = managerProvider.get();
 manager.persist(stack);
 manager.flush();
 eventService.publish(new StackPersistedEvent(stack)).propagateException();
}
origin: org.eclipse.che.multiuser/che-multiuser-permission-workspace

@Transactional(rollbackOn = {RuntimeException.class, ApiException.class})
protected void doCreate(StackImpl stack) throws ConflictException, ServerException {
 if (stack.getWorkspaceConfig() != null) {
  stack.getWorkspaceConfig().getProjects().forEach(ProjectConfigImpl::prePersistAttributes);
 }
 EntityManager manager = managerProvider.get();
 manager.persist(stack);
 manager.flush();
 eventService.publish(new StackPersistedEvent(stack)).propagateException();
}
org.eclipse.che.api.workspace.server.eventStackPersistedEvent<init>

Popular methods of StackPersistedEvent

  • propagateException
  • getStack

Popular in Java

  • Running tasks concurrently on multiple threads
  • getResourceAsStream (ClassLoader)
  • addToBackStack (FragmentTransaction)
  • setScale (BigDecimal)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • JFileChooser (javax.swing)
  • JFrame (javax.swing)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Table (org.hibernate.mapping)
    A relational table
  • Github Copilot 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