Package se.conciliate.extensions.publish
Interface MutablePublishProfile
- All Superinterfaces:
PublishProfile
A publish profile that may be edited.
-
Method Summary
Modifier and TypeMethodDescriptionlong
getID()
Returns the ID of the profile if it is stored in the database.void
remove()
void
save()
Saves changes to the profile back to the database.void
setDescription
(String description) Sets the description of the profile.void
setProfileData
(byte[] data) Sets the profile data.void
Sets the title of the profile.Methods inherited from interface se.conciliate.extensions.publish.PublishProfile
getDescription, getProfileData, getTitle, getType
-
Method Details
-
getID
long getID()Returns the ID of the profile if it is stored in the database. If this profile is stored in some other way this should return -1.- Returns:
- the ID of the profile if it is stored in the database.
-
setTitle
Sets the title of the profile.- Parameters:
title
- The new title.- Since:
- 3.0
-
setDescription
Sets the description of the profile.- Parameters:
description
- The new description.- Since:
- 3.0
-
setProfileData
Sets the profile data.- Parameters:
data
- The new profile data.- Throws:
IOException
- If an IOException occurs.- Since:
- 3.0
-
save
Saves changes to the profile back to the database.- Throws:
IOException
- If an IOException occurs.- Since:
- 3.0
-
remove
- Throws:
IOException
-