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

Class ManagedResourceMetaData



  • public class ManagedResourceMetaData
    extends ResourceMetaData
    This class defines the metadata to represent a managed resource.
    • Constructor Detail

      • ManagedResourceMetaData

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

      • getIdentifier

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

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

        public java.lang.String getResourceManagerClassName()
        This method returns the resource manager class name.
        Returns:
        The resource manager class name.
      • setResourceManagerClassName

        public void setResourceManagerClassName(java.lang.String resourceManagerClassName)
        This method sets the resource manager class name.
        Parameters:
        resourceManagerClassName - The resource manager class name.
      • getResourceKeys

        public java.lang.String getResourceKeys()
        This method returns the resource keys.
        Returns:
        The resource keys.
      • setResourceKeys

        public void setResourceKeys(java.lang.String resourceKeys)
        This method sets the resource keys.
        Parameters:
        resourceKeys - The resource keys.
      • getRelatedManagedResources

        public java.lang.String[][] getRelatedManagedResources()
        This method returns the names of the resource managers that are related to this resource manager.
        Returns:
        The name of related resource managers. The first element of the string array is the resource manager name and the second is the resource container that contains the resource manager. If the second element is null it means that the resource manager is located in the same resource container.
      • setRelatedManagedResources

        public void setRelatedManagedResources(java.lang.String[][] relatedManagedResources)
        This method sets the names of the related resource managers.
        Parameters:
        relatedManagedResources - The related resource manager names. The first element of the string array is the resource manager name and the second is the resource container that contains the resource manager. If the second element is null it means that the resource manager is located in the same resource container.
      • 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.
        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.
      • getApproveUniqueIndexViolationActionValue

        public int getApproveUniqueIndexViolationActionValue()
        This method returns the action taken by resource manager should a unique index violation situation exist . The value is determined by traversing across ResourceManager, Container and Container Manager.
        Returns:
        integer value to indicate the action at approval time for the resource manager.
      • setApproveUniqueIndexViolationActionValue

        public void setApproveUniqueIndexViolationActionValue(int action)
        This method sets the action taken by the resource manager should a unique index violation situation exist during approval.
        Parameters:
        action - integer value to indicate the action at approval time for the resource manager.
      • getCheckUniqueIndexViolationActionValue

        public int getCheckUniqueIndexViolationActionValue()
        This method returns the action taken by resource manager should a unique index violation situation exist violation. The value is determined by traversing across ResourceManager, Container and Container Manager
        Returns:
        integer value to indicate the action at approval time for the resource manager.
      • setCheckUniqueIndexViolationActionValue

        public void setCheckUniqueIndexViolationActionValue(int action)
        This method sets the action taken by the resource manager should a unique index violation situation exist during approval.
        Parameters:
        action - integer 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.
      • getApproveForeignKeyViolationActionValue

        public int getApproveForeignKeyViolationActionValue()
        This method returns the action taken by the resource manager should a foreign key violation situation exist. The value is determined by traversing across ResourceManager, Container and Container Manager.
        Returns:
        integer value to indicate the action at approval time for the resource manager.
      • setApproveForeignKeyViolationActionValue

        public void setApproveForeignKeyViolationActionValue(int action)
        This method sets the action taken by the resource manager should a foreign key violation situation exist during approval.
        Parameters:
        action - integer 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.
        Overrides:
        toString in class ResourceMetaData
        Returns:
        A readable String version of the object.