fr.paris.lutece.plugins.library.business
public class SelectedMedia extends Object implements Comparable<SelectedMedia>
| Constructor and Description |
|---|
SelectedMedia()
Default constructor
|
SelectedMedia(int nMediaTypeId,
int nDocumentId,
int nMappingId)
Constructor with every parameters initialized
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(SelectedMedia o) |
Map<String,String> |
getAttributesFromMapping() |
fr.paris.lutece.plugins.document.business.Document |
getDocument()
Get the document associated with this media
|
int |
getDocumentId()
Get the document id
|
int |
getMappingId()
Get the mapping id
|
int |
getMediaTypeId()
Get the id of the media type
|
int |
getOrder()
Get the order of the item
|
void |
setAttributesFromMapping(Map<String,String> attributesFromMapping) |
void |
setDocument(fr.paris.lutece.plugins.document.business.Document document)
Set the document
|
void |
setDocumentId(int nDocumentId)
Set the document id
|
void |
setMappingId(int nMappingId)
Set the mapping id
|
void |
setMediaTypeId(int nMediaTypeId)
Set the id of the media type
|
void |
setOrder(int nOrder)
Set the order of the item
|
public SelectedMedia()
public SelectedMedia(int nMediaTypeId,
int nDocumentId,
int nMappingId)
nMediaTypeId - The id of the media typenDocumentId - The document idnMappingId - The mapping idpublic int getMediaTypeId()
public void setMediaTypeId(int nMediaTypeId)
nMediaTypeId - The id of the media typepublic int getDocumentId()
public void setDocumentId(int nDocumentId)
nDocumentId - The document idpublic int getMappingId()
public void setMappingId(int nMappingId)
nMappingId - The mapping idpublic int getOrder()
public void setOrder(int nOrder)
nOrder - The order of the itempublic fr.paris.lutece.plugins.document.business.Document getDocument()
public void setDocument(fr.paris.lutece.plugins.document.business.Document document)
document - The documentpublic void setAttributesFromMapping(Map<String,String> attributesFromMapping)
public int compareTo(SelectedMedia o)
compareTo in interface Comparable<SelectedMedia>Copyright © 2014 Mairie de Paris. All rights reserved.