org.infoglue.deliver.util.webservices
Class InfoGlueWebServices

java.lang.Object
  extended by org.infoglue.deliver.util.webservices.InfoGlueWebServices

public class InfoGlueWebServices
extends java.lang.Object

This class helps in requesting information from an webservice.

Author:
Mattias Bogeblad

Constructor Summary
InfoGlueWebServices()
          The constructor for this class.
 
Method Summary
 java.lang.Integer createContent(ContentVO contentVO, java.lang.Integer parentContentId, java.lang.Integer contentTypeDefinitionId, java.lang.Integer repositoryId)
          This is the method that lets you create a content and versions.
 java.lang.Integer createContentVersion(ContentVersionVO contentVersionVO, java.lang.Integer contentId, java.lang.Integer languageId)
          This is the method that lets you create a contentversion.
 boolean getIsSuccessfull()
          This method returns true if the request to the webservice returned successfully.
 java.lang.String getMessage()
          This method returns any message coming from the webservice.
 java.lang.String getServiceUrl()
          A method to set the serviceUrl which is the endpoint of this call.
 void setIsSuccessfull(boolean isSuccessfull)
          This method sets if the request to the webservice returned successfully.
 void setMessage(java.lang.String message)
          This method sets a message from the webservice.
 void setServiceUrl(java.lang.String serviceUrl)
          A method to get the serviceUrl which is the endpoint of this call.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InfoGlueWebServices

public InfoGlueWebServices()
The constructor for this class.

Method Detail

getServiceUrl

public java.lang.String getServiceUrl()
A method to set the serviceUrl which is the endpoint of this call.


setServiceUrl

public void setServiceUrl(java.lang.String serviceUrl)
A method to get the serviceUrl which is the endpoint of this call.


createContent

public java.lang.Integer createContent(ContentVO contentVO,
                                       java.lang.Integer parentContentId,
                                       java.lang.Integer contentTypeDefinitionId,
                                       java.lang.Integer repositoryId)
This is the method that lets you create a content and versions.


createContentVersion

public java.lang.Integer createContentVersion(ContentVersionVO contentVersionVO,
                                              java.lang.Integer contentId,
                                              java.lang.Integer languageId)
This is the method that lets you create a contentversion.


getIsSuccessfull

public boolean getIsSuccessfull()
This method returns true if the request to the webservice returned successfully.


setIsSuccessfull

public void setIsSuccessfull(boolean isSuccessfull)
This method sets if the request to the webservice returned successfully.


getMessage

public java.lang.String getMessage()
This method returns any message coming from the webservice.


setMessage

public void setMessage(java.lang.String message)
This method sets a message from the webservice.



Copyright © 2005 InfoGlue.org All Rights Reserved.