com.stratelia.webactiv.forums.models
Class ForumDetail
java.lang.Object
  
com.silverpeas.util.i18n.AbstractI18NBean
      
com.silverpeas.util.i18n.AbstractBean
          
com.stratelia.webactiv.forums.models.ForumDetail
- All Implemented Interfaces: 
 - com.silverpeas.SilverpeasContent, com.silverpeas.util.i18n.I18NBean, com.stratelia.silverpeas.contentManager.SilverContentInterface, Serializable
 
public class ForumDetail
- extends com.silverpeas.util.i18n.AbstractBean
- implements com.stratelia.silverpeas.contentManager.SilverContentInterface, Serializable, com.silverpeas.SilverpeasContent
  
This object contains the description of a forum
- Version:
 
  - 1.0
 
- Author:
 
  - Marc Guillemin
 
- See Also:
 - Serialized Form
 
 
 
| Methods inherited from class com.silverpeas.util.i18n.AbstractBean | 
getDescription, getLanguages, getName | 
 
| Methods inherited from class com.silverpeas.util.i18n.AbstractI18NBean | 
addTranslation, getClonedTranslations, getDescription, getLanguage, getLanguageToDisplay, getName, getNextTranslation, getTranslation, getTranslationId, getTranslations, isRemoveTranslation, setDescription, setLanguage, setName, setRemoveTranslation, setTranslationId, setTranslations, setTranslations, setTranslations | 
 
 
| Methods inherited from interface com.stratelia.silverpeas.contentManager.SilverContentInterface | 
getDescription, getDescription, getLanguages, getName, getName | 
 
| Methods inherited from interface com.silverpeas.SilverpeasContent | 
getDescription | 
 
ForumDetail
public ForumDetail(ForumPK pk,
                   String name,
                   String description,
                   String creatorId,
                   Date creationDate)
getPK
public ForumPK getPK()
 
 
setCreatorId
public void setCreatorId(String creatorId)
 
 
getCreatorId
public String getCreatorId()
- Specified by:
 getCreatorId in interface com.stratelia.silverpeas.contentManager.SilverContentInterface
 
 
getCreationDate
public Date getCreationDate()
- Specified by:
 getCreationDate in interface com.silverpeas.SilverpeasContent
 
 
toString
public String toString()
- Overrides:
 toString in class Object
 
 
setSilverObjectId
public void setSilverObjectId(String silverObjectId)
 
 
setSilverObjectId
public void setSilverObjectId(int silverObjectId)
 
 
getSilverObjectId
public String getSilverObjectId()
 
 
getURL
public String getURL()
- Specified by:
 getURL in interface com.stratelia.silverpeas.contentManager.SilverContentInterface
 
 
getId
public String getId()
- Specified by:
 getId in interface com.silverpeas.SilverpeasContent- Specified by:
 getId in interface com.stratelia.silverpeas.contentManager.SilverContentInterface
 
 
getInstanceId
public String getInstanceId()
- Specified by:
 getInstanceId in interface com.stratelia.silverpeas.contentManager.SilverContentInterface
 
 
getDate
public String getDate()
- Specified by:
 getDate in interface com.stratelia.silverpeas.contentManager.SilverContentInterface
 
 
setIconUrl
public void setIconUrl(String iconUrl)
 
 
getIconUrl
public String getIconUrl()
- Specified by:
 getIconUrl in interface com.stratelia.silverpeas.contentManager.SilverContentInterface
 
 
getTitle
public String getTitle()
- Specified by:
 getTitle in interface com.silverpeas.SilverpeasContent
 
 
getSilverCreationDate
public String getSilverCreationDate()
- Specified by:
 getSilverCreationDate in interface com.stratelia.silverpeas.contentManager.SilverContentInterface
 
 
equals
public boolean equals(Object o)
- Overrides:
 equals in class Object
 
 
hashCode
public int hashCode()
- Overrides:
 hashCode in class Object
 
 
getComponentInstanceId
public String getComponentInstanceId()
- Specified by:
 getComponentInstanceId in interface com.silverpeas.SilverpeasContent
 
 
getContributionType
public String getContributionType()
- Specified by:
 getContributionType in interface com.silverpeas.SilverpeasContent
 
 
canBeAccessedBy
public boolean canBeAccessedBy(com.stratelia.webactiv.beans.admin.UserDetail user)
- Is the specified user can access this forum?
 
 A user can access a forum if it has enough rights to access the Forums instance in
 which is managed this forum.
- Specified by:
 canBeAccessedBy in interface com.silverpeas.SilverpeasContent
 
- Parameters:
 user - a user in Silverpeas.
- Returns:
 - true if the user can access this forum, false otherwise.
 
 
 
getCreator
public com.stratelia.webactiv.beans.admin.UserDetail getCreator()
- Specified by:
 getCreator in interface com.silverpeas.SilverpeasContent
 
 
getSilverpeasContentId
public String getSilverpeasContentId()
- Specified by:
 getSilverpeasContentId in interface com.silverpeas.SilverpeasContent
 
 
Copyright © 2016 Silverpeas. All Rights Reserved.