Package org.nuxeo.ecm.core.trash
Class TrashServiceImpl
java.lang.Object
org.nuxeo.runtime.model.DefaultComponent
org.nuxeo.ecm.core.trash.TrashServiceImpl
- All Implemented Interfaces:
- Adaptable,- Component,- Extensible,- TimestampedService
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final ComponentNameprotected TrashServiceFields inherited from class org.nuxeo.runtime.model.DefaultComponentlastModified, name
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription<T> TgetAdapter(Class<T> adapter) Returns an object which is an instance of the given class associated with this object.voidCalled when the migration status changes, to recompute the new service.protected TrashServiceMethods inherited from class org.nuxeo.runtime.model.DefaultComponentactivate, addRuntimeMessage, addRuntimeMessage, deactivate, getDescriptor, getDescriptors, getLastModified, getRegistry, register, registerContribution, registerExtension, setLastModified, setModifiedNow, setName, start, stop, unregister, unregisterContribution, unregisterExtensionMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.nuxeo.runtime.model.ComponentgetApplicationStartedOrder
- 
Field Details- 
NAME- Since:
- 10.2
 
- 
MIGRATION_ID- Since:
- 10.1
- See Also:
 
- 
MIGRATION_STATE_LIFECYCLE- Since:
- 10.1
- See Also:
 
- 
MIGRATION_STATE_PROPERTY- Since:
- 10.1
- See Also:
 
- 
MIGRATION_STEP_LIFECYCLE_TO_PROPERTY- Since:
- 10.1
- See Also:
 
- 
trashService
 
- 
- 
Constructor Details- 
TrashServiceImplpublic TrashServiceImpl()
 
- 
- 
Method Details- 
recomputeTrashService
- 
getAdapterDescription copied from interface:AdaptableReturns an object which is an instance of the given class associated with this object. Returnsnullif no such object can be found.- Specified by:
- getAdapterin interface- Adaptable
- Overrides:
- getAdapterin class- DefaultComponent
- Parameters:
- adapter- the adapter class to look up
- Returns:
- a object castable to the given class, or nullif this object does not have an adapter for the given class
 
- 
invalidateTrashServiceImplementationpublic void invalidateTrashServiceImplementation()Called when the migration status changes, to recompute the new service.- Since:
- 10.2
 
 
-