Package se.conciliate.extensions.store
Interface MTPublishTemplateHeader
- All Known Subinterfaces:
MTPublishTemplate
public interface MTPublishTemplateHeader
- Author:
- sebastian
-
Method Summary
Modifier and TypeMethodDescriptionexpand()Returns aMTPublishTemplatefor this publish template.longgetID()Returns the unique ID of the publish template.getTitle()Return the title of the template.getType()Returns the type of the profile.booleanChecks if the template is the default template on the server.voidremove()Removes the template.
-
Method Details
-
getID
long getID()Returns the unique ID of the publish template. This ID is unique across the entire database.- Returns:
- The unique ID.
-
getType
String getType()Returns the type of the profile. This should be a unique identifier identifying the module used to create the custom export profile.- Returns:
- The profile type.
- Since:
- 4.3
-
getTitle
String getTitle()Return the title of the template.- Returns:
- The template title.
-
isDefaultPublishTemplate
boolean isDefaultPublishTemplate()Checks if the template is the default template on the server.- Returns:
trueif this template is the default,falseotherwise.
-
expand
Returns aMTPublishTemplatefor this publish template. Beware that this might require querying the storage layer for more data.- Returns:
- A
MTPublishTemplaterepresenting this template. - Throws:
MTAccessException
-
remove
Removes the template.- Throws:
MTAccessException
-