Class Script

    • Method Detail

      • getId

        public String getId()
        Description copied from interface: ScriptModel
        Returns the unique id of the script. null for ad-hoc created scripts.
        Specified by:
        getId in interface ScriptModel
      • setId

        public void setId​(String id)
      • getRealmId

        public String getRealmId()
        Description copied from interface: ScriptModel
        Returns the realm id in which the script was defined.
        Specified by:
        getRealmId in interface ScriptModel
      • setRealmId

        public void setRealmId​(String realmId)
      • setName

        public void setName​(String name)
      • getMimeType

        public String getMimeType()
        Description copied from interface: ScriptModel
        Returns the MIME-type if the script code, e.g. for Java Script the MIME-type, text/javascript is used.
        Specified by:
        getMimeType in interface ScriptModel
      • setMimeType

        public void setMimeType​(String mimeType)
      • getCode

        public String getCode()
        Description copied from interface: ScriptModel
        Returns the actual source code of the script.
        Specified by:
        getCode in interface ScriptModel
      • setCode

        public void setCode​(String code)
      • setDescription

        public void setDescription​(String description)