Modifier and Type | Method and Description |
---|---|
void |
MongoDBReference.addLinks(List<String> sourceIds,
String targetId) |
void |
MongoDBReference.addLinks(List<String> sourceIds,
String targetId,
Session session) |
void |
MongoDBReference.addLinks(String sourceId,
List<String> targetIds) |
void |
MongoDBReference.addLinks(String sourceId,
List<String> targetIds,
Session session) |
boolean |
MongoDBSession.authenticate(String username,
String password) |
void |
MongoDBSession.close() |
void |
MongoDBSession.deleteEntryWithoutReferences(String id) |
protected MongoDBSession |
MongoDBReference.getMongoDBSession() |
Session |
MongoDBDirectory.getSession() |
List<String> |
MongoDBReference.getSourceIdsForTarget(String targetId) |
List<String> |
MongoDBReference.getTargetIdsForSource(String sourceId) |
List<String> |
MongoDBReference.getTargetIdsForSource(String sourceId,
MongoDBSession session)
Retrieves all target ids associated to the given source id
|
DocumentModelList |
MongoDBSession.query(Map<String,Serializable> filter,
Set<String> fulltext,
Map<String,String> orderBy,
boolean fetchReferences) |
DocumentModelList |
MongoDBSession.query(Map<String,Serializable> filter,
Set<String> fulltext,
Map<String,String> orderBy,
boolean fetchReferences,
int limit,
int offset) |
void |
MongoDBReference.removeLinksForSource(String sourceId) |
void |
MongoDBReference.removeLinksForTarget(String targetId) |
void |
MongoDBReference.removeLinksForTarget(String targetId,
Session session) |
void |
MongoDBReference.setSourceIdsForTarget(String targetId,
List<String> sourceIds) |
void |
MongoDBReference.setSourceIdsForTarget(String targetId,
List<String> sourceIds,
Session session) |
void |
MongoDBReference.setTargetIdsForSource(String sourceId,
List<String> targetIds) |
void |
MongoDBReference.setTargetIdsForSource(String sourceId,
List<String> targetIds,
Session session) |
protected List<String> |
MongoDBSession.updateEntryWithoutReferences(DocumentModel docModel) |
Modifier and Type | Method and Description |
---|---|
void |
DirectoryBasedEditor.createEntry() |
void |
DirectoryBasedEditor.deleteEntry(String entryId) |
void |
DirectoryBasedEditor.editEntry(String entryId) |
DocumentModelList |
DirectoryBasedEditor.getEntries() |
void |
DirectoryBasedEditor.saveEntry() |
Modifier and Type | Class and Description |
---|---|
class |
DirectoryDeleteConstraintException
Exception thrown when attempting to delete a directory entry which has constraints preventing the deletion.
|
class |
DirectoryEntryNotFoundException
Specific exception thrown when a directory entry is not found
|
class |
DirectorySecurityException
Exception thrown when access to a directory is denied.
|
class |
SizeLimitExceededException |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
EntryAdaptor.adapt(Directory directory,
DocumentModel entry)
Apply an arbitrary transformation of the fetched entry.
|
void |
Reference.addLinks(List<String> sourceIds,
String targetId) |
void |
InverseReference.addLinks(List<String> sourceIds,
String targetId) |
void |
Reference.addLinks(List<String> sourceIds,
String targetId,
Session session)
Adds the links between the source ids and the target id
|
void |
InverseReference.addLinks(List<String> sourceIds,
String targetId,
Session session) |
void |
Reference.addLinks(String sourceId,
List<String> targetIds) |
void |
InverseReference.addLinks(String sourceId,
List<String> targetIds) |
void |
Reference.addLinks(String sourceId,
List<String> targetIds,
Session session)
Adds the links between the source id and the target ids
|
void |
InverseReference.addLinks(String sourceId,
List<String> targetIds,
Session session) |
boolean |
Session.authenticate(String username,
String password)
Checks that the credentials provided by the UserManager match those registered in the directory.
|
boolean |
HierarchicalDirectoryDeleteConstraint.canDelete(DirectoryService dirService,
String entryId) |
protected void |
InverseReference.checkDualReference() |
void |
Session.close()
Closes the session and all open result sets obtained from this session.
|
DocumentModel |
Session.createEntry(Map<String,Object> fieldMap)
Creates an entry in a directory.
|
DocumentModel |
BaseSession.createEntry(Map<String,Object> fieldMap) |
void |
Session.deleteEntry(DocumentModel docModel)
Deletes a directory entry.
|
void |
BaseSession.deleteEntry(DocumentModel docModel) |
void |
Session.deleteEntry(String id)
Deletes a directory entry by id.
|
void |
BaseSession.deleteEntry(String id) |
void |
Session.deleteEntry(String id,
Map<String,String> map)
Deprecated.
since 9.2 (unused), use
Session.deleteEntry(String) instead. |
void |
BaseSession.deleteEntry(String id,
Map<String,String> map)
Deprecated.
|
protected abstract void |
BaseSession.deleteEntryWithoutReferences(String id)
To be implemented for specific deletion.
|
DirectoryCache |
Directory.getCache()
Gets the cache instance of the directory
|
DirectoryDeleteConstraint |
DirectoryDeleteConstraintDescriptor.getDeleteConstraint() |
List<DirectoryDeleteConstraint> |
BaseDirectoryDescriptor.getDeleteConstraints() |
String |
DirectoryServiceImpl.getDirectoryIdField(String directoryName) |
protected Directory |
DirectoryServiceImpl.getDirectoryOrFail(String name) |
protected Directory |
DirectoryServiceImpl.getDirectoryOrFail(String id,
DocumentModel documentContext) |
String |
DirectoryServiceImpl.getDirectoryPasswordField(String directoryName) |
String |
DirectoryServiceImpl.getDirectorySchema(String directoryName) |
DocumentModelList |
Session.getEntries()
Deprecated.
since 6.0 Use query method instead with parameters
|
DocumentModelList |
BaseSession.getEntries() |
DocumentModel |
Session.getEntry(String id)
Retrieves a directory entry using its id.
|
DocumentModel |
BaseSession.getEntry(String id) |
DocumentModel |
Session.getEntry(String id,
boolean fetchReferences)
Retrieves a directory entry using its id.
|
DocumentModel |
BaseSession.getEntry(String id,
boolean fetchReferences) |
DocumentModel |
DirectoryCache.getEntry(String entryId,
EntrySource source) |
DocumentModel |
DirectoryCache.getEntry(String entryId,
EntrySource source,
boolean fetchReferences) |
DocumentModel |
EntrySource.getEntryFromSource(String entryId,
boolean fetchReferences) |
DocumentModel |
BaseSession.getEntryFromSource(String id,
boolean fetchReferences) |
String |
Directory.getIdField()
Gets the id field of the schema for this directory.
|
String |
Directory.getName()
Gets the unique name of the directory, used for registering.
|
String |
Directory.getParentDirectory()
Gets the name of the parent directory.
|
String |
DirectoryServiceImpl.getParentDirectoryName(String directoryName) |
String |
Directory.getPasswordField()
Gets the password field of the schema for this directory.
|
List<String> |
Session.getProjection(Map<String,Serializable> filter,
Set<String> fulltext,
String columnName) |
List<String> |
BaseSession.getProjection(Map<String,Serializable> filter,
Set<String> fulltext,
String columnName) |
List<String> |
Session.getProjection(Map<String,Serializable> filter,
String columnName)
Executes a query using filter and return only the column columnName.
|
List<String> |
BaseSession.getProjection(Map<String,Serializable> filter,
String columnName) |
Reference |
Directory.getReference(String referenceFieldName)
Deprecated.
since 7.4, kept for compatibility with old code, use
Directory.getReferences(String) instead |
Collection<Reference> |
Directory.getReferences()
Lookup all References defined on the directory.
|
List<Reference> |
Directory.getReferences(String referenceFieldName)
Lookup the References by field name.
|
String |
Directory.getSchema()
Gets the schema name used by this directory.
|
Session |
Directory.getSession()
Creates a session for accessing entries in this directory.
|
Directory |
Reference.getSourceDirectory() |
Directory |
AbstractReference.getSourceDirectory() |
List<String> |
Reference.getSourceIdsForTarget(String targetId) |
List<String> |
InverseReference.getSourceIdsForTarget(String targetId) |
Directory |
Reference.getTargetDirectory() |
Directory |
AbstractReference.getTargetDirectory() |
List<String> |
Reference.getTargetIdsForSource(String sourceId) |
List<String> |
InverseReference.getTargetIdsForSource(String sourceId) |
void |
Directory.invalidateCaches()
Invalidate caches
|
void |
AbstractDirectory.invalidateCaches() |
void |
Directory.invalidateDirectoryCache()
Invalidates the cache instance of the directory
|
void |
AbstractDirectory.invalidateDirectoryCache() |
boolean |
Session.isAuthenticating()
Tells whether the directory implementation can be used as an authenticating backend for the UserManager (based on
login / password check).
|
boolean |
Directory.isMultiTenant()
Returns
true if this directory is a multi tenant directory, false otherwise. |
static void |
DirectoryCSVLoader.loadData(String dataFileName,
char delimiter,
Schema schema,
Consumer<Map<String,Object>> loader)
Loads the CSV data file based on the provided schema, and creates the corresponding entries using the provided
loader.
|
Session |
DirectoryServiceImpl.open(String directoryName) |
Session |
DirectoryServiceImpl.open(String directoryName,
DocumentModel documentContext) |
void |
AbstractDirectory.orderEntries(List<DocumentModel> entries,
Map<String,String> orderBy)
Helper method to order entries.
|
DocumentModelList |
Session.query(Map<String,Serializable> filter)
Executes a simple query.
|
DocumentModelList |
BaseSession.query(Map<String,Serializable> filter) |
DocumentModelList |
Session.query(Map<String,Serializable> filter,
Set<String> fulltext)
Executes a simple query.
|
DocumentModelList |
BaseSession.query(Map<String,Serializable> filter,
Set<String> fulltext) |
DocumentModelList |
Session.query(Map<String,Serializable> filter,
Set<String> fulltext,
Map<String,String> orderBy)
Executes a simple query.
|
DocumentModelList |
BaseSession.query(Map<String,Serializable> filter,
Set<String> fulltext,
Map<String,String> orderBy) |
DocumentModelList |
Session.query(Map<String,Serializable> filter,
Set<String> fulltext,
Map<String,String> orderBy,
boolean fetchReferences)
Executes a query with the possibility to fetch references
|
DocumentModelList |
BaseSession.query(Map<String,Serializable> filter,
Set<String> fulltext,
Map<String,String> orderBy,
boolean fetchReferences) |
DocumentModelList |
Session.query(Map<String,Serializable> filter,
Set<String> fulltext,
Map<String,String> orderBy,
boolean fetchReferences,
int limit,
int offset)
Executes a query with the possibility to fetch a subset of the results.
|
DocumentModelList |
BaseSession.query(Map<String,Serializable> filter,
Set<String> fulltext,
Map<String,String> orderBy,
boolean fetchReferences,
int limit,
int offset) |
void |
Reference.removeLinksForSource(String sourceId) |
void |
InverseReference.removeLinksForSource(String sourceId) |
void |
Reference.removeLinksForSource(String sourceId,
Session session)
Removes all the links for a given source id
|
void |
InverseReference.removeLinksForSource(String sourceId,
Session session) |
void |
Reference.removeLinksForTarget(String targetId) |
void |
InverseReference.removeLinksForTarget(String targetId) |
void |
Reference.removeLinksForTarget(String targetId,
Session session)
Removes all the links for a given target id
|
void |
InverseReference.removeLinksForTarget(String targetId,
Session session) |
void |
HierarchicalDirectoryDeleteConstraint.setProperties(Map<String,String> properties) |
void |
Reference.setSourceIdsForTarget(String targetId,
List<String> sourceIds) |
void |
InverseReference.setSourceIdsForTarget(String targetId,
List<String> sourceIds) |
void |
Reference.setSourceIdsForTarget(String targetId,
List<String> sourceIds,
Session session)
Sets all source ids to be associated to the given target id
|
void |
InverseReference.setSourceIdsForTarget(String targetId,
List<String> sourceIds,
Session session) |
void |
Reference.setTargetIdsForSource(String sourceId,
List<String> targetIds) |
void |
InverseReference.setTargetIdsForSource(String sourceId,
List<String> targetIds) |
void |
Reference.setTargetIdsForSource(String sourceId,
List<String> targetIds,
Session session)
Sets all target ids to be associated to the given source id
|
void |
InverseReference.setTargetIdsForSource(String sourceId,
List<String> targetIds,
Session session) |
void |
Directory.shutdown()
Shuts down the directory.
|
void |
Session.updateEntry(DocumentModel docModel)
Updates a directory entry.
|
void |
BaseSession.updateEntry(DocumentModel docModel) |
protected abstract List<String> |
BaseSession.updateEntryWithoutReferences(DocumentModel docModel)
To be implemented for specific update.
|
Modifier and Type | Method and Description |
---|---|
boolean |
DirectoryDeleteConstraint.canDelete(DirectoryService dirService,
String entryId)
Returns true if given entry can be deleted from the directory where constraint is declared.
|
String |
DirectoryService.getDirectoryIdField(String id)
Gets the id field for a directory.
|
String |
DirectoryService.getDirectoryPasswordField(String directoryName)
Gets the password field for a directory.
|
String |
DirectoryService.getDirectorySchema(String id)
Gets the schema for a directory.
|
String |
DirectoryService.getParentDirectoryName(String id)
Gets the parent directory id a directory.
|
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.
|
void |
DirectoryDeleteConstraint.setProperties(Map<String,String> properties)
Sets properties that may depend on the directory configuration.
|
Modifier and Type | Method and Description |
---|---|
boolean |
HierarchicalDirectoryUIDeleteConstraint.canDelete(DirectoryService dirService,
String entryId) |
List<DirectoryDeleteConstraint> |
DirectoryUIDescriptor.getDeleteConstraints() |
List<DirectoryDeleteConstraint> |
DirectoryUI.getDeleteConstraints()
Returns the directory delete constraints
|
void |
HierarchicalDirectoryUIDeleteConstraint.setProperties(Map<String,String> properties) |
Modifier and Type | Method and Description |
---|---|
void |
CoreDirectorySession.close() |
DocumentModel |
CoreDirectorySession.createEntry(Map<String,Object> fieldMap) |
DocumentModel |
CoreDirectorySession.createEntryWithoutReferences(Map<String,Object> fieldMap) |
void |
CoreDirectorySession.deleteEntry(DocumentModel docModel) |
void |
CoreDirectorySession.deleteEntry(String id) |
void |
CoreDirectorySession.deleteEntry(String id,
Map<String,String> map) |
protected void |
CoreDirectorySession.deleteEntryWithoutReferences(String id) |
DocumentModelList |
CoreDirectorySession.getEntries() |
DocumentModel |
CoreDirectorySession.getEntry(String id,
boolean fetchReferences) |
Field |
CoreDirectory.getField(String name) |
List<String> |
CoreDirectorySession.getProjection(Map<String,Serializable> filter,
Set<String> fulltext,
String columnName) |
List<String> |
CoreDirectorySession.getProjection(Map<String,Serializable> filter,
String columnName) |
Session |
CoreDirectory.getSession() |
DocumentModelList |
CoreDirectorySession.query(Map<String,Serializable> filter,
Set<String> fulltext,
Map<String,String> orderBy,
boolean fetchReferences,
int limit,
int offset) |
void |
CoreDirectorySession.updateEntry(DocumentModel docModel) |
protected List<String> |
CoreDirectorySession.updateEntryWithoutReferences(DocumentModel docModel) |
Modifier and Type | Method and Description |
---|---|
DocumentModel |
WritePolicyEntryAdaptor.adapt(Directory directory,
DocumentModel entry) |
void |
AbstractDirectoryDeleteConstraint.setProperties(Map<String,String> properties) |
Modifier and Type | Method and Description |
---|---|
void |
LDAPTreeReference.addLinks(List<String> sourceIds,
String targetId)
NOT IMPLEMENTED: Store new links.
|
void |
LDAPReference.addLinks(List<String> sourceIds,
String targetId)
Store new links using the LDAP staticAttributeId strategy.
|
void |
LDAPTreeReference.addLinks(List<String> sourceIds,
String targetId,
Session session) |
void |
LDAPReference.addLinks(List<String> sourceIds,
String targetId,
Session session) |
void |
LDAPTreeReference.addLinks(String sourceId,
List<String> targetIds)
NOT IMPLEMENTED: Store new links
|
void |
LDAPReference.addLinks(String sourceId,
List<String> targetIds)
Store new links using the LDAP staticAttributeId strategy.
|
void |
LDAPTreeReference.addLinks(String sourceId,
List<String> targetIds,
Session session)
NOT IMPLEMENTED: Store new links
|
void |
LDAPReference.addLinks(String sourceId,
List<String> targetIds,
Session session) |
boolean |
LDAPSession.authenticate(String username,
String password) |
void |
LDAPSession.close() |
protected Properties |
LDAPDirectory.computeContextProperties() |
protected SearchControls |
LDAPDirectory.computeSearchControls()
Search controls that only fetch attributes defined by the schema
|
protected String |
LDAPServerDescriptor.convertDNtoFQDN(String dn)
Convert domain from the ldap form dc=nuxeo,dc=org to the DNS domain name form nuxeo.org
|
protected DirContext |
LDAPDirectory.createContext() |
protected DocumentModel |
LDAPSession.fieldMapToDocumentModel(Map<String,Object> fieldMap) |
protected Attribute |
LDAPSession.getAttributeValue(String fieldName,
Object value) |
DocumentModel |
LDAPSession.getEntryFromSource(String id,
boolean fetchReferences) |
protected Object |
LDAPSession.getFieldValue(Attribute attribute,
String fieldName,
String entryId,
boolean fetchReferences) |
protected SearchResult |
LDAPSession.getLdapEntry(String id) |
List<String> |
LDAPReference.getLdapTargetIds(Attributes attributes)
Optimized method to spare a LDAP request when the caller is a LDAPSession object that has already fetched the
LDAP Attribute instances.
|
protected List<String> |
LDAPSession.getMandatoryAttributes() |
protected List<String> |
LDAPSession.getMandatoryAttributes(Attribute objectClassesAttribute) |
Session |
LDAPDirectory.getSession() |
Directory |
LDAPTreeReference.getSourceDirectory() |
Directory |
LDAPReference.getSourceDirectory() |
List<String> |
LDAPTreeReference.getSourceIdsForTarget(String targetId)
Fetches single parent, cutting the dn and trying to get the given entry.
|
List<String> |
LDAPReference.getSourceIdsForTarget(String targetId)
Fetch both statically and dynamically defined references and merge the results.
|
protected LDAPDirectory |
LDAPTreeReference.getSourceLDAPDirectory() |
protected LDAPDirectory |
LDAPReference.getSourceLDAPDirectory() |
String |
LDAPReference.getStaticAttributeId() |
String |
LDAPReference.getStaticAttributeId(DirectoryFieldMapper sourceFM) |
Directory |
LDAPTreeReference.getTargetDirectory() |
Directory |
LDAPReference.getTargetDirectory() |
protected LDAPDirectoryDescriptor |
LDAPTreeReference.getTargetDirectoryDescriptor() |
protected LDAPDirectoryDescriptor |
LDAPReference.getTargetDirectoryDescriptor() |
List<String> |
LDAPTreeReference.getTargetIdsForSource(String sourceId)
Fetches children, onelevel or subtree given the reference configuration.
|
List<String> |
LDAPReference.getTargetIdsForSource(String sourceId)
Fetches both statically and dynamically defined references and merges the results.
|
protected LDAPDirectory |
LDAPTreeReference.getTargetLDAPDirectory() |
protected LDAPDirectory |
LDAPReference.getTargetLDAPDirectory() |
boolean |
LDAPSession.hasEntry(String id) |
boolean |
LDAPSession.isAuthenticating() |
boolean |
LDAPReference.isStatic() |
protected DocumentModelList |
LDAPSession.ldapResultsToDocumentModels(NamingEnumeration<SearchResult> results,
boolean fetchReferences) |
protected DocumentModel |
LDAPSession.ldapResultToDocumentModel(SearchResult result,
String entryId,
boolean fetchReferences) |
boolean |
LDAPFilterMatcher.match(Attributes attributes,
String filter)
Check whether a raw string filter expression matches on the given LDAP entry.
|
DocumentModelList |
LDAPSession.query(Map<String,Serializable> filter,
Set<String> fulltext,
Map<String,String> orderBy,
boolean fetchReferences) |
void |
LDAPTreeReference.removeLinksForSource(String sourceId)
NOT IMPLEMENTED: Remove existing statically defined links for the given source id
|
void |
LDAPReference.removeLinksForSource(String sourceId)
Remove existing statically defined links for the given source id (dynamic references remain unaltered)
|
void |
LDAPTreeReference.removeLinksForSource(String sourceId,
Session session) |
void |
LDAPReference.removeLinksForSource(String sourceId,
Session session) |
void |
LDAPTreeReference.removeLinksForTarget(String targetId)
NOT IMPLEMENTED: Remove existing statically defined links for the given target id
|
void |
LDAPReference.removeLinksForTarget(String targetId)
Remove existing statically defined links for the given target id (dynamic references remain unaltered)
|
void |
LDAPTreeReference.removeLinksForTarget(String targetId,
Session session) |
void |
LDAPReference.removeLinksForTarget(String targetId,
Session session) |
void |
LDAPServerDescriptor.setLdapUrls(LDAPUrlDescriptor[] ldapUrls) |
void |
LDAPTreeReference.setScope(String scope) |
void |
LDAPDirectoryDescriptor.setSearchScope(String searchScope) |
void |
LDAPTreeReference.setSourceIdsForTarget(String targetId,
List<String> sourceIds)
NOT IMPLEMENTED: Edit the list of statically defined references for a given target
|
void |
LDAPReference.setSourceIdsForTarget(String targetId,
List<String> sourceIds)
Edit the list of statically defined references for a given target (dynamic references remain unaltered)
|
void |
LDAPTreeReference.setSourceIdsForTarget(String targetId,
List<String> sourceIds,
Session session) |
void |
LDAPReference.setSourceIdsForTarget(String targetId,
List<String> sourceIds,
Session session) |
void |
LDAPTreeReference.setTargetIdsForSource(String sourceId,
List<String> targetIds)
NOT IMPLEMENTED: Set the list of statically defined references for a given source
|
void |
LDAPReference.setTargetIdsForSource(String sourceId,
List<String> targetIds)
Set the list of statically defined references for a given source (dynamic references remain unaltered)
|
void |
LDAPTreeReference.setTargetIdsForSource(String sourceId,
List<String> targetIds,
Session session) |
void |
LDAPReference.setTargetIdsForSource(String sourceId,
List<String> targetIds,
Session session) |
protected static boolean |
LDAPFilterMatcher.simpleMatch(Attributes attributes,
org.apache.directory.shared.ldap.filter.SimpleNode simpleElement)
Handle simple equality test on any non-null value (eg: (attr2=value2)).
|
protected boolean |
LDAPFilterMatcher.substringMatch(Attributes attributes,
org.apache.directory.shared.ldap.filter.SubstringNode substringElement)
Implement the substring match on any non-null value of a string attribute (eg: (attr3=val*)).
|
protected List<String> |
LDAPSession.updateEntryWithoutReferences(DocumentModel docModel) |
Modifier and Type | Method and Description |
---|---|
boolean |
MemoryDirectorySession.authenticate(String username,
String password) |
DocumentModel |
MemoryDirectorySession.createEntry(Map<String,Object> fieldMap) |
DocumentModel |
MemoryDirectorySession.createEntryWithoutReferences(Map<String,Object> fieldMap) |
void |
MemoryDirectorySession.deleteEntry(DocumentModel docModel) |
void |
MemoryDirectorySession.deleteEntry(String id) |
void |
MemoryDirectorySession.deleteEntry(String id,
Map<String,String> map) |
protected void |
MemoryDirectorySession.deleteEntryWithoutReferences(String id) |
DocumentModelList |
MemoryDirectorySession.getEntries() |
DocumentModel |
MemoryDirectorySession.getEntry(String id,
boolean fetchReferences) |
DocumentModelList |
MemoryDirectorySession.query(Map<String,Serializable> filter,
Set<String> fulltext,
Map<String,String> orderBy,
boolean fetchReferences) |
void |
MemoryDirectorySession.rollback() |
void |
MemoryDirectorySession.updateEntry(DocumentModel docModel) |
protected List<String> |
MemoryDirectorySession.updateEntryWithoutReferences(DocumentModel docModel) |
Modifier and Type | Method and Description |
---|---|
void |
MultiReference.addLinks(List<String> sourceIds,
String targetId) |
void |
MultiReference.addLinks(List<String> sourceIds,
String targetId,
Session session) |
void |
MultiReference.addLinks(String sourceId,
List<String> targetIds) |
void |
MultiReference.addLinks(String sourceId,
List<String> targetIds,
Session session) |
void |
MultiDirectorySession.close() |
List<String> |
MultiReference.Collector.collect(List<Reference> dir) |
DocumentModel |
MultiDirectorySession.createEntryWithoutReferences(Map<String,Object> fieldMap) |
void |
MultiDirectorySession.deleteEntry(String id,
Map<String,String> map) |
protected void |
MultiDirectorySession.deleteEntryWithoutReferences(String id) |
protected List<String> |
MultiReference.doCollect(MultiReference.Collector extractor) |
DocumentModel |
MultiDirectorySession.getEntry(String id,
boolean fetchReferences) |
Session |
MultiDirectory.getSession() |
List<String> |
MultiReference.getSourceIdsForTarget(String targetId) |
List<String> |
MultiReference.getTargetIdsForSource(String sourceId) |
void |
MultiDirectory.invalidateDirectoryCache() |
void |
MultiReference.removeLinksForSource(String sourceId) |
void |
MultiReference.removeLinksForSource(String sourceId,
Session session) |
void |
MultiReference.removeLinksForTarget(String targetId) |
void |
MultiReference.removeLinksForTarget(String targetId,
Session session) |
void |
MultiReference.setSourceIdsForTarget(String targetId,
List<String> sourceIds) |
void |
MultiReference.setSourceIdsForTarget(String targetId,
List<String> sourceIds,
Session session) |
void |
MultiReference.setTargetIdsForSource(String sourceId,
List<String> targetIds) |
void |
MultiReference.setTargetIdsForSource(String sourceId,
List<String> targetIds,
Session session) |
protected List<String> |
MultiDirectorySession.updateEntryWithoutReferences(DocumentModel docModel) |
Modifier and Type | Method and Description |
---|---|
protected void |
SQLSession.addFilterValues(PreparedStatement ps,
int startIdx) |
protected String |
SQLSession.addFilterWhereClause(String whereClause) |
void |
TableReference.addLink(String sourceId,
String targetId,
SQLSession session,
boolean checkExisting) |
void |
TableReference.addLinks(List<String> sourceIds,
String targetId) |
void |
TableReference.addLinks(List<String> sourceIds,
String targetId,
Session session) |
void |
TableReference.addLinks(String sourceId,
List<String> targetIds) |
void |
TableReference.addLinks(String sourceId,
List<String> targetIds,
Session session) |
protected void |
SQLDirectory.addSession(SQLSession session) |
protected boolean |
SQLSession.canDeleteMultiTenantEntry(String entryId) |
void |
SQLSession.close() |
void |
SQLSession.deleteEntry(String id,
Map<String,String> map) |
void |
SQLSession.deleteEntryWithoutReferences(String id) |
boolean |
TableReference.exists(String sourceId,
String targetId,
SQLSession session) |
protected void |
SQLSession.fillPreparedStatementFields(Map<String,Object> filterMap,
List<Column> orderedColumns,
PreparedStatement ps) |
Connection |
SQLDirectory.getConnection() |
Column |
SQLStaticFilter.getDirectoryColumn(Table table,
boolean nativeCase) |
DocumentModel |
SQLSession.getEntryFromSource(String id,
boolean fetchReferences) |
protected List<String> |
TableReference.getIdsFor(String valueColumn,
String filterColumn,
String filterValue) |
Session |
SQLDirectory.getSession() |
List<String> |
TableReference.getSourceIdsForTarget(String targetId) |
protected SQLSession |
TableReference.getSQLSession() |
Table |
TableReference.getTable() |
List<String> |
TableReference.getTargetIdsForSource(String sourceId) |
boolean |
SQLSession.isLive()
Enable connection status checking on SQL directory connections
|
protected void |
TableReference.maybeInitialize(SQLSession sqlSession)
Initialize if needed, using an existing session.
|
DocumentModelList |
SQLSession.query(Map<String,Serializable> filter,
Set<String> fulltext,
Map<String,String> orderBy,
boolean fetchReferences,
int limit,
int offset) |
protected void |
SQLDirectory.registerInTx(SQLSession session) |
void |
TableReference.removeLinksFor(String column,
String entryId,
SQLSession session) |
void |
TableReference.removeLinksForSource(String sourceId) |
void |
TableReference.removeLinksForSource(String sourceId,
Session session) |
void |
TableReference.removeLinksForTarget(String targetId) |
void |
TableReference.removeLinksForTarget(String targetId,
Session session) |
void |
TableReference.setIdsFor(String idsColumn,
List<String> ids,
String filterColumn,
String filterValue,
SQLSession session) |
void |
TableReference.setSourceIdsForTarget(String targetId,
List<String> sourceIds) |
void |
TableReference.setSourceIdsForTarget(String targetId,
List<String> sourceIds,
Session session) |
void |
TableReference.setSourceIdsForTarget(String targetId,
List<String> sourceIds,
SQLSession session) |
void |
TableReference.setTargetIdsForSource(String sourceId,
List<String> targetIds) |
void |
TableReference.setTargetIdsForSource(String sourceId,
List<String> targetIds,
Session session) |
void |
TableReference.setTargetIdsForSource(String sourceId,
List<String> targetIds,
SQLSession session) |
boolean |
SQLHelper.setupTable()
Sets up the table without loading the data in it.
|
protected List<String> |
SQLSession.updateEntryWithoutReferences(DocumentModel docModel) |
Constructor and Description |
---|
SQLSession(SQLDirectory directory,
SQLDirectoryDescriptor config) |
Modifier and Type | Method and Description |
---|---|
int |
SQLComplexFilter.setFieldValue(PreparedStatement ps,
int index,
Column column) |
Modifier and Type | Method and Description |
---|---|
protected void |
SeamErrorComponent.clearDummyUser() |
boolean |
SeamErrorComponent.isDummyUserExists() |
Modifier and Type | Method and Description |
---|---|
static DocumentModel |
ShibbolethGroupHelper.getGroup(String groupName) |
Modifier and Type | Method and Description |
---|---|
static String |
DocumentModelFunctions.getLabelFromId(String directoryName,
String id)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected String |
DigestLoginPlugin.getStoredHA1(String username) |
Modifier and Type | Method and Description |
---|---|
void |
DirectoryTreeNode.pathProcessing() |
void |
DirectoryTreeDescriptor.setDirectories(String[] directories) |
Constructor and Description |
---|
DirectoryTree(String directory) |
Copyright © 2018 Nuxeo. All rights reserved.