com.stratelia.silverpeas.infoLetter.model
Class InfoLetterPublicationPdC
java.lang.Object
com.stratelia.webactiv.persistence.SilverpeasBean
com.stratelia.silverpeas.infoLetter.model.InfoLetterPublication
com.stratelia.silverpeas.infoLetter.model.InfoLetterPublicationPdC
- All Implemented Interfaces:
- com.silverpeas.SilverpeasContent, com.stratelia.silverpeas.contentManager.SilverContentInterface, com.stratelia.webactiv.persistence.SilverpeasBeanIntf, Serializable, Comparable<InfoLetter>
public class InfoLetterPublicationPdC
- extends InfoLetterPublication
- implements com.stratelia.silverpeas.contentManager.SilverContentInterface, com.silverpeas.SilverpeasContent
- Since:
- February 2002
- Author:
- lbertin
- See Also:
- Serialized Form
Methods inherited from class com.stratelia.silverpeas.infoLetter.model.InfoLetterPublication |
_getConnectionType, _getContent, _getTableName, _isValid, compareTo, getDescription, getInstanceId, getLetterId, getParutionDate, getPublicationState, getTitle, setDescription, setInstanceId, setLetterId, setLetterId, setParutionDate, setPublicationState, setTitle |
Methods inherited from class com.stratelia.webactiv.persistence.SilverpeasBean |
_getDatasourceName, _getJdbcData, getPK, getSureString, setPK |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.stratelia.silverpeas.contentManager.SilverContentInterface |
getDescription, getInstanceId |
Methods inherited from interface com.silverpeas.SilverpeasContent |
getDescription, getTitle |
InfoLetterPublicationPdC
public InfoLetterPublicationPdC()
- Constructeur sans parametres
- Since:
- February 2002
InfoLetterPublicationPdC
public InfoLetterPublicationPdC(InfoLetterPublication ilp)
- Constructeur pour convertir une InfoLetterPublication en InfoLetterPublicationPdc
- Parameters:
ilp
- InfoLetterPublication- Since:
- February 2002
InfoLetterPublicationPdC
public InfoLetterPublicationPdC(com.stratelia.webactiv.util.WAPrimaryKey pk,
String instanceId,
String title,
String description,
String parutionDate,
int publicationState,
int letterId)
- Constructeur à 7 parametres
- Parameters:
WAPrimaryKey
- pkinstanceId
- String
- titleString
- descriptionString
- parutionDateint
- publicationStateString
- letterId
getPositions
public String getPositions()
- Returns:
- the positions
setPositions
public void setPositions(String positions)
- Parameters:
positions
- the positions to set
getName
public String getName()
- methods to be implemented by SilverContentInterface
- Specified by:
getName
in interface com.stratelia.silverpeas.contentManager.SilverContentInterface
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
getDate
public String getDate()
- Specified by:
getDate
in interface com.stratelia.silverpeas.contentManager.SilverContentInterface
getCreatorId
public String getCreatorId()
- Specified by:
getCreatorId
in interface com.stratelia.silverpeas.contentManager.SilverContentInterface
getIconUrl
public String getIconUrl()
- Specified by:
getIconUrl
in interface com.stratelia.silverpeas.contentManager.SilverContentInterface
getSilverCreationDate
public String getSilverCreationDate()
- Specified by:
getSilverCreationDate
in interface com.stratelia.silverpeas.contentManager.SilverContentInterface
getDescription
public String getDescription(String language)
- Specified by:
getDescription
in interface com.stratelia.silverpeas.contentManager.SilverContentInterface
getName
public String getName(String language)
- Specified by:
getName
in interface com.stratelia.silverpeas.contentManager.SilverContentInterface
getLanguages
public Iterator<String> getLanguages()
- Specified by:
getLanguages
in interface com.stratelia.silverpeas.contentManager.SilverContentInterface
getComponentInstanceId
public String getComponentInstanceId()
- Method which implements SilverpeasContent
- Specified by:
getComponentInstanceId
in interface com.silverpeas.SilverpeasContent
getSilverpeasContentId
public String getSilverpeasContentId()
- Specified by:
getSilverpeasContentId
in interface com.silverpeas.SilverpeasContent
getCreator
public com.stratelia.webactiv.beans.admin.UserDetail getCreator()
- Specified by:
getCreator
in interface com.silverpeas.SilverpeasContent
getCreationDate
public Date getCreationDate()
- Specified by:
getCreationDate
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 information letter?
A user can access an information letter if it has enough rights to access the InfoLetter
instance in which is managed this letter.
- Specified by:
canBeAccessedBy
in interface com.silverpeas.SilverpeasContent
- Parameters:
user
- a user in Silverpeas.
- Returns:
- true if the user can access this letter, false otherwise.
Copyright © 2016 Silverpeas. All Rights Reserved.