Added data type for period expressions (MOB-750)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14580 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Andrew Hind
2009-06-08 11:19:32 +00:00
parent 1a261b54fd
commit e4562d384d
6 changed files with 66 additions and 13 deletions

View File

@@ -26,6 +26,8 @@ package org.alfresco.service.cmr.repository;
import java.util.Date;
import org.alfresco.service.namespace.QName;
/**
* Provider API for period implementations
* @author andyh
@@ -79,4 +81,10 @@ public interface PeriodProvider
* @return - the default expression.
*/
public String getDefaultExpression();
/**
* Return the Alfresco data type QName to which the string value of the expression will be converted.
* @return the alfresco data type or null if an expression is not allowed.
*/
public QName getExpressionDataType();
}