public class ContentTypeDAO extends Object implements IContentTypeDAO, Serializable
Constructor and Description |
---|
ContentTypeDAO() |
Modifier and Type | Method and Description |
---|---|
ContentType |
findByPrimaryKey(Integer nIdTypeContenu)
Return the ContentType by id
|
List<ContentType> |
getContentTypes()
Return all contentType
|
List<ContentType> |
getContentTypesWithoutAssociatedStyleSheet(Integer nIdStylesheet)
Return the list of all ContentType without associated stylesheet
|
public List<ContentType> getContentTypes()
IContentTypeDAO
getContentTypes
in interface IContentTypeDAO
public ContentType findByPrimaryKey(Integer nIdTypeContenu)
IContentTypeDAO
findByPrimaryKey
in interface IContentTypeDAO
nIdTypeContenu
- the ContentType idpublic List<ContentType> getContentTypesWithoutAssociatedStyleSheet(Integer nIdStylesheet)
IContentTypeDAO
getContentTypesWithoutAssociatedStyleSheet
in interface IContentTypeDAO
nIdStylesheet
- stylesheet id, if != 0 the method will return all
ContentType without associated stylesheet plus the ContentType
associated to the specific stylesheet idCopyright © 2017 City of Paris. All rights reserved.