Class StyleSheet

java.lang.Object
fr.paris.lutece.portal.business.stylesheet.StyleSheet
All Implemented Interfaces:
Serializable

public class StyleSheet extends Object implements Serializable
This class represents business StyleSheet objects
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the description of this StyleSheet.
    Returns the file name of this StyleSheet.
    int
    Returns the identifier of this StyleSheet.
    int
    Returns the identifier of the mode of this StyleSheet.
    Returns the path of the stylesheet according to their mode
    byte[]
    Returns the file source of this StyleSheet.
    int
    Returns the identifier of the style of this StyleSheet.
    void
    setDescription(String strDescription)
    Sets the description of this StyleSheet to the String value specified in parameter.
    void
    setFile(String strFile)
    Sets the file name of this StyleSheet to the String value specified in parameter, "" if null.
    void
    setId(int nId)
    Sets this identifier to the int value specified in parameter.
    void
    setModeId(int nModeId)
    Sets the Mode identifier of this StyleSheet to the int value specified in parameter.
    void
    setPath(String strPath)
    Sets the path of the stylesheet according to their mode
    void
    setSource(byte[] strSource)
    Sets the file source of this StyleSheet to the String value specified in parameter.
    void
    setStyleId(int nStyleId)
    Sets the Style identifier of this StyleSheet to the int value specified in parameter.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • StyleSheet

      public StyleSheet()
  • Method Details

    • getId

      public int getId()
      Returns the identifier of this StyleSheet.
      Returns:
      this StyleSheet identifier
    • setId

      public void setId(int nId)
      Sets this identifier to the int value specified in parameter.
      Parameters:
      nId - The new identifier value
    • getStyleId

      public int getStyleId()
      Returns the identifier of the style of this StyleSheet.
      Returns:
      the Style identifier of this StyleSheet
    • setStyleId

      public void setStyleId(int nStyleId)
      Sets the Style identifier of this StyleSheet to the int value specified in parameter.
      Parameters:
      nStyleId - The new identifier value
    • getModeId

      public int getModeId()
      Returns the identifier of the mode of this StyleSheet.
      Returns:
      the Mode identifier of this StyleSheet
    • setModeId

      public void setModeId(int nModeId)
      Sets the Mode identifier of this StyleSheet to the int value specified in parameter.
      Parameters:
      nModeId - The new identifier value
    • getDescription

      public String getDescription()
      Returns the description of this StyleSheet.
      Returns:
      the description of this StyleSheet
    • setDescription

      public void setDescription(String strDescription)
      Sets the description of this StyleSheet to the String value specified in parameter.
      Parameters:
      strDescription - The new description value
    • getFile

      public String getFile()
      Returns the file name of this StyleSheet.
      Returns:
      the file name of this StyleSheet
    • setFile

      public void setFile(String strFile)
      Sets the file name of this StyleSheet to the String value specified in parameter, "" if null.
      Parameters:
      strFile - The new file name value
    • getSource

      public byte[] getSource()
      Returns the file source of this StyleSheet.
      Returns:
      the file source of this StyleSheet
    • setSource

      public void setSource(byte[] strSource)
      Sets the file source of this StyleSheet to the String value specified in parameter.
      Parameters:
      strSource - The new file source value
    • setPath

      public void setPath(String strPath)
      Sets the path of the stylesheet according to their mode
      Parameters:
      strPath - the path
    • getPath

      public String getPath()
      Returns the path of the stylesheet according to their mode
      Returns:
      path