Changeset 7617
- Timestamp:
- Mar 4, 2019, 7:45:29 AM (5 years ago)
- Location:
- trunk/src/plugins/core/net/sf/basedb/plugins/batchimport
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/plugins/core/net/sf/basedb/plugins/batchimport/AbstractItemImporter.java
r7605 r7617 998 998 * The value type must be one of STRING, INT or LONG 999 999 * It must not be an enumeration 1000 * The 'identifier' flag must be set 1000 1001 1001 1002 @since 3.15 -
trunk/src/plugins/core/net/sf/basedb/plugins/batchimport/AnnotationIdMethod.java
r7593 r7617 59 59 * The value type must be one of STRING, INT or LONG 60 60 * It must not be an enumeration 61 * The 'identifier' flag must be set 61 62 @param itemType Either a specified item or null to return all possible annotation id methods 62 63 */ … … 64 65 { 65 66 ItemQuery<AnnotationType> query = AnnotationType.getQuery(itemType); 66 query.include(Include.MINE, Include.IN_PROJECT, Include.SHARED );67 query.include(Include.MINE, Include.IN_PROJECT, Include.SHARED, Include.OTHERS); 67 68 // The annotation type must be STRING, INTEGER or LONG 68 69 query.restrict(Restrictions.in(Hql.property("valueType"), Expressions.parameter("valueTypes", Type.INT))); … … 70 71 // Enumerations can't be used 71 72 query.restrict(Restrictions.eq(Hql.property("enumeration"), Expressions.bool(false))); 72 73 // The 'identifier' flag must be set 74 query.restrict(Restrictions.eq(Hql.property("identifier"), Expressions.bool(true))); 73 75 query.order(Orders.asc(Hql.property("name"))); 74 76 // Get a list of possible annotation types
Note: See TracChangeset
for help on using the changeset viewer.