mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Property DAO support for date (yyyy-mm-dd)
- Avoided nasty timezone issues by using Epoch millisecond time git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@15665 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
package org.alfresco.repo.domain.propval;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
import org.alfresco.util.Pair;
|
||||
|
||||
@@ -93,6 +94,25 @@ public interface PropertyValueDAO
|
||||
*/
|
||||
Pair<Long, Double> getOrCreatePropertyDoubleValue(Double value);
|
||||
|
||||
/**
|
||||
* <b>alf_prop_date_value</b> accessor
|
||||
*
|
||||
* @param id the ID (may not be <tt>null</tt>)
|
||||
*/
|
||||
Pair<Long, Date> getPropertyDateValueById(Long id);
|
||||
/**
|
||||
* <b>alf_prop_date_value</b> accessor
|
||||
*
|
||||
* @param value the value to find the ID for (may not be <tt>null</tt>)
|
||||
*/
|
||||
Pair<Long, Date> getPropertyDateValue(Date value);
|
||||
/**
|
||||
* <b>alf_prop_date_value</b> accessor
|
||||
*
|
||||
* @param value the value to find the ID for (may not be <tt>null</tt>)
|
||||
*/
|
||||
Pair<Long, Date> getOrCreatePropertyDateValue(Date value);
|
||||
|
||||
/**
|
||||
* <b>alf_prop_value</b> accessor
|
||||
*
|
||||
|
Reference in New Issue
Block a user