Class IndexObjectFactoryFactory
java.lang.Object
org.dspace.discovery.indexobject.factory.IndexObjectFactoryFactory
- Direct Known Subclasses:
IndexObjectFactoryFactoryImpl
Abstract factory to get the IndexFactory objects
- Author:
- Kevin Van de Velde (kevin at atmire dot com)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ClaimedTaskServiceprotected PoolTaskServiceprotected WorkspaceItemServiceprotected XmlWorkflowItemService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetIndexableObjectFactory(String indexableObjectUniqueString) Retrieve the IndexFactory implementation for the given indexable object unique identifiergetIndexableObjectFactory(IndexableObject indexableObject) Retrieve the IndexFactory implementation for the given indexable objectgetIndexableObjects(Context context, Object object) Retrieve all the indexable objects for the provided objectabstract List<IndexFactory>Return the list of all the available implementations of the IndexableObjectService interfacegetIndexFactoryByType(String indexableFactoryType) Retrieve the IndexFactory implementation for the given indexable object typestatic IndexObjectFactoryFactoryRetrieve an implementation instance for this factory
-
Field Details
-
workspaceItemService
-
xmlWorkflowItemService
-
claimedTaskService
-
poolTaskService
-
-
Constructor Details
-
IndexObjectFactoryFactory
public IndexObjectFactoryFactory()
-
-
Method Details
-
getIndexFactories
Return the list of all the available implementations of the IndexableObjectService interface- Returns:
- the list of IndexableObjectService
-
getIndexableObjectFactory
Retrieve the IndexFactory implementation for the given indexable object- Parameters:
indexableObject- the indexable object for which we need our factory- Returns:
- An IndexFactory implementation
-
getIndexableObjectFactory
Retrieve the IndexFactory implementation for the given indexable object unique identifier- Parameters:
indexableObjectUniqueString- the unique identifier of an indexable object- Returns:
- An IndexFactory implementation
-
getIndexFactoryByType
Retrieve the IndexFactory implementation for the given indexable object type- Parameters:
indexableFactoryType- the object type of the indexable object- Returns:
- An IndexFactory implementation
-
getIndexableObjects
public List<IndexableObject> getIndexableObjects(Context context, Object object) throws SQLException Retrieve all the indexable objects for the provided object- Parameters:
context- DSpace context objectobject- The object we want to retrieve our indexable objects for- Returns:
- A list of indexable objects
- Throws:
SQLException
-
getInstance
Retrieve an implementation instance for this factory- Returns:
- an IndexObjectServiceFactory bean
-