fr.paris.lutece.plugins.parisvideo.service
Class ParisvideoService

java.lang.Object
  extended by fr.paris.lutece.plugins.parisvideo.service.ParisvideoService

public class ParisvideoService
extends java.lang.Object

This class allows to get video from ParisTV (from wsdl files with Axis 1.4) http://v01-adminvnavig.apps.paris.mdp/tvnavig/default/services http://v01-vnavig.apps.paris.mdp One can access those webservices from Paris intranet only See junit test to understand how it works.


Constructor Summary
ParisvideoService()
           
 
Method Summary
 UserDomainResult[] getDomain(java.lang.String login, java.lang.String password)
          get the domain list for a give login/password
 AssetPlayer getVideo(int videoId)
          get video from its ID
 java.util.List<AssetOGC> getVideos(java.lang.Integer domainId, java.lang.String searchSubject, MetaValueResult[] metaValues, java.util.Calendar beginDate, java.util.Calendar endDate, java.lang.String format)
          Get videos from webservices.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParisvideoService

public ParisvideoService()
Method Detail

getDomain

public UserDomainResult[] getDomain(java.lang.String login,
                                    java.lang.String password)
                             throws java.lang.Exception
get the domain list for a give login/password

Throws:
java.lang.Exception

getVideos

public java.util.List<AssetOGC> getVideos(java.lang.Integer domainId,
                                          java.lang.String searchSubject,
                                          MetaValueResult[] metaValues,
                                          java.util.Calendar beginDate,
                                          java.util.Calendar endDate,
                                          java.lang.String format)
                                   throws java.lang.Exception
Get videos from webservices. You need to be connected first.

Parameters:
domainId - there are domains for each account
searchSubject -
metaValues -
beginDate -
endDate -
format -
Returns:
the list of videos (AssetOGC is a object genereated by the WSDL)
Throws:
java.lang.Exception

getVideo

public AssetPlayer getVideo(int videoId)
                     throws java.lang.Exception
get video from its ID

Throws:
java.lang.Exception


Copyright © 2009 Mairie de Paris. All Rights Reserved.