Package se.conciliate.extensions.store
Interface MTColorSchemeHeader
- All Known Subinterfaces:
MTColorScheme
public interface MTColorSchemeHeader
- Author:
- sebastian
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionexpand()Returns aMTColorSchemefor this color scheme.longgetID()Returns the unique ID of the color scheme.getTitle()Return the title of the color scheme.booleanChecks if the color scheme is the default color scheme on the server.booleanMakes a database trip to check if the title is available or not.voidremove()Removes the color scheme.
-
Field Details
-
DEFAULT_COLOR_SCHEME_NAME
- See Also:
-
-
Method Details
-
getID
long getID()Returns the unique ID of the color scheme. This ID is unique across the entire database.- Returns:
- The unique ID.
- Since:
- 3.0
-
getTitle
String getTitle()Return the title of the color scheme.- Returns:
- The color scheme title.
- Since:
- 3.0
-
isTitleAvailable
boolean isTitleAvailable()Makes a database trip to check if the title is available or not.- Returns:
- true if the title is available, otherwise false
- Since:
- 3.0
-
isDefaultColorScheme
boolean isDefaultColorScheme()Checks if the color scheme is the default color scheme on the server.- Returns:
trueif this color scheme is the default,falseotherwise.- Since:
- 3.0
-
expand
Returns aMTColorSchemefor this color scheme. Beware that this might require querying the storage layer for more data.- Returns:
- A
MTColorSchemerepresenting this color scheme. - Throws:
MTAccessException- If an MTAccessException occurs.- Since:
- 3.0
-
remove
Removes the color scheme.- Throws:
MTAccessException- If an MTAccessException occurs.- Since:
- 3.0
-