org.alfresco.repo.dictionary.types.period
Class AbstractPeriodProvider

java.lang.Object
  extended by org.alfresco.repo.dictionary.types.period.AbstractPeriodProvider
All Implemented Interfaces:
org.alfresco.service.cmr.repository.PeriodProvider, org.springframework.beans.factory.InitializingBean
Direct Known Subclasses:
AbstractCalendarPeriodProvider, Cron, Immediately, NoPeriod, XMLDuration

public abstract class AbstractPeriodProvider
extends java.lang.Object
implements org.alfresco.service.cmr.repository.PeriodProvider, org.springframework.beans.factory.InitializingBean

Common support for period implementations. They are Spring beans that register in the bootstrap context.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.alfresco.service.cmr.repository.PeriodProvider
org.alfresco.service.cmr.repository.PeriodProvider.ExpressionMutiplicity
 
Field Summary
protected static java.lang.String MSG_PREFIX
           
 
Constructor Summary
AbstractPeriodProvider()
          Default constructor
 
Method Summary
 void afterPropertiesSet()
           
 java.lang.String getDisplayLabel()
           
 
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 java.lang.String MSG_PREFIX
See Also:
Constant Field Values
Constructor Detail

AbstractPeriodProvider

public AbstractPeriodProvider()
Default constructor

Method Detail

afterPropertiesSet

public void afterPropertiesSet()
                        throws java.lang.Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
java.lang.Exception

getDisplayLabel

public java.lang.String getDisplayLabel()
Specified by:
getDisplayLabel in interface org.alfresco.service.cmr.repository.PeriodProvider


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.