Liferay 6.1.2-ce-ga3

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 final int ACCESS_DENIED
See Also:
Constant Field Values

GENERIC_FAULT

public static final int GENERIC_FAULT
See Also:
Constant Field Values

PINGBACK_ALREADY_REGISTERED

public static final int PINGBACK_ALREADY_REGISTERED
See Also:
Constant Field Values

SERVER_ERROR

public static final int SERVER_ERROR
See Also:
Constant Field Values

SOURCE_URI_DOES_NOT_EXIST

public static final int SOURCE_URI_DOES_NOT_EXIST
See Also:
Constant Field Values

SOURCE_URI_INVALID

public static final int SOURCE_URI_INVALID
See Also:
Constant Field Values

TARGET_URI_DOES_NOT_EXIST

public static final int TARGET_URI_DOES_NOT_EXIST
See Also:
Constant Field Values

TARGET_URI_INVALID

public static final int TARGET_URI_INVALID
See Also:
Constant Field Values
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.1.2-ce-ga3