Interface IStyleDAO

All Known Implementing Classes:
StyleDAO

public interface IStyleDAO
Author:
LEVY
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    checkStylePortalComponent(int nPortalComponentId)
    Checks if a style has been created in the database with the given portal componenet
    void
    delete(int nStyleId)
    Delete a record from the table
    void
    insert(Style style)
    Insert a new record in the table.
    load(int nStyleId)
    load the data of the Style whose identifier is specified in parameter from the table
    fr.paris.lutece.util.ReferenceList
    Returns the list of the portal component in form of a ReferenceList
    selectStyleSheetList(int nStyleId)
    load the data of the StyleSheet which re associated to the given style
    Load the list of styles stored in the database
    void
    store(Style style)
    Update the record in the table
  • Method Details

    • checkStylePortalComponent

      boolean checkStylePortalComponent(int nPortalComponentId)
      Checks if a style has been created in the database with the given portal componenet
      Parameters:
      nPortalComponentId - The identifier of the portal component
      Returns:
      true if a style has been created for this portal component, false otherwise
    • delete

      void delete(int nStyleId)
      Delete a record from the table
      Parameters:
      nStyleId - the identifier of the style to delete
    • insert

      void insert(Style style)
      Insert a new record in the table.
      Parameters:
      style - The Instance of the object Style
    • load

      Style load(int nStyleId)
      load the data of the Style whose identifier is specified in parameter from the table
      Parameters:
      nStyleId - The identifier of the Style
      Returns:
      an instance of the Style which has been created
    • selectPortalComponentList

      fr.paris.lutece.util.ReferenceList selectPortalComponentList()
      Returns the list of the portal component in form of a ReferenceList
      Returns:
      the list of the portal component
    • selectStyleSheetList

      Collection<StyleSheet> selectStyleSheetList(int nStyleId)
      load the data of the StyleSheet which re associated to the given style
      Parameters:
      nStyleId - The identifier of the Style
      Returns:
      an instance of the Style which has been created
    • selectStylesList

      Collection<Style> selectStylesList()
      Load the list of styles stored in the database
      Returns:
      The styles list in form of a Collection object
    • store

      void store(Style style)
      Update the record in the table
      Parameters:
      style - The instance of the Style to update