Class StyleSheet
- java.lang.Object
-
- fr.paris.lutece.portal.business.stylesheet.StyleSheet
-
public class StyleSheet extends java.lang.ObjectThis class represents business StyleSheet objects
-
-
Constructor Summary
Constructors Constructor Description StyleSheet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()Returns the description of this StyleSheet.java.lang.StringgetFile()Returns the file name of this StyleSheet.intgetId()Returns the identifier of this StyleSheet.intgetModeId()Returns the identifier of the mode of this StyleSheet.java.lang.StringgetPath()Returns the path of the stylesheet according to their modebyte[]getSource()Returns the file source of this StyleSheet.intgetStyleId()Returns the identifier of the style of this StyleSheet.voidsetDescription(java.lang.String strDescription)Sets the description of this StyleSheet to the String value specified in parameter.voidsetFile(java.lang.String strFile)Sets the file name of this StyleSheet to the String value specified in parameter, "" if null.voidsetId(int nId)Sets this identifier to the int value specified in parameter.voidsetModeId(int nModeId)Sets the Mode identifier of this StyleSheet to the int value specified in parameter.voidsetPath(java.lang.String strPath)Sets the path of the stylesheet according to their modevoidsetSource(byte[] strSource)Sets the file source of this StyleSheet to the String value specified in parameter.voidsetStyleId(int nStyleId)Sets the Style identifier of this StyleSheet to the int value specified in parameter.
-
-
-
Method Detail
-
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 java.lang.String getDescription()
Returns the description of this StyleSheet.- Returns:
- the description of this StyleSheet
-
setDescription
public void setDescription(java.lang.String strDescription)
Sets the description of this StyleSheet to the String value specified in parameter.- Parameters:
strDescription- The new description value
-
getFile
public java.lang.String getFile()
Returns the file name of this StyleSheet.- Returns:
- the file name of this StyleSheet
-
setFile
public void setFile(java.lang.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(java.lang.String strPath)
Sets the path of the stylesheet according to their mode- Parameters:
strPath- the path
-
getPath
public java.lang.String getPath()
Returns the path of the stylesheet according to their mode- Returns:
- path
-
-