Package se.conciliate.extensions.store
Interface MTPublishTemplate
- All Superinterfaces:
MTPublishTemplateHeader
- Author:
- Richard
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
void
save()
Saves changes to the profile back to the database.void
setDefaultPublishTemplate
(boolean defaultPublishTemplate) Sets this template's default flag on the server.void
setPublishTemplateData
(byte[] data) void
Sets the title of the template.void
Sets the type of the template.Methods inherited from interface se.conciliate.extensions.store.MTPublishTemplateHeader
expand, getID, getTitle, getType, isDefaultPublishTemplate, remove
-
Method Details
-
setTitle
Sets the title of the template.- Parameters:
title
- The new title.
-
setType
Sets the type of the template.- Parameters:
type
- The new type.
-
setDefaultPublishTemplate
void setDefaultPublishTemplate(boolean defaultPublishTemplate) Sets this template's default flag on the server. Only one template can be default at the same time.- Parameters:
defaultPublishTemplate
- The new default state.
-
save
Saves changes to the profile back to the database.- Throws:
MTAccessException
-
getPublishTemplateData
byte[] getPublishTemplateData() -
setPublishTemplateData
void setPublishTemplateData(byte[] data)
-