Class StyleSheet
java.lang.Object
fr.paris.lutece.portal.business.stylesheet.StyleSheet
This class represents business StyleSheet objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the description of this StyleSheet.getFile()Returns the file name of this StyleSheet.intgetId()Returns the identifier of this StyleSheet.intReturns the identifier of the mode of this StyleSheet.getPath()Returns the path of the stylesheet according to their modebyte[]Returns the file source of this StyleSheet.intReturns the identifier of the style of this StyleSheet.voidsetDescription(String strDescription) Sets the description of this StyleSheet to the String value specified in parameter.voidSets 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.voidSets 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.
-
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
Returns the description of this StyleSheet.- Returns:
- the description of this StyleSheet
-
setDescription
Sets the description of this StyleSheet to the String value specified in parameter.- Parameters:
strDescription- The new description value
-
getFile
Returns the file name of this StyleSheet.- Returns:
- the file name of this StyleSheet
-
setFile
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
Sets the path of the stylesheet according to their mode- Parameters:
strPath- the path
-
getPath
Returns the path of the stylesheet according to their mode- Returns:
- path
-