Liferay 6.0.5

com.liferay.portlet.blogs.util
Class PingbackMethodImpl

java.lang.Object
  extended by com.liferay.portlet.blogs.util.PingbackMethodImpl
All Implemented Interfaces:
Method

public class PingbackMethodImpl
extends Object
implements Method


Field Summary
static int ACCESS_DENIED
           
static int GENERIC_FAULT
           
static int PINGBACK_ALREADY_REGISTERED
           
static int SERVER_ERROR
           
static int SOURCE_URI_DOES_NOT_EXIST
           
static int SOURCE_URI_INVALID
           
static int TARGET_URI_DOES_NOT_EXIST
           
static int TARGET_URI_INVALID
           
 
Constructor Summary
PingbackMethodImpl()
           
 
Method Summary
 Response execute(long companyId)
           
protected  BlogsEntry getBlogsEntry(long companyId)
           
protected  String getExcerpt()
           
 String getMethodName()
           
protected  String getParam(Map<String,String[]> params, String name)
           
 String getToken()
           
 boolean setArguments(Object[] arguments)
           
protected  Response validateSource()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACCESS_DENIED

public static int ACCESS_DENIED

GENERIC_FAULT

public static int GENERIC_FAULT

PINGBACK_ALREADY_REGISTERED

public static int PINGBACK_ALREADY_REGISTERED

SERVER_ERROR

public static int SERVER_ERROR

SOURCE_URI_DOES_NOT_EXIST

public static int SOURCE_URI_DOES_NOT_EXIST

SOURCE_URI_INVALID

public static int SOURCE_URI_INVALID

TARGET_URI_DOES_NOT_EXIST

public static int TARGET_URI_DOES_NOT_EXIST

TARGET_URI_INVALID

public static int TARGET_URI_INVALID
Constructor Detail

PingbackMethodImpl

public PingbackMethodImpl()
Method Detail

execute

public Response execute(long companyId)
Specified by:
execute in interface Method

getMethodName

public String getMethodName()
Specified by:
getMethodName in interface Method

getToken

public String getToken()
Specified by:
getToken in interface Method

setArguments

public boolean setArguments(Object[] arguments)
Specified by:
setArguments in interface Method

getBlogsEntry

protected BlogsEntry getBlogsEntry(long companyId)
                            throws Exception
Throws:
Exception

getExcerpt

protected String getExcerpt()
                     throws IOException
Throws:
IOException

getParam

protected String getParam(Map<String,String[]> params,
                          String name)

validateSource

protected Response validateSource()

Liferay 6.0.5