Package se.conciliate.extensions.store
Interface MTPublishTemplateHeader
- All Known Subinterfaces:
MTPublishTemplate
public interface MTPublishTemplateHeader
- Author:
- sebastian
-
Method Summary
Modifier and TypeMethodDescriptionexpand()
Returns aMTPublishTemplate
for this publish template.long
getID()
Returns the unique ID of the publish template.getTitle()
Return the title of the template.getType()
Returns the type of the profile.boolean
Checks if the template is the default template on the server.void
remove()
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:
true
if this template is the default,false
otherwise.
-
expand
Returns aMTPublishTemplate
for this publish template. Beware that this might require querying the storage layer for more data.- Returns:
- A
MTPublishTemplate
representing this template. - Throws:
MTAccessException
-
remove
Removes the template.- Throws:
MTAccessException
-