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

How to use
IdentityStoreSession
in
org.jboss.identity.idm.spi.store

Best Java code snippets using org.jboss.identity.idm.spi.store.IdentityStoreSession (Showing top 18 results out of 315)

origin: org.jboss.identity.idm/idm-core

public void clear() throws IdentityException
{
 for (IdentityStoreSession iss : identityStoreSessionMappings.values())
 {
   iss.clear();
 }
}
origin: org.jboss.identity.idm/idm-core

public void close() throws IdentityException
{
 for (IdentityStoreSession identityStoreSession : identityStoreSessionMappings.values())
 {
   identityStoreSession.close();
 }
}
origin: org.jboss.identity.idm/idm-core

public void commit()
{
 sessionWrapper.commitTransaction();
}
origin: org.jboss.identity.idm/idm-core

  public boolean isActive()
  {

   return sessionWrapper.isTransactionActive();
  }
}
origin: org.jboss.identity.idm/idm-core

public boolean isOpen()
{
 for (IdentityStoreSession identityStoreSession : identityStoreSessionMappings.values())
 {
   if (identityStoreSession.isOpen())
   {
    return true;
   }
 }
 return false;
}
origin: org.jboss.identity.idm/idm-core

public void rollback()
{
 sessionWrapper.rollbackTransaction();
}
origin: org.jboss.identity.idm/idm-core

public void start()
{
 sessionWrapper.startTransaction();
}
origin: org.jboss.identity.idm/idm-core

public void save() throws IdentityException
{
 for (IdentityStoreSession iss : identityStoreSessionMappings.values())
 {
   iss.save();
 }
}
origin: org.jboss.identity.idm/idm-core

public boolean isTransactionSupported()
{
 for (IdentityStoreSession identityStoreSession : identityStoreSessionMappings.values())
 {
   if (identityStoreSession.isTransactionSupported())
   {
    return true;
   }
 }
 return false;
}
origin: org.jboss.identity.idm/idm-hibernate

protected Session getHibernateSession(IdentityStoreInvocationContext ctx) throws IdentityException
{
 try
 {
   return ((Session)ctx.getIdentityStoreSession().getSessionContext());
 }
 catch (Exception e)
 {
   throw new IdentityException("Cannot obtain Hibernate Session", e);
 }
}
origin: org.jboss.identity.idm/idm-core

  public boolean isTransactionActive()
  {
   for (IdentityStoreSession identityStoreSession : identityStoreSessionMappings.values())
   {
     if (identityStoreSession.isTransactionActive())
     {
      return true;
     }
   }
   return false;
  }
}
origin: org.jboss.identity.idm/idm-core

public boolean isOpen()
{
 return sessionContext.resolveStoreInvocationContext().getIdentityStoreSession().isOpen();
}
origin: org.jboss.identity.idm/idm-core

public void rollbackTransaction()
{
 for (IdentityStoreSession identityStoreSession : identityStoreSessionMappings.values())
 {
   identityStoreSession.rollbackTransaction();
 }
}
origin: org.jboss.identity.idm/idm-core

public void startTransaction()
{
 for (IdentityStoreSession identityStoreSession : identityStoreSessionMappings.values())
 {
   identityStoreSession.startTransaction();
 }
}
origin: org.jboss.identity.idm/idm-core

public void save() throws IdentityException
{
 sessionContext.resolveStoreInvocationContext().getIdentityStoreSession().save();
}
origin: org.jboss.identity.idm/idm-core

public void commitTransaction()
{
 for (IdentityStoreSession identityStoreSession : identityStoreSessionMappings.values())
 {
   identityStoreSession.commitTransaction();
 }
}
origin: org.jboss.identity.idm/idm-core

public void clear() throws IdentityException
{
 sessionContext.resolveStoreInvocationContext().getIdentityStoreSession().clear();
}
origin: org.jboss.identity.idm/idm-core

public void close() throws IdentityException
{
 sessionContext.resolveStoreInvocationContext().getIdentityStoreSession().close();
}
org.jboss.identity.idm.spi.storeIdentityStoreSession

Most used methods

  • clear
  • close
  • commitTransaction
  • getSessionContext
  • isOpen
  • isTransactionActive
  • isTransactionSupported
  • rollbackTransaction
  • save
  • startTransaction

Popular in Java

  • Making http requests using okhttp
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • addToBackStack (FragmentTransaction)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Top 17 PhpStorm 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