mil.dod.th.ose.core/src/mil/dod/th/ose/core/impl/persistence/AbstractDataStore.java
protected Collection<DataType> queryOnFilter(final String filterString, final Object... args)
    {
        synchronized (this)
        {
            final Query newQuery = newJdoQuery();
            newQuery.setFilter(String.format(filterString, args));
            newQuery.setOrdering(String.format("%s descending", m_ExtentClassTimeField));

            return Collections.unmodifiableCollection(executeJdoQuery(newQuery));
        }
    }
/**
     * Method that executes a jdo query with a given filter string and arguments.
     * @param filterString
     *  the filter string that is to be used.
     * @param args
     *  the arguments that make up the filter string
     * @return
     *  the collection of objects that satisfy the given query criteria
     */
Method that executes a jdo query with a given filter string and arguments.
@param filterString
the filter string that is to be used.
@param args
the arguments that make up the filter string
@return
the collection of objects that satisfy the given query criteria
Method that executes a jdo query with a given filter string and arguments . @param filterString the filter string that is to be used . @param args the arguments that make up the filter string @return the collection of objects that satisfy the given query criteria
protected Collection<DataType> queryOnFilter(final String filterString, final Object... args)
    {
        synchronized (this)
        {
            final Query newQuery = newJdoQuery();
            newQuery.setFilter(String.format(filterString, args));
            newQuery.setOrdering(String.format("%s descending", m_ExtentClassTimeField));
            return Collections.unmodifiableCollection(executeJdoQuery(newQuery));
        }
    }
protected Collection < DataType > queryOnFilter ( final String filterString , final Object ... args ) { synchronized ( this ) { final Query newQuery = newJdoQuery ( ) ; newQuery . setFilter ( String . format ( filterString , args ) ) ; newQuery . setOrdering ( String . format ( "%s descending" , m_ExtentClassTimeField ) ) ; return Collections . unmodifiableCollection ( executeJdoQuery ( newQuery ) ) ; } }
Method that executes a jdo query with a given filter string and arguments.
Method that executes a jdo query with a given filter string and arguments .