Interface MutablePublishProfile

All Superinterfaces:
PublishProfile

public interface MutablePublishProfile extends PublishProfile
A publish profile that may be edited.
  • 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

      void setTitle(String title)
      Sets the title of the profile.
      Parameters:
      title - The new title.
      Since:
      3.0
    • setDescription

      void setDescription(String description)
      Sets the description of the profile.
      Parameters:
      description - The new description.
      Since:
      3.0
    • setProfileData

      void setProfileData(byte[] data) throws IOException
      Sets the profile data.
      Parameters:
      data - The new profile data.
      Throws:
      IOException - If an IOException occurs.
      Since:
      3.0
    • save

      void save() throws IOException
      Saves changes to the profile back to the database.
      Throws:
      IOException - If an IOException occurs.
      Since:
      3.0
    • remove

      void remove() throws IOException
      Throws:
      IOException