org.gcube.contentmanagement.contentmanager.smsplugin.delegates
Class SMSCollection

java.lang.Object
  extended by Collection
      extended by org.gcube.contentmanagement.contentmanager.smsplugin.delegates.SMSCollection

public class SMSCollection
extends Collection

Author:
Federico De Faveri defaveri@isti.cnr.it

Constructor Summary
SMSCollection(java.lang.String id, SMSWrapCollection wrapCollectionParameters)
          Create a new collection.
 
Method Summary
 SMSCollectionInfo getSMSCollectionInfo()
          Retrieve the collection info from the SMS repository.
 SMSInterface getSmsInterface()
           
 void initialise()
          
 void onLoad()
          
 void updateDynamicProperties()
          Update the collection dynamic properties.
 void updateDynamicProperties(SMSCollectionInfo collectionInfo)
          Update the dynamic collection properties.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SMSCollection

public SMSCollection(java.lang.String id,
                     SMSWrapCollection wrapCollectionParameters)
              throws java.lang.IllegalArgumentException
Create a new collection.

Parameters:
id - the collection id.
Throws:
java.lang.IllegalArgumentException
Method Detail

initialise

public void initialise()
                throws java.lang.Exception

Throws:
java.lang.Exception

onLoad

public void onLoad()
            throws java.lang.Exception

Throws:
java.lang.Exception

getSmsInterface

public SMSInterface getSmsInterface()
Returns:
the smsInterface

updateDynamicProperties

public void updateDynamicProperties()
                             throws java.lang.Exception
Update the collection dynamic properties.

Throws:
java.lang.Exception - if an error occurs retrieving the collection information.

updateDynamicProperties

public void updateDynamicProperties(SMSCollectionInfo collectionInfo)
Update the dynamic collection properties.

Parameters:
collectionInfo - the collection info.

getSMSCollectionInfo

public SMSCollectionInfo getSMSCollectionInfo()
                                       throws java.lang.Exception
Retrieve the collection info from the SMS repository.

Returns:
the SMS collection info.
Throws:
java.lang.Exception - if an error occurs retrieving the information.