org.gcube.portlets.user.collectionexplorer.client.model
Class Model

java.lang.Object
  extended by org.gcube.portlets.user.collectionexplorer.client.model.Model

public class Model
extends Object

Model is the entry point class

Version:
September 2010 (0.1)
Author:
Massimiliano Assante, ISTI-CNR - massimiliano.assante@isti.cnr.it

Field Summary
static CollectionServiceAsync collectionService
          Create the client proxy.
static Model singleton
           
 
Constructor Summary
Model(Controller controller)
           
 
Method Summary
static Model get()
           
 CollectionServiceAsync getCollectionService()
           
 void retrieveItems(String collectionID, int mode)
           
 void retrieveTreeItems(String collectionID, int mode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

collectionService

public static CollectionServiceAsync collectionService
Create the client proxy. The cast is always safe because the generated proxy implements the asynchronous interface automatically.


singleton

public static Model singleton
Constructor Detail

Model

public Model(Controller controller)
Parameters:
controller - d
Method Detail

get

public static Model get()
Returns:
.

retrieveTreeItems

public void retrieveTreeItems(String collectionID,
                              int mode)
Parameters:
collectionID -
mode -

retrieveItems

public void retrieveItems(String collectionID,
                          int mode)
Parameters:
collectionID -
mode -

getCollectionService

public CollectionServiceAsync getCollectionService()
Returns:


Copyright © 2014. All Rights Reserved.