mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user