Class PortletDocumentLink
java.lang.Object
fr.paris.lutece.plugins.whatsnew.business.PortletDocumentLink
PortletDocumentLink
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGet the document IDintGet the portlet IDvoidsetDocumentId(int nDocumentId) Set the document IDvoidsetPortletId(int nPortletId) Set the portlet ID
-
Constructor Details
-
PortletDocumentLink
public PortletDocumentLink(int nPortletId, int nDocumentId) Constructor- Parameters:
nPortletId- the portlet IDnDocumentId- the document ID
-
-
Method Details
-
setPortletId
public void setPortletId(int nPortletId) Set the portlet ID- Parameters:
nPortletId- the portlet ID
-
getPortletId
public int getPortletId()Get the portlet ID- Returns:
- the portlet ID
-
setDocumentId
public void setDocumentId(int nDocumentId) Set the document ID- Parameters:
nDocumentId- the document ID
-
getDocumentId
public int getDocumentId()Get the document ID- Returns:
- the document ID
-