Class ServiceInstanceConfig

    • Constructor Detail

      • ServiceInstanceConfig

        public ServiceInstanceConfig()
    • Method Detail

      • getDescription

        public String getDescription()
        Returns:
        Returns the description.
      • setDescription

        public void setDescription​(String description)
        Parameters:
        description - The description to set.
      • getId

        public String getId()
        Returns:
        Returns the id.
      • setId

        public void setId​(String id)
        Parameters:
        id - The id to set.
      • getName

        public String getName()
        Returns:
        Returns the name.
      • setName

        public void setName​(String name)
        Parameters:
        name - The name to set.
      • getChannelId

        public String getChannelId()
        Returns:
        Returns the channelId.
      • setChannelId

        public void setChannelId​(String channelId)
        Parameters:
        channelId - The channelId to set.
      • getServiceId

        public String getServiceId()
        Returns:
        Returns the serviceId.
      • setServiceId

        public void setServiceId​(String serviceId)
        Parameters:
        serviceId - The serviceId to set.
      • usesPublicFileStorage

        public Boolean usesPublicFileStorage()
        Returns whether this service instance uses public file storage.
        Returns:
        true if it uses, false if it does not use the public file storage or null if unspecified and will be configured with the default for its service when added.
        Since:
        12.2.0
      • setUsesPublicFileStorage

        public void setUsesPublicFileStorage​(boolean filePublic)
      • isInContextEditDisabled

        public boolean isInContextEditDisabled()
      • setDisableInContextEdit

        public void setDisableInContextEdit​(boolean disableInContextEdit)
      • getPropertyNames

        public Enumeration getPropertyNames()
      • getExtendedProperty

        public String getExtendedProperty​(String name)
      • getExtendedPropertyNames

        public Enumeration getExtendedPropertyNames()
      • getAccessControlListId

        public String getAccessControlListId()
      • setAccessControlListId

        public void setAccessControlListId​(String accessControlListId)
      • setUsesFileTransformation

        public void setUsesFileTransformation​(boolean usesFileTransformation)
        Sets the usesFileTransformation.
        Parameters:
        usesFileTransformation - the usesFileTransformation value to set.
        Since:
        6.1.0
      • getUsesFileTransformation

        public boolean getUsesFileTransformation()
        Returns the usesFileTransformation.
        Returns:
        the usesFileTransformation
        Since:
        6.1.0
      • setFriendlyId

        public void setFriendlyId​(String friendlyId)
        Sets the service instance's friendly identifier. This value must be unique among the service instances contained in the same channel this service instance is contained.
        Parameters:
        friendlyId - the service instance's friendly identifier.
        Since:
        6.0.0
      • setAutoGeneratedFriendlyId

        public void setAutoGeneratedFriendlyId()
        Generates a new friendly identifier and sets it as the friendly identifier of this service instance. The friendly identifier is generated based on this service instance's current name.

        This method requires an active transaction.

        Since:
        6.0.0
        See Also:
        setFriendlyId(String)
      • getFriendlyId

        public String getFriendlyId()
        Returns the service instance's friendly identifier.
        Returns:
        the service instance's friendly identifier.
        Since:
        6.0.0
      • setAutomaticFriendlyId

        public void setAutomaticFriendlyId​(boolean automaticFriendlyId)
        Indicates whether the service instance is going to use automatic generated friendly identifier or not.
        Parameters:
        automaticFriendlyId - indicates whether the service instance is going to use automatic generated friendly identifier or not.
        Since:
        6.0.0
      • isAutomaticFriendlyId

        public boolean isAutomaticFriendlyId()
        Returns whether the service instance is going to use automatic generated friendly identifier or not.
        Returns:
        whether the service instance is going to use automatic generated friendly identifier or not.
        Since:
        6.0.0
      • mayUseFriendlyId

        protected boolean mayUseFriendlyId​(String friendlyId)
                                    throws PortalException
        Description copied from class: StructureElement
        Indicates if the element may use the given friendly identifier.
        Specified by:
        mayUseFriendlyId in class StructureElement
        Parameters:
        friendlyId - the friendly identifier.
        Returns:
        true if the element may use the given friendly identifier, false otherwise.
        Throws:
        PortalException
      • setRestShortName

        public void setRestShortName​(String shortName)
        Sets the shortName.
        Parameters:
        shortName - the shortName value to set.
        Since:
        6.1.0
      • getRestShortName

        public String getRestShortName()
        Returns the Rest shortName.
        Returns:
        the shortName
        Since:
        6.1.0
      • setRestEnabled

        public void setRestEnabled​(boolean restEnabled)
        Sets the restEnabled.
        Parameters:
        restEnabled - the restEnabled value to set.
        Since:
        6.1.0
      • isRestEnabled

        public boolean isRestEnabled()
        Returns the restEnabled.
        Returns:
        the restEnabled
        Since:
        6.1.0
      • getHtmlProcessorsPriority

        public int getHtmlProcessorsPriority()
        Returns the HTML processors priority.
        Returns:
        the HTML processors priority
        Since:
        8.2.0
      • setHtmlProcessorsPriority

        public void setHtmlProcessorsPriority​(int htmlProcessorsPriority)
        Sets the HTML processors priority.
        Parameters:
        htmlProcessorsPriority - the HTML processors priority value to set.
        Since:
        8.2.0