Interface IXViewerCustomizations
-
- All Known Implementing Classes:
FileStoreCustomizations
,XViewerCustomizations
public interface IXViewerCustomizations
Methods to implement if this XViewer allows the user to save local/shared customizations
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deleteCustomization(CustomizeData custData)
Delete customizationjava.util.List<CustomizeData>
getSavedCustDatas()
Load and return saved customizationsCustomizeData
getUserDefaultCustData()
Return customization saved as defaultboolean
isCustomizationPersistAvailable()
Return true if this XViewer is allowed to save local/shared customizationsboolean
isCustomizationUserDefault(CustomizeData custData)
Return true if given customization is the defaultvoid
saveCustomization(CustomizeData custData)
Called to have customization savedvoid
setUserDefaultCustData(CustomizeData newCustData, boolean set)
Set given customization as the user default
-
-
-
Method Detail
-
saveCustomization
void saveCustomization(CustomizeData custData) throws java.lang.Exception
Called to have customization saved- Throws:
java.lang.Exception
-
getSavedCustDatas
java.util.List<CustomizeData> getSavedCustDatas() throws java.lang.Exception
Load and return saved customizations- Throws:
java.lang.Exception
-
getUserDefaultCustData
CustomizeData getUserDefaultCustData() throws XViewerException
Return customization saved as default- Throws:
XViewerException
-
isCustomizationUserDefault
boolean isCustomizationUserDefault(CustomizeData custData) throws XViewerException
Return true if given customization is the default- Returns:
- true if default
- Throws:
XViewerException
-
setUserDefaultCustData
void setUserDefaultCustData(CustomizeData newCustData, boolean set) throws java.lang.Exception
Set given customization as the user default- Throws:
java.lang.Exception
-
deleteCustomization
void deleteCustomization(CustomizeData custData) throws java.lang.Exception
Delete customization- Throws:
java.lang.Exception
-
isCustomizationPersistAvailable
boolean isCustomizationPersistAvailable()
Return true if this XViewer is allowed to save local/shared customizations
-
-