Package de.uplanet.lucy.util
Class Layout
java.lang.Object
de.uplanet.lucy.util.Layout
-
Constructor Summary
ConstructorDescriptionLayout()
Layout
(String p_name, String p_strSubDirectory, boolean p_bIsDefault, boolean p_bMobile, String p_authorLogin, String p_authorGuid, Date p_lastModifiedDate, String p_strDefaultMenu, boolean p_bHiddenInLayoutSwitch, boolean p_hasMenuStyles, String p_strMinWidthMedium, String p_strMinWidthLarge, String p_strPrintMinWidthMedium, String p_strPrintMinWidthLarge, String p_strMailLayout, boolean p_bLocked, boolean p_bPublishedByPublishedAllLayouts, byte[] p_icon) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
getIcon()
Get the icon of the layout.getName()
boolean
boolean
boolean
boolean
boolean
boolean
isLocked()
Get the lock status of the layout.boolean
isMobile()
boolean
void
setAuthorGuid
(String p_authorGuid) void
setAuthorLogin
(String p_authorLogin) void
setDefaultMenu
(String p_defaultMenu) void
setHasMenuStyles
(boolean p_hasMenuStyles) void
setHiddenInLayoutSwitch
(boolean p_hiddenInLayoutSwitch) void
setIcon
(byte[] p_icon) Set the icon of the layout.void
setIsDefault
(boolean p_isDefault) void
setLastModifiedDate
(Date p_lastModifiedDate) void
setLocked
(boolean p_bLocked) Set the lock status of the layout.void
setMailLayout
(String p_mailLayout) void
setMinWidthLarge
(String p_minWidthLarge) void
setMinWidthMedium
(String p_minWidthMedium) void
setMobile
(boolean p_mobile) void
void
setPrintMinWidthLarge
(String p_printMinWidthLarge) void
setPrintMinWidthMedium
(String p_printMinWidthMedium) void
setPublishedByPublishedAllLayouts
(boolean p_publishedByPublishedAllLayouts) void
setSubDirectory
(String p_subDirectory)
-
Constructor Details
-
Layout
public Layout() -
Layout
-
Layout
public Layout(String p_name, String p_strSubDirectory, boolean p_bIsDefault, boolean p_bMobile, String p_authorLogin, String p_authorGuid, Date p_lastModifiedDate, String p_strDefaultMenu, boolean p_bHiddenInLayoutSwitch, boolean p_hasMenuStyles, String p_strMinWidthMedium, String p_strMinWidthLarge, String p_strPrintMinWidthMedium, String p_strPrintMinWidthLarge, String p_strMailLayout, boolean p_bLocked, boolean p_bPublishedByPublishedAllLayouts, byte[] p_icon)
-
-
Method Details
-
isDefault
public boolean isDefault() -
getDisplayName
-
getSubDirectory
-
isMobile
public boolean isMobile() -
getAuthorLogin
-
getAuthorGuid
-
getLastModifiedDate
-
getDefaultMenu
-
isHiddenInLayoutSwitch
public boolean isHiddenInLayoutSwitch() -
hasMenuStyles
public boolean hasMenuStyles() -
getMinWidthMedium
-
getMinWidthLarge
-
getPrintMinWidthMedium
-
getPrintMinWidthLarge
-
getMailLayout
-
getName
-
setName
-
isIsDefault
public boolean isIsDefault() -
setIsDefault
public void setIsDefault(boolean p_isDefault) -
isHasMenuStyles
public boolean isHasMenuStyles() -
setHasMenuStyles
public void setHasMenuStyles(boolean p_hasMenuStyles) -
setSubDirectory
-
setMobile
public void setMobile(boolean p_mobile) -
setAuthorLogin
-
setAuthorGuid
-
setLastModifiedDate
-
setDefaultMenu
-
setHiddenInLayoutSwitch
public void setHiddenInLayoutSwitch(boolean p_hiddenInLayoutSwitch) -
setMinWidthMedium
-
setMinWidthLarge
-
setPrintMinWidthMedium
-
setPrintMinWidthLarge
-
setMailLayout
-
isLocked
public boolean isLocked()Get the lock status of the layout.- Returns:
true
if the layout is locked, orfalse
otherwise.
-
setLocked
public void setLocked(boolean p_bLocked) Set the lock status of the layout.- Parameters:
p_bLocked
- Lock status (true = locked).
-
isPublishedByPublishedAllLayouts
public boolean isPublishedByPublishedAllLayouts()- Returns:
true
if the layout was published by publishAllLayouts last time, orfalse
otherwise.
-
setPublishedByPublishedAllLayouts
public void setPublishedByPublishedAllLayouts(boolean p_publishedByPublishedAllLayouts) - Parameters:
p_publishedByPublishedAllLayouts
-true
if the layout was published by publishAllLayouts last time, orfalse
otherwise.
-
getIcon
public byte[] getIcon()Get the icon of the layout.- Returns:
- the icon as byte array.
-
setIcon
public void setIcon(byte[] p_icon) Set the icon of the layout.- Parameters:
p_icon
- the icon as byte array.
-