mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
ALF-9153 Start on implementing the DiscussionService
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29704 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -44,7 +44,7 @@ public interface DiscussionService {
|
||||
* Creates a new {@link TopicInfo} in the given site
|
||||
*/
|
||||
@NotAuditable
|
||||
TopicInfo createTopic(String siteShortName);
|
||||
TopicInfo createTopic(String siteShortName, String title);
|
||||
|
||||
/**
|
||||
* Creates a new {@link TopicInfo} attached to the specified Node.
|
||||
@@ -52,7 +52,7 @@ public interface DiscussionService {
|
||||
* {@link ForumModel#TYPE_FORUM}
|
||||
*/
|
||||
@NotAuditable
|
||||
TopicInfo createTopic(NodeRef nodeRef, String title);
|
||||
TopicInfo createTopic(NodeRef parentNodeRef, String title);
|
||||
|
||||
/**
|
||||
* Updates an existing {@link PostInfo} in the repository.
|
||||
@@ -62,6 +62,14 @@ public interface DiscussionService {
|
||||
@NotAuditable
|
||||
PostInfo updatePost(PostInfo post);
|
||||
|
||||
/**
|
||||
* Updates an existing {@link TopicInfo} in the repository.
|
||||
*
|
||||
* @return The updated {@link TopicInfo}
|
||||
*/
|
||||
@NotAuditable
|
||||
TopicInfo updateTopic(TopicInfo topic);
|
||||
|
||||
/**
|
||||
* Deletes an existing {@link PostInfo} from the repository
|
||||
*/
|
||||
@@ -78,7 +86,7 @@ public interface DiscussionService {
|
||||
* Retrieves an existing {@link PostInfo} from the repository
|
||||
*/
|
||||
@NotAuditable
|
||||
PostInfo getPost(TopicInfo topic, String linkName);
|
||||
PostInfo getPost(TopicInfo topic, String postName);
|
||||
|
||||
/**
|
||||
* Retrieves the Primary (Root) Post in a topic, to which all
|
||||
@@ -102,7 +110,7 @@ public interface DiscussionService {
|
||||
* {@link ForumModel#TYPE_FORUM}
|
||||
*/
|
||||
@NotAuditable
|
||||
TopicInfo getTopic(NodeRef nodeRef, String linkName);
|
||||
TopicInfo getTopic(NodeRef parentNodeRef, String topicName);
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -76,7 +76,7 @@ public interface PostInfo extends Serializable, PermissionCheckValue {
|
||||
String getCreator();
|
||||
|
||||
/**
|
||||
* @return the modifier of the post
|
||||
* @return the modifier of the wiki page
|
||||
*/
|
||||
String getModifier();
|
||||
|
||||
|
@@ -67,6 +67,11 @@ public interface TopicInfo extends Serializable, PermissionCheckValue {
|
||||
*/
|
||||
String getCreator();
|
||||
|
||||
/**
|
||||
* @return the modifier of the wiki page
|
||||
*/
|
||||
String getModifier();
|
||||
|
||||
/**
|
||||
* @return the creation date and time
|
||||
*/
|
||||
|
Reference in New Issue
Block a user