info.aduna.gee.spectacle.gee.jit
Class JitEntityContext

java.lang.Object
  extended by info.aduna.gee.spectacle.gee.EntityContext
      extended by info.aduna.gee.spectacle.gee.jit.JitEntityContext

public class JitEntityContext
extends EntityContext

JitEntityContext lifts an existing Channel to an EntityContext. Only the methods "getChannelName" and "getEntities" return valid results. Note that all entries in the Channel, in any section, are lifted to Entities. So take care that the Channel does really contain "pure content" only. Note also that it is not required that the Channel contains "local" content only. In fact, it is a very powerful feature that the Channel might for instance be a subscription that applies a label selection to an underlying "full pure content" channel. Or it might be a subscription that applies a path (startPath) selection to an underlying "full pure content" channel.


Field Summary
 
Fields inherited from class info.aduna.gee.spectacle.gee.EntityContext
_channel, _dispenser, _orderFields, _producer, _views
 
Constructor Summary
JitEntityContext(String serverPath, String channelName)
          Constructor
 
Method Summary
 String getChannelName()
           
 Map getEntities()
           
 Collection getSortedEntities()
           
 
Methods inherited from class info.aduna.gee.spectacle.gee.EntityContext
_init, addView, addView, getChannel, getLabelClassification, getLabelDescription, getNewLabel, getView, render, selectEntities, setOrderField, setOrderFields, sync
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JitEntityContext

public JitEntityContext(String serverPath,
                        String channelName)
Constructor

Parameters:
serverPath - the server's path, e.g. "https://www.mysecurehost.com:9899"
channelName - the name of the channel containing the Entries that are to be lifted to Entities
Method Detail

getChannelName

public String getChannelName()
Overrides:
getChannelName in class EntityContext
Returns:
the name of the channel containing the Entries that are to be lifted to Entities

getEntities

public Map getEntities()
Overrides:
getEntities in class EntityContext
Returns:
the lifted Entries, i.e. the Entities
See Also:
EntityProducer.getEntities()

getSortedEntities

public Collection getSortedEntities()


Copyright © 1997-2008 Aduna. All Rights Reserved.