com.silverpeas.comment.service.notification
Class Classified

java.lang.Object
  extended by com.silverpeas.comment.service.notification.Classified
All Implemented Interfaces:
SilverpeasContent, Serializable

public class Classified
extends Object
implements SilverpeasContent

A silverpeas content to use in tests.

See Also:
Serialized Form

Constructor Summary
Classified(String id, String instanceId)
           
 
Method Summary
 boolean canBeAccessedBy(UserDetail user)
           
 Classified createdBy(UserDetail author)
           
 Classified entitled(String title)
           
 String getComponentInstanceId()
           
 String getContributionType()
           
 Date getCreationDate()
           
 UserDetail getCreator()
           
 String getDescription()
           
 String getId()
           
 String getSilverpeasContentId()
           
 String getTitle()
           
 void unauthorize(UserDetail user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Classified

public Classified(String id,
                  String instanceId)
Method Detail

getId

public String getId()
Specified by:
getId in interface SilverpeasContent

getComponentInstanceId

public String getComponentInstanceId()
Specified by:
getComponentInstanceId in interface SilverpeasContent

getCreator

public UserDetail getCreator()
Specified by:
getCreator in interface SilverpeasContent

createdBy

public Classified createdBy(UserDetail author)

getTitle

public String getTitle()
Specified by:
getTitle in interface SilverpeasContent

getDescription

public String getDescription()
Specified by:
getDescription in interface SilverpeasContent

entitled

public Classified entitled(String title)

getCreationDate

public Date getCreationDate()
Specified by:
getCreationDate in interface SilverpeasContent

getContributionType

public String getContributionType()
Specified by:
getContributionType in interface SilverpeasContent

canBeAccessedBy

public boolean canBeAccessedBy(UserDetail user)
Specified by:
canBeAccessedBy in interface SilverpeasContent

getSilverpeasContentId

public String getSilverpeasContentId()
Specified by:
getSilverpeasContentId in interface SilverpeasContent

unauthorize

public void unauthorize(UserDetail user)


Copyright © 2016 Silverpeas. All Rights Reserved.