Class SimpleRecordsManagementEventTypeImpl
java.lang.Object
org.alfresco.module.org_alfresco_module_rm.event.SimpleRecordsManagementEventTypeImpl
- All Implemented Interfaces:
RecordsManagementEventType
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanNameAware
- Direct Known Subclasses:
OnReferenceCreateEventType
,OnReferencedRecordActionedUpon
public class SimpleRecordsManagementEventTypeImpl
extends Object
implements RecordsManagementEventType, org.springframework.beans.factory.BeanNameAware
Simple records management event type implementation
- Author:
- Roy Wetherall
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the display label of the event typegetName()
Get the name of the records management event typeprotected RecordsManagementEventService
void
init()
Initialisation methodboolean
Indicates whether the event is automatic or notvoid
setBeanName
(String name) void
setRecordsManagementEventService
(RecordsManagementEventService recordsManagementEventService) Set the records management event service
-
Field Details
-
LOOKUP_PREFIX
Display label lookup prefix- See Also:
-
NAME
Name- See Also:
-
-
Constructor Details
-
SimpleRecordsManagementEventTypeImpl
public SimpleRecordsManagementEventTypeImpl()
-
-
Method Details
-
getRecordsManagementEventService
- Returns:
- Records management event service
-
setRecordsManagementEventService
public void setRecordsManagementEventService(RecordsManagementEventService recordsManagementEventService) Set the records management event service- Parameters:
recordsManagementEventService
- records management service
-
init
public void init()Initialisation method -
isAutomaticEvent
public boolean isAutomaticEvent()Description copied from interface:RecordsManagementEventType
Indicates whether the event is automatic or not- Specified by:
isAutomaticEvent
in interfaceRecordsManagementEventType
- Returns:
- boolean true if automatic, false otherwise
- See Also:
-
getName
Description copied from interface:RecordsManagementEventType
Get the name of the records management event type- Specified by:
getName
in interfaceRecordsManagementEventType
- Returns:
- String event type name
- See Also:
-
setBeanName
- Specified by:
setBeanName
in interfaceorg.springframework.beans.factory.BeanNameAware
- See Also:
-
BeanNameAware.setBeanName(java.lang.String)
-
getDisplayLabel
Description copied from interface:RecordsManagementEventType
Gets the display label of the event type- Specified by:
getDisplayLabel
in interfaceRecordsManagementEventType
- Returns:
- String display label
- See Also:
-