Class ServiceInterfaceInstanceConfig

    • Method Detail

      • getId

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

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

        public boolean isInterfaceHolder()
      • getServiceInterfaceId

        public String getServiceInterfaceId()
        Returns:
        Returns the serviceInterfaceId.
      • setServiceInterfaceId

        public void setServiceInterfaceId​(String interfaceId)
        Parameters:
        serviceInterfaceId - The serviceInterfaceId to set.
      • getServiceInstanceId

        public String getServiceInstanceId()
        Returns:
        Returns the serviceInstanceId.
      • setServiceInstanceId

        public void setServiceInstanceId​(String serviceInstanceId)
        Parameters:
        serviceInstanceId - The serviceInstanceId to set.
      • getServiceInterfaceStyleId

        public String getServiceInterfaceStyleId()
        Returns:
        Returns the serviceInterfaceStyleId.
      • setServiceInterfaceStyleId

        public void setServiceInterfaceStyleId​(String styleId)
        Parameters:
        serviceInterfaceStyleId - The serviceInterfaceStyleId to set.
      • getPageId

        public String getPageId()
        Returns:
        Returns the pageId.
      • setPageId

        public void setPageId​(String pageId)
        Sets the page id for this Service Interface Instance. If the service interface instance has had its owner info already set, this owner info will be discarded and the page will become it's owner. For further information, see #setOrphan(String).
        Parameters:
        pageId - The pageId to set.
      • getParentInterfaceInstanceId

        public String getParentInterfaceInstanceId()
      • setParentInterfaceInstanceId

        public void setParentInterfaceInstanceId​(String parentInterfaceInstanceId)
      • isCreatedRunTime

        public boolean isCreatedRunTime()
        Created Run Time indicates if the interface instance was created runtime, or if it was explicitly dragged and dropped into a page layout.
        Returns:
      • setCreatedRunTime

        public void setCreatedRunTime​(boolean isCreatedRunTime)
        Created Run Time indicates if the interface instance was created runtime, or if it was explicitly dragged and dropped into a page layout.
        Parameters:
        createdRunTime -
      • getDisplayName

        public String getDisplayName()
        Returns the display name to be used for this service interface instance.

        The display name is usually the name used for referring to the service interface instance for a developer or administrator.

        Returns:
        the display name.
        Since:
        5.5.0
      • setDisplayName

        public void setDisplayName​(String displayName)
        Sets the display name for this service interface instance.
        Parameters:
        displayName - the display name.
        Since:
        5.5.0
        See Also:
        getDisplayName()
      • getTitle

        public String getTitle()
      • setTitle

        public void setTitle​(String title)
      • getColspan

        public Integer getColspan()
      • setColspan

        public void setColspan​(Integer colspan)
      • getHeight

        public String getHeight()
      • setHeight

        public void setHeight​(String height)
      • getPrintable

        public int getPrintable()
      • setPrintable

        public void setPrintable​(int printable)
      • getPaddingBottom

        public String getPaddingBottom()
      • setPaddingBottom

        public void setPaddingBottom​(String paddingBottom)
      • getPaddingLeft

        public String getPaddingLeft()
      • setPaddingLeft

        public void setPaddingLeft​(String paddingLeft)
      • getPaddingRight

        public String getPaddingRight()
      • setPaddingRight

        public void setPaddingRight​(String paddingRight)
      • getPaddingTop

        public String getPaddingTop()
      • setPaddingTop

        public void setPaddingTop​(String paddingTop)
      • getRowspan

        public Integer getRowspan()
      • setRowspan

        public void setRowspan​(Integer rowspan)
      • getWidth

        public String getWidth()
      • setWidth

        public void setWidth​(String width)
      • getHolderPriority

        public Integer getHolderPriority()
      • setHolderPriority

        public void setHolderPriority​(Integer holderPriority)
      • getRenderAs

        public int getRenderAs()
        Returns:
        Returns the renderAs.
      • setRenderAs

        public void setRenderAs​(int renderAs)
        Parameters:
        renderAs - The renderAs to set.
      • getEnableCache

        public int getEnableCache()
        Returns:
        Returns the enableCache.
      • setEnableCache

        public void setEnableCache​(int enableCache)
        Parameters:
        enableCache - The enableCache to set.
      • getCacheLevel

        public int getCacheLevel()
        Returns:
        Returns the cacheLevel.
      • setCacheLevel

        public void setCacheLevel​(int cacheLevel)
        Parameters:
        cacheLevel - The cacheLevel to set.
      • getCachePersonalization

        public int getCachePersonalization()
        Returns:
        Returns the cachePersonalization.
      • setCachePersonalization

        public void setCachePersonalization​(int cachePersonalization)
        Parameters:
        cachePersonalization - The cachePersonalization to set.
      • getCacheServerSideInclude

        public int getCacheServerSideInclude()
        Returns:
        Returns the cacheServerSideInclude.
      • setCacheServerSideInclude

        public void setCacheServerSideInclude​(int cacheServerSideInclude)
        Parameters:
        cacheServerSideInclude - The cacheServerSideInclude to set.
      • isShowTitleBar

        public boolean isShowTitleBar()
      • setShowTitleBar

        public void setShowTitleBar​(boolean showTitleBar)
      • isInContextEditDisabled

        public boolean isInContextEditDisabled()
      • setDisableInContextEdit

        public void setDisableInContextEdit​(boolean disableInContextEdit)
      • getBaseInterfaceInstanceId

        public String getBaseInterfaceInstanceId()
        Returns the identifier of the service interface instance this instance derives from.
        Returns:
        the identifier or null if this instance does not derives from any service interface instance.
        Since:
        10.2.0
      • setBaseInterfaceInstanceId

        public void setBaseInterfaceInstanceId​(String baseInterfaceInstanceId)
        Sets the service interface instance this instance derives from.
        Parameters:
        baseInterfaceInstanceId - the identifier of the service interface instance this instance derives from, or null if this instance does not derives from any service interface instance.
        Since:
        10.2.0
      • isIdentical

        public boolean isIdentical​(ServiceInterfaceInstanceConfig serviceInterfaceInstanceConfig)
        Returns true if all properties of this object are equals to the properties of the given object.
        Parameters:
        ServiceInterfaceInstanceConfig - the object to compare the properties with.
        Returns:
        true if the properties are equal, false otherwise.
        Since:
        5.6.0
      • setOrphan

        public void setOrphan​(Class<? extends IServiceInterfaceInstanceOwner> ownerClass)
        Sets the owner for this service interface instance.

        When setting an interface instance orphan, you must set the owner for that interface instance. The page id will be set null once an interfaceInstance is set orphan.

        Parameters:
        ownerClass - the owner class of the orphan interface instance.
        Throws:
        IllegalArgumentException - in case the owner is null
        Since:
        6.0.0
        See Also:
        IServiceInterfaceInstanceOwner