com.ibm.commerce.context.content.resources.metadata

Class ResourceContainerMetaData

  • java.lang.Object
    • com.ibm.commerce.context.content.resources.metadata.ResourceContainerMetaData


  • public class ResourceContainerMetaData
    extends java.lang.Object
    This class defines the metadata of a resource container. This metadata contains all the configuration information associated with a particular container.
    • Constructor Detail

      • ResourceContainerMetaData

        public ResourceContainerMetaData()
        This is the default constructor for this class. It calls the constructor from the superclass.
    • Method Detail

      • getLockingPolicy

        public LockingPolicy getLockingPolicy()
        This method returns the locking policy implementation.
        Returns:
        The locking policy for the container.
      • setLockingPolicy

        public void setLockingPolicy(LockingPolicy lockingPolicy)
        This method sets the locking policy implementation for the container.
        Parameters:
        lockingPolicy - The locking policy implementation.
      • setCommitRequest

        public void setCommitRequest(CommitRequest commitRequest)
        This method sets the commit request of the resource container.
        Parameters:
        commitRequest - The commit request metadata.
      • getCommitRequest

        public CommitRequest getCommitRequest()
        This method returns the commit request of the resource container.
        Returns:
        The commit request metadata.
      • setPublishRequest

        public void setPublishRequest(PublishRequest publishRequest)
        This method sets the publish request metadata of the resource container.
        Parameters:
        publishRequest - The publish request metadata.
      • getPublishRequest

        public PublishRequest getPublishRequest()
        This method returns the publish request operations of the container.
        Returns:
        The publish request metadata.
      • addManagedResource

        public void addManagedResource(ManagedResourceMetaData managedResourceMetaData)
        This method adds a managed resource to be managed by the resource container.
        Parameters:
        managedResourceMetaData - The managed resource.
      • getManagedResources

        public ManagedResourceMetaData[] getManagedResources()
        This method returns the managed resources of the resource container.
        Returns:
        The managed resources.
      • addOperationalResource

        public void addOperationalResource(OperationalResourceMetaData operationResourceMetaData)
        This method adds an operational resource to the resource container.
        Parameters:
        operationResourceMetaData - An operational resource.
      • getOperationalResources

        public OperationalResourceMetaData[] getOperationalResources()
        This method returns the operational resources assigned to the resource container.
        Returns:
        The operational resource metadata.
      • getIdentifier

        public java.lang.Integer getIdentifier()
        This method returns the numeric identifier of the resource container.
        Returns:
        The numeric identifier.
      • setIdentifier

        public void setIdentifier(java.lang.Integer identifier)
        This method sets the numeric identifier of the resource container.
        Parameters:
        identifier - The identifier of the resource container.
      • getName

        public java.lang.String getName()
        This method returns the name of the resource container.
        Returns:
        The resource container name.
      • setName

        public void setName(java.lang.String name)
        This method sets the name of the resource container.
        Parameters:
        name - The resource container name.
      • getConfigurationFile

        public java.lang.String getConfigurationFile()
        This method returns the configuration file associated with the container.
        Returns:
        The configuration file.
      • setConfigurationFile

        public void setConfigurationFile(java.lang.String configurationFile)
        This method sets the configuration file to associate with the container.
        Parameters:
        configurationFile - The configuration file name.
      • getApproveUniqueIndexViolationAction

        public java.lang.String getApproveUniqueIndexViolationAction()
        This method returns the action taken by resource manager should a unique index violation situation exist.
        Returns:
        String value to indicate the action at approval time for the resource manager.
      • setApproveUniqueIndexViolationAction

        public void setApproveUniqueIndexViolationAction(java.lang.String action)
        This method sets the action taken by the resource manager should a unique index violation situation exist during approval.
        Parameters:
        action - String value to indicate the action at approval time for the resource manager.
      • getCheckUniqueIndexViolationAction

        public java.lang.String getCheckUniqueIndexViolationAction()
        This method returns the action taken by resource manager should a unique index violation situation exist violation.
        Returns:
        String value to indicate the action at approval time for the resource manager.
      • setCheckUniqueIndexViolationAction

        public void setCheckUniqueIndexViolationAction(java.lang.String action)
        This method sets the action taken by the resource manager should a unique index violation situation exist during approval.
        Parameters:
        action - String value to indicate the action at approval time for the resource manager.
      • getApproveForeignKeyViolationAction

        public java.lang.String getApproveForeignKeyViolationAction()
        This method returns the action taken by the resource manager should a foreign key violation situation exist.
        Returns:
        String value to indicate the action at approval time for the resource manager.
      • setApproveForeignKeyViolationAction

        public void setApproveForeignKeyViolationAction(java.lang.String action)
        This method sets the action taken by the resource manager should a foreign key violation situation exist during approval.
        Parameters:
        action - String value to indicate the action at approval time for the resource manager.
      • toString

        public java.lang.String toString()
        This method returns a String representation of the object for debugging purposes.
        Overrides:
        toString in class java.lang.Object
        Returns:
        A String version of the object.