/** @return value */ public Map<String, Set<CollectionInfo>> getContainers( String entityType ) { entityType = normalizeEntityType( entityType ); // Add the application as a container to all entities return addDynamicApplicationCollectionAsContainer( entityContainerCollections.get( entityType ), entityType ); }
/** @return value */ public Map<String, Set<CollectionInfo>> getContainersIndexingProperties( String entityType ) { entityType = normalizeEntityType( entityType ); // Add the application as a container indexing some properties by // default return addDynamicApplicationCollectionAsContainer( entityContainerCollectionsIndexingProperties.get( entityType ), entityType ); }
/** @return value */ public Map<String, Set<CollectionInfo>> getContainersIndexingProperty( String entityType, String propertyName ) { entityType = normalizeEntityType( entityType ); Map<String, Map<String, Set<CollectionInfo>>> propertyContainerCollectionsIndexingPropertyInfo = entityPropertyContainerCollectionsIndexingProperty.get( entityType ); // Application indexes name property by default if ( propertyName.equalsIgnoreCase( PROPERTY_NAME ) || propertyName.equalsIgnoreCase( PROPERTY_CREATED ) || propertyName.equalsIgnoreCase( PROPERTY_MODIFIED ) ) { return addDynamicApplicationCollectionAsContainer( propertyContainerCollectionsIndexingPropertyInfo != null ? propertyContainerCollectionsIndexingPropertyInfo.get( propertyName ) : null, entityType ); } if ( propertyContainerCollectionsIndexingPropertyInfo == null ) { return null; } return propertyContainerCollectionsIndexingPropertyInfo.get( propertyName ); }