com.silverpeas.comment.service.notification
Class Classified
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Classified
public Classified(String id,
String instanceId)
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.