com.liferay.portlet.blogs.util
Class PingbackMethodImpl
java.lang.Object
com.liferay.portlet.blogs.util.PingbackMethodImpl
- All Implemented Interfaces:
- Method
public class PingbackMethodImpl
- extends Object
- implements Method
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
PingbackMethodImpl
public PingbackMethodImpl()
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()