Class ServiceInstance

    • Constructor Detail

      • ServiceInstance

        public ServiceInstance()
    • Method Detail

      • getName

        public String getName()
        Returns the name.
        Returns:
        the name
        Since:
        6.2.0
      • getDescription

        public String getDescription()
        Returns the description.
        Returns:
        the description
        Since:
        6.2.0
      • getServiceId

        public String getServiceId()
        Returns the serviceId.
        Returns:
        the serviceId
        Since:
        6.2.0
      • getAccessControlList

        public AccessControlList getAccessControlList()
        Returns the accessControlList.
        Returns:
        the accessControlList
        Since:
        6.2.0
      • getWorkflowId

        public String getWorkflowId()
        Returns the workflow identifier.
        Returns:
        the workflow identifier.
        Since:
        7.0.0
      • setWorkflow

        public void setWorkflow​(ServiceInstanceWorkflow workflow)
        Sets the workflow identifier.
        Parameters:
        workflow - the workflow identifier.
        Since:
        7.0.0
      • getWorkflowPermissions

        public Set<ServiceInstanceWorkflowPermissionXml> getWorkflowPermissions()
        Returns the set of permissions for the XML serialization.
        Returns:
        the set of permissions for the XML serialization.
        Since:
        7.0.0
      • isUsesPublicFileStorage

        public boolean isUsesPublicFileStorage()
        Returns the usesPublicFileStorage.
        Returns:
        the usesPublicFileStorage
        Since:
        6.2.0
      • isImplicitForeignKeysSet

        public boolean isImplicitForeignKeysSet()
        Indicates whether the implicit foreign keys, set by #setImplicitForeignKeys(String, String), have been set.
        Returns:
        true if the implicit foreign keys are set, false otherwise.
        Since:
        6.2.0
      • setImplicitForeignKeys

        public void setImplicitForeignKeys​(String accessControlListId,
                                           String parentAccessControlListId,
                                           String propertyBagId,
                                           String parentPropertyBagId)
        Sets the implicit foreign keys in this service instance. Required before it can be properly persisted to the database.
        Parameters:
        accessControlListId - the identifier for this service instance's ACL. Must be null if the service instance will be added (will be auto-generated).
        parentAccessControlListId - the identifier of the parent of this service instance's ACL.
        propertyBagId - the identifier of the property bag.
        parentPropertyBagId - the identifier of the parent property bag.
        Since:
        6.2.0
      • setChannelId

        public void setChannelId​(String channelId)
      • getChannelId

        public String getChannelId()
      • afterXmlRead

        public void afterXmlRead()
      • beforeXmlWrite

        public void beforeXmlWrite()
        Before XML write callback.
        Since:
        6.2.0
      • adjustChannelTemplateLink

        public void adjustChannelTemplateLink​(Queue<ParallelExecutor.IDatabaseTask> channelTemplateLinksToAdd)
        Parameters:
        channelTemplateLinksToAdd -
        Since:
        6.2.0
      • isEquivalent

        public boolean isEquivalent​(Object obj)
        Description copied from interface: ICustomEquivalence
        Returns whether this object is equivalent to the given object. If the object is equivalent, it will not need to be updated during synchronization.
        Specified by:
        isEquivalent in interface ICustomEquivalence
        Parameters:
        obj - the object to compare with.
        Returns:
        true if the objects are equivalent, false otherwise.