Ignore:
Timestamp:
04/22/11 20:11:04 (13 years ago)
Author:
vronk
Message:

changes in recordset display, query_detail; adding documenting

Location:
MDService2/trunk/MDService2/src/eu/clarin/cmdi/mdservice/action
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • MDService2/trunk/MDService2/src/eu/clarin/cmdi/mdservice/action/AdminAction.java

    r1187 r1234  
    1515
    1616/**
    17  *
     17 * This is meant for administrative tasks. Currently only action is related to <code>cache</code> viewing and clearing.
    1818 *
    1919 */
  • MDService2/trunk/MDService2/src/eu/clarin/cmdi/mdservice/action/Cache.java

    r1155 r1234  
    3939 * This is a rudimentary caching mechanism.
    4040 * serializes the inputstream to a file (identifier => filename)
    41  * and returns the inpustream based on the identifier
     41 * and returns the inpustream based on the identifier.
     42 *
     43 * It maintains the cache_index (persisted as xml-file in the cache-folder)
     44 * mapping the request parameters to the indexed files.
     45 *
     46 * This is an internal object, direct user access to cache-data via interface is only possible via <code>AdminAction</code>
    4247 * @author master
    4348 *
     
    95100       
    96101        /**
    97          * here the external key for the data gets cache-internal counter-id assigned
    98          * which is also returned back
    99          * can be used (as shorthand instead of the (long) external key) from outside to retrieve the data.
    100          * This is primarily meant to be able to reuse the recordset-data, when reading one record. 
    101          * @param id
    102          * @param instream
     102         * Here the external key for the data gets cache-internal counter-id assigned
     103         * which is also returned back.
     104         *
     105         * The external key gets parsed and put as individual attributes in the <f>-element:
     106         *
     107         * <code>
     108         * <f collection="" date="2011-04-20 01:06:50" duration="0.227" id="3" lang="en"
     109     *   maxDepth="1"
     110     *   maximumItems=""
     111     *   query=""
     112     *   repository="localhost-mirror"
     113     *   squery=""
     114     *   startItem=""
     115     *   type="collections"/>
     116      </code>
     117         * 
     118         *
     119         * @param key_info a complex string carrying all relevant parameters
     120         * @param instream data to be stored
    103121         * @return
    104122         */
  • MDService2/trunk/MDService2/src/eu/clarin/cmdi/mdservice/action/MDRepoProxyAction.java

    r1215 r1234  
    3232 * responds to requests (collections, model, recordset)
    3333 * by dispatching the requests to appropriate internal methods and filling the inputStream with the result
     34 *
     35 * It is possible to switch target-repository dynamically  (on every request). I.e. the client explicitly selects one of the repositories.
    3436 * 
    3537 * @author vronk
Note: See TracChangeset for help on using the changeset viewer.