org.olat.search.service.indexer.identity
Class ProfileIndexer
java.lang.Object
org.olat.search.service.indexer.AbstractIndexer
org.olat.search.service.indexer.identity.ProfileIndexer
- All Implemented Interfaces:
- Indexer
public class ProfileIndexer
- extends AbstractIndexer
Description:
The identity indexer indexes the users profile
Initial Date: 21.08.2009
- Author:
- gnaegi, gnaegi@frentix.com, www.frentix.com
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProfileIndexer
public ProfileIndexer()
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()
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)