spcp7.imagegallery.contentprovider.face
Interface ContentConnectionFace

All Known Subinterfaces:
ContentManipulationFace, ContentRetrievalFace, ContentSubmitterFace
All Known Implementing Classes:
AlfrescoContentRetrievalImpl

public interface ContentConnectionFace

This interface specifies function which every content interaction interface must implement.

Author:
Phillip Merensky

Method Summary
 void close()
          This method must be called after all content actions are done.
 void open(java.util.Map<java.lang.String,PropertyModelFace> properties)
          This method must be called before content will be retrieved or submitted.
 

Method Detail

open

void open(java.util.Map<java.lang.String,PropertyModelFace> properties)
          throws PropertyValidationException,
                 ContentProviderAuthenticationException
This method must be called before content will be retrieved or submitted.

Parameters:
properties - The map of properties of the content provider which specifies all needed options.
Throws:
PropertyValidationException - if the properties do not contain needed fields or these fields are invalid.
ContentProviderAuthenticationException - If the user could not be authenticated/logged in with the provided credentials.

close

void close()
This method must be called after all content actions are done.



Copyright © 2008. All Rights Reserved.