|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.silverpeas.gallery.GalleryComponentSettings
public final class GalleryComponentSettings
It gathers all the settings and i18n relative to the Gallery component.
Field Summary | |
---|---|
static String |
COMPONENT_NAME
The name of the Gallery component in Silverpeas. |
static String |
ICONS_PATH
The relative path of the properties file containing the references of the icons dedicated to the Gallery component. |
static String |
MESSAGES_PATH
The relative path of the i18n bundle of the Gallery component. |
static String |
SETTINGS_PATH
The relative path of the properties file containing the settings of the Gallery component. |
Method Summary | |
---|---|
static com.stratelia.webactiv.util.ResourceLocator |
getIcons()
Gets all the icons definitions particular to the Gallery component. |
static int |
getMaxNumberOfPreviewThumbnail()
|
static com.stratelia.webactiv.util.ResourceLocator |
getMessagesIn(String language)
Gets all the messages for the Gallery component and translated in the specified language. |
static int |
getNbMediaDisplayedPerPage()
Gets the max number of media displayed on homepage. |
static int |
getNbMediaDisplayedPerPageByResolution(MediaResolution resolution)
Gets the max number of media displayed on homepage. |
static com.stratelia.webactiv.util.ResourceLocator |
getSettings()
Gets all the settings of the Gallery component. |
static Integer |
getWatermarkSize(String bundlePartOfWaterwarkSizeLabel)
|
static boolean |
isDragAndDropEnabled(String componentInstanceId)
|
static boolean |
isMakeWatermarkEnabled(String componentInstanceId)
|
static boolean |
isPdcEnabled(String componentInstanceId)
|
static boolean |
isViewMetadataEnabled(String componentInstanceId)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String COMPONENT_NAME
public static final String SETTINGS_PATH
public static final String MESSAGES_PATH
public static final String ICONS_PATH
Method Detail |
---|
public static com.stratelia.webactiv.util.ResourceLocator getMessagesIn(String language)
language
- the language in which are written the messages.
public static com.stratelia.webactiv.util.ResourceLocator getSettings()
public static com.stratelia.webactiv.util.ResourceLocator getIcons()
public static int getNbMediaDisplayedPerPage()
public static int getNbMediaDisplayedPerPageByResolution(MediaResolution resolution)
public static boolean isDragAndDropEnabled(String componentInstanceId)
public static boolean isPdcEnabled(String componentInstanceId)
public static boolean isViewMetadataEnabled(String componentInstanceId)
public static boolean isMakeWatermarkEnabled(String componentInstanceId)
public static Integer getWatermarkSize(String bundlePartOfWaterwarkSizeLabel)
public static int getMaxNumberOfPreviewThumbnail()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |