|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuxeo.ecm.directory.AbstractDirectory
public abstract class AbstractDirectory
| Constructor Summary | |
|---|---|
AbstractDirectory()
|
|
| Method Summary | |
|---|---|
void |
addReference(Reference reference)
|
void |
addReferences(Reference[] references)
|
DirectoryCache |
getCache()
Gets the cache instance of the directory |
DirectoryFieldMapper |
getFieldMapper()
|
Reference |
getReference(String referenceFieldName)
Lookup a Reference by field name. |
Collection<Reference> |
getReferences()
Lookup all References defined on the directory. |
void |
invalidateCaches()
Invalidate my cache and the caches of linked directories by references. |
void |
invalidateDirectoryCache()
Invalidates the cache instance of the directory |
boolean |
isReference(String referenceFieldName)
|
void |
orderEntries(List<DocumentModel> entries,
Map<String,String> orderBy)
Helper method to order entries. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.nuxeo.ecm.directory.Directory |
|---|
getIdField, getName, getParentDirectory, getPasswordField, getSchema, getSession, shutdown |
| Constructor Detail |
|---|
public AbstractDirectory()
| Method Detail |
|---|
public void invalidateCaches()
throws DirectoryException
DirectoryExceptionpublic DirectoryFieldMapper getFieldMapper()
public Reference getReference(String referenceFieldName)
Directory
getReference in interface Directorypublic boolean isReference(String referenceFieldName)
public void addReference(Reference reference)
throws ClientException
ClientException
public void addReferences(Reference[] references)
throws ClientException
ClientExceptionpublic Collection<Reference> getReferences()
Directory
getReferences in interface Directory
public void orderEntries(List<DocumentModel> entries,
Map<String,String> orderBy)
throws DirectoryException
entries - the list of entries.orderBy - an ordered map of field name -> "asc" or "desc".
DirectoryExceptionpublic DirectoryCache getCache()
Directory
getCache in interface Directory
public void invalidateDirectoryCache()
throws DirectoryException
Directory
invalidateDirectoryCache in interface DirectoryDirectoryException
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||