org.olat.search.service.indexer.identity
Class IdentityIndexer
java.lang.Object
org.olat.search.service.indexer.AbstractIndexer
org.olat.search.service.indexer.identity.IdentityIndexer
- All Implemented Interfaces:
- Indexer
public class IdentityIndexer
- extends AbstractIndexer
Description:
The identity indexer indexes public information about a user such as the
profile or the users public folder
Initial Date: 21.08.2009
- Author:
- gnaegi, gnaegi@frentix.com, www.frentix.com
|
Field Summary |
static java.lang.String |
TYPE
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
IdentityIndexer
public IdentityIndexer()
getSupportedTypeName
public java.lang.String getSupportedTypeName()
- Returns:
- The indexer supports this type name. E.g. ORES_TOOLFOLDER.getResourceableTypeName()
- See Also:
Indexer.getSupportedTypeName()
doIndex
public void doIndex(SearchResourceContext parentResourceContext,
java.lang.Object parentObject,
OlatFullIndexer indexWriter)
throws java.io.IOException,
java.lang.InterruptedException
- Description copied from class:
AbstractIndexer
- Iterate over all child indexer define in indexer-list.
- Specified by:
doIndex in interface Indexer- Overrides:
doIndex in class AbstractIndexer
- Parameters:
parentResourceContext - Current search-resource-context is used to build resouceUrl of an index-element.indexWriter - Callback object to add documents to the index.
- Throws:
java.io.IOException - Can not write index file.
java.lang.InterruptedException - Indexing is interrupted- See Also:
RepositoryHandler.supportsDownload()
setIndexerList
public void setIndexerList(java.util.List indexerList)
- Bean setter method used by spring.
- Overrides:
setIndexerList in class AbstractIndexer
- Parameters:
indexerList -
checkAccess
public boolean checkAccess(ContextEntry contextEntry,
BusinessControl businessControl,
Identity identity,
Roles roles)
- Description copied from interface:
Indexer
- Check access for certain business-control (resourceUrl) and user with roles.
- Returns:
- See Also:
Indexer.checkAccess(org.olat.core.id.context.ContextEntry,
org.olat.core.id.context.BusinessControl, org.olat.core.id.Identity,
org.olat.core.id.Roles)