Class EmployeeIndexer
java.lang.Object
com.echothree.util.server.control.BaseLogic
com.echothree.model.control.index.server.indexer.BaseIndexer<Party>
com.echothree.model.control.party.server.indexer.PartyIndexer
com.echothree.model.control.employee.server.indexer.EmployeeIndexer
- All Implemented Interfaces:
Closeable,AutoCloseable
-
Field Summary
Fields inherited from class com.echothree.model.control.party.server.indexer.PartyIndexer
entityNameIndexField, partyTypeFields inherited from class com.echothree.model.control.index.server.indexer.BaseIndexer
appearanceControl, componentControl, coreControl, eea, entityAliasControl, entityAliasTypes, entityAttributes, entityType, entityTypeControl, eventControl, index, indexControl, indexStatus, indexWriter, language, log, tagControl, tagScopes, workflowControl -
Constructor Summary
ConstructorsConstructorDescriptionEmployeeIndexer(ExecutionErrorAccumulator eea, Index index) Creates a new instance of EmployeeIndexer -
Method Summary
Modifier and TypeMethodDescriptionprotected StringgetEntityNameFromParty(Party party) All PartyTypes have their own EntityName in addition to the partyName.Methods inherited from class com.echothree.model.control.party.server.indexer.PartyIndexer
addPartyFieldsToDocument, convertToDocument, getAnalyzer, getEntityMethods inherited from class com.echothree.model.control.index.server.indexer.BaseIndexer
addEntityInstanceFieldsToDocument, addEntityInstanceToDocument, addEntityToIndex, close, closeIndexWriter, forceReindex, getEntityType, getIndex, newDocumentWithEntityInstanceFields, open, openIndexWriter, removeEntityFromIndex, updateIndexMethods inherited from class com.echothree.util.server.control.BaseLogic
addExecutionError, addSecurityMessage, getEntityInstanceByBaseEntity, getEntityInstanceByBasePK, getSession, handleExecutionError, handleSecurityMessage, hasExecutionErrors
-
Constructor Details
-
EmployeeIndexer
Creates a new instance of EmployeeIndexer
-
-
Method Details
-
getEntityNameFromParty
Description copied from class:PartyIndexerAll PartyTypes have their own EntityName in addition to the partyName. If null is returned for this field, it likely indicates that the Party has been deleted before indexing picked it up and it will be ignored.- Specified by:
getEntityNameFromPartyin classPartyIndexer- Parameters:
party- Party to return the EntityName for- Returns:
- String with the EntityName, or null if it was not found
-