fr.paris.lutece.plugins.dila.business.stylesheet.dao.impl
Class ContentTypeDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.dila.business.stylesheet.dao.impl.ContentTypeDAO
All Implemented Interfaces:
IContentTypeDAO, Serializable

public class ContentTypeDAO
extends Object
implements IContentTypeDAO, Serializable

The Class ContentTypeDAO. Gives access to "ContentType" data.

See Also:
Serialized Form

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

Constructor Detail

ContentTypeDAO

public ContentTypeDAO()
Method Detail

getContentTypes

public List<ContentType> getContentTypes()
Description copied from interface: IContentTypeDAO
Return all contentType

Specified by:
getContentTypes in interface IContentTypeDAO
Returns:
a list of contentType

findByPrimaryKey

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

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

getContentTypesWithoutAssociatedStyleSheet

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

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