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 Modifier and Type Field Description protected static String
LOOKUP_PREFIX
Display label lookup prefixstatic String
NAME
Name
-
Constructor Summary
Constructors Constructor Description SimpleRecordsManagementEventTypeImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDisplayLabel()
Gets the display label of the event typeString
getName()
Get the name of the records management event typeprotected RecordsManagementEventService
getRecordsManagementEventService()
void
init()
Initialisation methodboolean
isAutomaticEvent()
Indicates whether the event is automatic or notvoid
setBeanName(String name)
void
setRecordsManagementEventService(RecordsManagementEventService recordsManagementEventService)
Set the records management event service
-
-
-
Field Detail
-
LOOKUP_PREFIX
protected static final String LOOKUP_PREFIX
Display label lookup prefix- See Also:
- Constant Field Values
-
NAME
public static final String NAME
Name- See Also:
- Constant Field Values
-
-
Method Detail
-
getRecordsManagementEventService
protected RecordsManagementEventService 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:
RecordsManagementEventType.isAutomaticEvent()
-
getName
public String 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:
RecordsManagementEventType.getName()
-
setBeanName
public void setBeanName(String name)
- Specified by:
setBeanName
in interfaceorg.springframework.beans.factory.BeanNameAware
- See Also:
BeanNameAware.setBeanName(java.lang.String)
-
getDisplayLabel
public 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:
RecordsManagementEventType.getDisplayLabel()
-
-