Class AbstractPeriodProvider
- java.lang.Object
-
- org.alfresco.repo.dictionary.types.period.AbstractPeriodProvider
-
- All Implemented Interfaces:
PeriodProvider,org.springframework.beans.factory.InitializingBean
- Direct Known Subclasses:
AbstractCalendarPeriodProvider,Cron,Immediately,NoPeriod,XMLDuration
public abstract class AbstractPeriodProvider extends Object implements PeriodProvider, org.springframework.beans.factory.InitializingBean
Common support for period implementations. They are Spring beans that register in the bootstrap context.- Author:
- andyh
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.alfresco.service.cmr.repository.PeriodProvider
PeriodProvider.ExpressionMutiplicity
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringMSG_PREFIX
-
Constructor Summary
Constructors Constructor Description AbstractPeriodProvider()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()StringgetDisplayLabel()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.alfresco.service.cmr.repository.PeriodProvider
getDefaultExpression, getExpressionDataType, getExpressionMutiplicity, getNextDate, getPeriodType
-
-
-
-
Field Detail
-
MSG_PREFIX
protected static final String MSG_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getDisplayLabel
public String getDisplayLabel()
- Specified by:
getDisplayLabelin interfacePeriodProvider
-
-