mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
107541: Merged 5.0.N (5.0.3) to HEAD-BUG-FIX (5.1/Cloud) (PARTIAL MERGE) 107413: Merged DEV to 5.0.N (5.0.3) 106858 : MNT-13545: JavaDoc : Inconsistencies between the Java doc and the actual code - Cleaning of Javadoc, 107565: MNT-13545 Fix compilation after merge of Javadoc git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@107633 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -55,30 +55,30 @@ public interface BlogIntegrationImplementation
|
||||
/**
|
||||
* Update an exisiting blog post
|
||||
*
|
||||
* @param blogDetails
|
||||
* @param postId
|
||||
* @param title
|
||||
* @param body
|
||||
* @param publish
|
||||
* @return
|
||||
* @param blogDetails BlogDetails
|
||||
* @param postId String
|
||||
* @param title String
|
||||
* @param body String
|
||||
* @param publish boolean
|
||||
* @return boolean
|
||||
*/
|
||||
boolean updatePost(BlogDetails blogDetails, String postId, String title, String body, boolean publish);
|
||||
|
||||
/**
|
||||
* Get the details of an existing blog post
|
||||
*
|
||||
* @param blogDetails
|
||||
* @param postId
|
||||
* @return
|
||||
* @param blogDetails BlogDetails
|
||||
* @param postId String
|
||||
* @return Map
|
||||
*/
|
||||
Map<String, Object> getPost(BlogDetails blogDetails, String postId);
|
||||
|
||||
/**
|
||||
* Delete an existing blog post
|
||||
*
|
||||
* @param blogDetails
|
||||
* @param postId
|
||||
* @return
|
||||
* @param blogDetails BlogDetails
|
||||
* @param postId String
|
||||
* @return boolean
|
||||
*/
|
||||
boolean deletePost(BlogDetails blogDetails, String postId);
|
||||
}
|
||||
|
@@ -32,7 +32,7 @@ public class BlogIntegrationRuntimeException extends AlfrescoRuntimeException
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param msgId
|
||||
* @param msgId String
|
||||
*/
|
||||
public BlogIntegrationRuntimeException(String msgId)
|
||||
{
|
||||
@@ -42,8 +42,8 @@ public class BlogIntegrationRuntimeException extends AlfrescoRuntimeException
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param msgId
|
||||
* @param msgParams
|
||||
* @param msgId String
|
||||
* @param msgParams Object[]
|
||||
*/
|
||||
public BlogIntegrationRuntimeException(String msgId, Object[] msgParams)
|
||||
{
|
||||
@@ -53,8 +53,8 @@ public class BlogIntegrationRuntimeException extends AlfrescoRuntimeException
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param msgId
|
||||
* @param cause
|
||||
* @param msgId String
|
||||
* @param cause Throwable
|
||||
*/
|
||||
public BlogIntegrationRuntimeException(String msgId, Throwable cause)
|
||||
{
|
||||
@@ -64,9 +64,9 @@ public class BlogIntegrationRuntimeException extends AlfrescoRuntimeException
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param msgId
|
||||
* @param msgParams
|
||||
* @param cause
|
||||
* @param msgId String
|
||||
* @param msgParams Object[]
|
||||
* @param cause Throwable
|
||||
*/
|
||||
public BlogIntegrationRuntimeException(String msgId, Object[] msgParams, Throwable cause)
|
||||
{
|
||||
|
@@ -67,24 +67,24 @@ public interface BlogIntegrationService
|
||||
/**
|
||||
* Posts the content of a node to the blog specified
|
||||
*
|
||||
* @param blogDetails
|
||||
* @param nodeRef
|
||||
* @param contentProperty
|
||||
* @param publish
|
||||
* @param blogDetails BlogDetails
|
||||
* @param nodeRef NodeRef
|
||||
* @param contentProperty QName
|
||||
* @param publish boolean
|
||||
*/
|
||||
void newPost(BlogDetails blogDetails, NodeRef nodeRef, QName contentProperty, boolean publish);
|
||||
|
||||
/**
|
||||
*
|
||||
* @param nodeRef
|
||||
* @param contentProperty
|
||||
* @param publish
|
||||
* @param nodeRef NodeRef
|
||||
* @param contentProperty QName
|
||||
* @param publish boolean
|
||||
*/
|
||||
void updatePost(NodeRef nodeRef, QName contentProperty, boolean publish);
|
||||
|
||||
/**
|
||||
*
|
||||
* @param nodeRef
|
||||
* @param nodeRef NodeRef
|
||||
*/
|
||||
void deletePost(NodeRef nodeRef);
|
||||
}
|
||||
|
@@ -157,7 +157,7 @@ public class BlogIntegrationServiceImpl implements BlogIntegrationService, BlogI
|
||||
}
|
||||
|
||||
/**
|
||||
* @see org.alfresco.repo.blog.BlogIntegrationService#newPost(org.alfresco.module.blogIntegration.BlogDetails, org.alfresco.service.cmr.repository.NodeRef, org.alfresco.service.namespace.QName, boolean)
|
||||
* @see org.alfresco.repo.blog.BlogIntegrationService#newPost(BlogDetails, NodeRef, QName, boolean)
|
||||
*/
|
||||
public void newPost(BlogDetails blogDetails, NodeRef nodeRef, QName contentProperty, boolean publish)
|
||||
{
|
||||
|
@@ -59,7 +59,7 @@ import org.alfresco.service.cmr.repository.NodeRef;
|
||||
|
||||
/**
|
||||
* Gets the {@link ContentModel#PROP_NAME cm:name} of the blog post.
|
||||
* @return
|
||||
* @return String
|
||||
*/
|
||||
@Override
|
||||
public String getSystemName()
|
||||
|
@@ -146,8 +146,8 @@ public abstract class DefaultBlogIntegrationImplementation extends BaseBlogInteg
|
||||
/**
|
||||
* Helper method to get the XML RPC client
|
||||
*
|
||||
* @param url
|
||||
* @return
|
||||
* @param url String
|
||||
* @return XmlRpcClient
|
||||
*/
|
||||
private XmlRpcClient getClient(String url)
|
||||
{
|
||||
@@ -172,10 +172,10 @@ public abstract class DefaultBlogIntegrationImplementation extends BaseBlogInteg
|
||||
/**
|
||||
* Executes an XML RPC method
|
||||
*
|
||||
* @param url
|
||||
* @param method
|
||||
* @param params
|
||||
* @return
|
||||
* @param url String
|
||||
* @param method String
|
||||
* @param params List<Object>
|
||||
* @return Object
|
||||
*/
|
||||
protected Object execute(String url, String method, List<Object> params)
|
||||
{
|
||||
|
Reference in New Issue
Block a user