fr.paris.lutece.plugins.dila.service
Interface IContentTypeService

All Known Implementing Classes:
ContentTypeService

public interface IContentTypeService

The Interface IContentTypeService.


Method Summary
 ContentType findByPrimaryKey(Integer nContentTypeId)
          Return the ContentType by id
 List<ContentType> getContentTypes()
          Return the list of all ContentType
 List<ContentType> getContentTypesWithoutAssociatedStyleSheet(Integer nIdStylesheet)
          Return the list of all ContentType without associated stylesheet
 

Method Detail

getContentTypes

List<ContentType> getContentTypes()
Return the list of all ContentType

Returns:
ContentType list

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 associate to the specific id stylesheet
Returns:
ContentType list


Copyright © 2014 Mairie de Paris. All Rights Reserved.