fr.paris.lutece.plugins.dila.business.stylesheet.dao
Interface IContentTypeDAO

All Known Implementing Classes:
ContentTypeDAO

public interface IContentTypeDAO

The Interface IContentTypeDAO.


Method Summary
 ContentType findByPrimaryKey(Integer nContentTypeId)
          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
 

Method Detail

getContentTypes

List<ContentType> getContentTypes()
Return all contentType

Returns:
a list of contentType

findByPrimaryKey

ContentType findByPrimaryKey(Integer nContentTypeId)
Return the ContentType by id

Parameters:
nContentTypeId - the ContentType id
Returns:
ContentType

getContentTypesWithoutAssociatedStyleSheet

List<ContentType> getContentTypesWithoutAssociatedStyleSheet(Integer nIdStylesheet)
Return the list of all ContentType without associated stylesheet

Parameters:
nIdStylesheet - stylesheet id, if != 0 the method will return all ContentType without associated stylesheet plus the ContentType associated to the specific stylesheet id
Returns:
ContentType list


Copyright © 2014 Mairie de Paris. All Rights Reserved.