Package se.conciliate.extensions.store
Interface MTPublishTemplate
- All Superinterfaces:
MTPublishTemplateHeader
- Author:
- Richard
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]voidsave()Saves changes to the profile back to the database.voidsetDefaultPublishTemplate(boolean defaultPublishTemplate) Sets this template's default flag on the server.voidsetPublishTemplateData(byte[] data) voidSets the title of the template.voidSets 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)
-