fr.paris.lutece.plugins.dila.service.impl
Class ContentTypeService

java.lang.Object
  extended by fr.paris.lutece.plugins.dila.service.impl.ContentTypeService
All Implemented Interfaces:
IContentTypeService, Serializable

public class ContentTypeService
extends Object
implements IContentTypeService, Serializable

Implements the access methods of a ContentType

See Also:
Serialized Form

Constructor Summary
ContentTypeService()
           
 
Method Summary
 ContentType findByPrimaryKey(Integer nIdTypeContenu)
          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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentTypeService

public ContentTypeService()
Method Detail

getContentTypes

public List<ContentType> getContentTypes()
Description copied from interface: IContentTypeService
Return the list of all ContentType

Specified by:
getContentTypes in interface IContentTypeService
Returns:
ContentType list

findByPrimaryKey

public ContentType findByPrimaryKey(Integer nIdTypeContenu)
Description copied from interface: IContentTypeService
Return the ContentType by id

Specified by:
findByPrimaryKey in interface IContentTypeService
Parameters:
nIdTypeContenu - the ContentType id
Returns:
ContentType

getContentTypesWithoutAssociatedStyleSheet

public List<ContentType> getContentTypesWithoutAssociatedStyleSheet(Integer nIdStylesheet)
Description copied from interface: IContentTypeService
Return the list of all ContentType without associated stylesheet

Specified by:
getContentTypesWithoutAssociatedStyleSheet in interface IContentTypeService
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 © 2013 Mairie de Paris. All Rights Reserved.