Uses of Interface
org.nuxeo.ecm.directory.Session
-
-
Uses of Session in org.nuxeo.directory.mongodb
Classes in org.nuxeo.directory.mongodb that implement Session Modifier and Type Class Description class
MongoDBSession
MongoDB implementation of aSession
Methods in org.nuxeo.directory.mongodb with parameters of type Session Modifier and Type Method Description void
MongoDBReference. addLinks(String sourceId, List<String> targetIds, Session session)
void
MongoDBReference. addLinks(List<String> sourceIds, String targetId, Session session)
void
MongoDBReference. removeLinksForSource(String sourceId, Session session)
void
MongoDBReference. removeLinksForTarget(String targetId, Session session)
void
MongoDBReference. setSourceIdsForTarget(String targetId, List<String> sourceIds, Session session)
void
MongoDBReference. setTargetIdsForSource(String sourceId, List<String> targetIds, Session session)
-
Uses of Session in org.nuxeo.ecm.automation.core.operations.services.directory
Methods in org.nuxeo.ecm.automation.core.operations.services.directory with parameters of type Session Modifier and Type Method Description protected void
DeleteDirectoryEntries. markObsoleteOrDelete(Session session, String id)
-
Uses of Session in org.nuxeo.ecm.directory
Classes in org.nuxeo.ecm.directory that implement Session Modifier and Type Class Description class
BaseSession
Base session class with helper methods common to all kinds of directory sessions.Fields in org.nuxeo.ecm.directory declared as Session Modifier and Type Field Description protected Session
AbstractDirectory.CSVLoaderConsumer. session
Methods in org.nuxeo.ecm.directory that return Session Modifier and Type Method Description Session
Directory. getSession()
Creates a session for accessing entries in this directory.Session
DirectoryServiceImpl. open(String directoryName)
Session
DirectoryServiceImpl. open(String directoryName, DocumentModel documentContext)
Methods in org.nuxeo.ecm.directory with parameters of type Session Modifier and Type Method Description void
InverseReference. addLinks(String sourceId, List<String> targetIds, Session session)
void
InverseReference. addLinks(List<String> sourceIds, String targetId, Session session)
void
Reference. addLinks(String sourceId, List<String> targetIds, Session session)
Adds the links between the source id and the target idsvoid
Reference. addLinks(List<String> sourceIds, String targetId, Session session)
Adds the links between the source ids and the target idvoid
AbstractDirectory. addSession(Session session)
void
InverseReference. removeLinksForSource(String sourceId, Session session)
void
Reference. removeLinksForSource(String sourceId, Session session)
Removes all the links for a given source idvoid
InverseReference. removeLinksForTarget(String targetId, Session session)
void
Reference. removeLinksForTarget(String targetId, Session session)
Removes all the links for a given target idvoid
AbstractDirectory. removeSession(Session session)
void
InverseReference. setSourceIdsForTarget(String targetId, List<String> sourceIds, Session session)
void
Reference. setSourceIdsForTarget(String targetId, List<String> sourceIds, Session session)
Sets all source ids to be associated to the given target idvoid
InverseReference. setTargetIdsForSource(String sourceId, List<String> targetIds, Session session)
void
Reference. setTargetIdsForSource(String sourceId, List<String> targetIds, Session session)
Sets all target ids to be associated to the given source idConstructors in org.nuxeo.ecm.directory with parameters of type Session Constructor Description CSVLoaderConsumer(String dataLoadingPolicy, Session session, String schema)
-
Uses of Session in org.nuxeo.ecm.directory.api
Methods in org.nuxeo.ecm.directory.api that return Session Modifier and Type Method Description Session
DirectoryService. open(String directoryName)
Opens a session on specified directory.Session
DirectoryService. open(String directoryName, DocumentModel documentContext)
Opens a session on the directory for the specified context. -
Uses of Session in org.nuxeo.ecm.directory.core
Classes in org.nuxeo.ecm.directory.core that implement Session Modifier and Type Class Description class
CoreDirectorySession
Session class for directory on repositoryMethods in org.nuxeo.ecm.directory.core that return Session Modifier and Type Method Description Session
CoreDirectory. getSession()
-
Uses of Session in org.nuxeo.ecm.directory.ldap
Classes in org.nuxeo.ecm.directory.ldap that implement Session Modifier and Type Class Description class
LDAPSession
This class represents a session against an LDAPDirectory.Methods in org.nuxeo.ecm.directory.ldap with parameters of type Session Modifier and Type Method Description void
LDAPReference. addLinks(String sourceId, List<String> targetIds, Session session)
void
LDAPReference. addLinks(List<String> sourceIds, String targetId, Session session)
void
LDAPTreeReference. addLinks(String sourceId, List<String> targetIds, Session session)
NOT IMPLEMENTED: Store new linksvoid
LDAPTreeReference. addLinks(List<String> sourceIds, String targetId, Session session)
void
LDAPReference. removeLinksForSource(String sourceId, Session session)
void
LDAPTreeReference. removeLinksForSource(String sourceId, Session session)
void
LDAPReference. removeLinksForTarget(String targetId, Session session)
void
LDAPTreeReference. removeLinksForTarget(String targetId, Session session)
void
LDAPReference. setSourceIdsForTarget(String targetId, List<String> sourceIds, Session session)
void
LDAPTreeReference. setSourceIdsForTarget(String targetId, List<String> sourceIds, Session session)
void
LDAPReference. setTargetIdsForSource(String sourceId, List<String> targetIds, Session session)
void
LDAPTreeReference. setTargetIdsForSource(String sourceId, List<String> targetIds, Session session)
-
Uses of Session in org.nuxeo.ecm.directory.memory
Classes in org.nuxeo.ecm.directory.memory that implement Session Modifier and Type Class Description class
MemoryDirectorySession
Trivial in-memory implementation of a Directory to use in unit tests. -
Uses of Session in org.nuxeo.ecm.directory.multi
Classes in org.nuxeo.ecm.directory.multi that implement Session Modifier and Type Class Description class
MultiDirectorySession
Directory session aggregating entries from different sources.Methods in org.nuxeo.ecm.directory.multi with parameters of type Session Modifier and Type Method Description void
MultiReference. addLinks(String sourceId, List<String> targetIds, Session session)
void
MultiReference. addLinks(List<String> sourceIds, String targetId, Session session)
void
MultiReference. removeLinksForSource(String sourceId, Session session)
void
MultiReference. removeLinksForTarget(String targetId, Session session)
void
MultiReference. setSourceIdsForTarget(String targetId, List<String> sourceIds, Session session)
void
MultiReference. setTargetIdsForSource(String sourceId, List<String> targetIds, Session session)
-
Uses of Session in org.nuxeo.ecm.directory.sql
Classes in org.nuxeo.ecm.directory.sql that implement Session Modifier and Type Class Description class
SQLSession
This class represents a session against an SQLDirectory.Methods in org.nuxeo.ecm.directory.sql with parameters of type Session Modifier and Type Method Description void
TableReference. addLinks(String sourceId, List<String> targetIds, Session session)
void
TableReference. addLinks(List<String> sourceIds, String targetId, Session session)
void
TableReference. removeLinksForSource(String sourceId, Session session)
void
TableReference. removeLinksForTarget(String targetId, Session session)
void
TableReference. setSourceIdsForTarget(String targetId, List<String> sourceIds, Session session)
void
TableReference. setTargetIdsForSource(String sourceId, List<String> targetIds, Session session)
-
Uses of Session in org.nuxeo.ecm.platform.csv.export.io
Methods in org.nuxeo.ecm.platform.csv.export.io with parameters of type Session Modifier and Type Method Description protected String
DocumentPropertyCSVWriter. getTranslatedValue(Session session, String schema, String lang, String value)
-
Uses of Session in org.nuxeo.ecm.platform.oauth2.clients
Method parameters in org.nuxeo.ecm.platform.oauth2.clients with type arguments of type Session Modifier and Type Method Description protected <T> T
OAuth2ClientServiceImpl. execute(Function<Session,T> function)
protected <T> T
OAuth2ClientServiceImpl. execute(Function<Session,T> function, NuxeoPrincipal principal)
-
Uses of Session in org.nuxeo.ecm.platform.usermanager
Methods in org.nuxeo.ecm.platform.usermanager with parameters of type Session Modifier and Type Method Description protected DocumentModelList
UserManagerImpl. queryWithVirtualEntries(Session session, QueryBuilder queryBuilder, List<DocumentModel> virtualEntries)
Executes a query then adds virtual entries (already supposed to match the query). -
Uses of Session in org.nuxeo.ecm.webengine.ui.tree.directory
Fields in org.nuxeo.ecm.webengine.ui.tree.directory declared as Session Modifier and Type Field Description protected Session
DirectoryContentProvider. session
Methods in org.nuxeo.ecm.webengine.ui.tree.directory that return Session Modifier and Type Method Description Session
DirectoryContentProvider. getSession()
Constructors in org.nuxeo.ecm.webengine.ui.tree.directory with parameters of type Session Constructor Description DirectoryContentProvider(Session session)
-
Uses of Session in org.nuxeo.targetplatforms.core.service
Methods in org.nuxeo.targetplatforms.core.service with parameters of type Session Modifier and Type Method Description abstract void
DirectoryUpdater. run(DirectoryService service, Session session)
-
Uses of Session in org.nuxeo.wopi.lock
Methods in org.nuxeo.wopi.lock that return Session Modifier and Type Method Description protected static Session
LockHelper. openLockDirectorySession()
Methods in org.nuxeo.wopi.lock with parameters of type Session Modifier and Type Method Description protected static Map<String,List<DocumentModel>>
LockHelper. getExpiredLocks(Session session, String repository)
static Map<String,List<DocumentModel>>
LockHelper. getExpiredLocksByRepository(Session session)
Returns the list of expired stored WOPI locks according to theConstants.LOCK_TTL
for each repository.protected void
LockExpirationListener. handleExpiredLock(CoreSession session, Session directorySession, DocumentModel entry)
protected void
LockExpirationListener. handleExpiredLocks(Session directorySession)
Method parameters in org.nuxeo.wopi.lock with type arguments of type Session Modifier and Type Method Description static void
LockHelper. doPrivilegedOnLockDirectory(Consumer<Session> consumer)
Performs the given consumer with a privileged session on the lock directory.static <R> R
LockHelper. doPrivilegedOnLockDirectory(Function<Session,R> function)
Applies the given function with a privileged session on the lock directory.
-