*** This interface provides Binary Compatibility only, not Source Compatibility ***

Interface TextStoreInterface

All Superinterfaces:
MetadataInterface, PublicObjectInterface, Remote
All Known Subinterfaces:
ConfigurationXMLTextStoreInterface

@SASScope("ALL") @BinaryCompatibilityOnly public interface TextStoreInterface extends MetadataInterface
A simple interface representing TextStore objects from the metadata store.
Since:
1.1
  • Method Details

    • getText

      String getText() throws ServiceException, RemoteException
      Get the text from the text store.
      Returns:
      A String containing the text.
      Throws:
      ServiceException - If a repository error occurs.
      RemoteException - In the event of remote object failure.
    • setText

      void setText(String text) throws ServiceException, RemoteException
      Set the text contained in this TextStore object.
      Parameters:
      text - The new text for this object.
      Throws:
      ServiceException - If a repository error occurs.
      RemoteException - In the event of remote object failure.
    • getTextRole

      String getTextRole() throws ServiceException, RemoteException
      Get the text role. This provides information on what the text is to be used for.
      Returns:
      A String containing the TextRole.
      Throws:
      ServiceException - If a repository error occurs.
      RemoteException - In the event of remote object failure.
    • setTextRole

      void setTextRole(String role) throws ServiceException, RemoteException
      Set the text role string for this object.
      Parameters:
      role - The new text role.
      Throws:
      ServiceException - If a repository error occurs.
      RemoteException - In the event of remote object failure.
    • getTextType

      String getTextType() throws ServiceException, RemoteException
      Get the text type.
      Returns:
      A String containing the TextType.
      Throws:
      ServiceException - If a repository error occurs.
      RemoteException - In the event of remote object failure.
    • setTextType

      void setTextType(String type) throws ServiceException, RemoteException
      Set the text type for this object.
      Parameters:
      type - The new type string.
      Throws:
      ServiceException - if a repository error occurs.
      RemoteException - In the event of remote object failure.
    • getBytes

      byte[] getBytes() throws ServiceException, RemoteException
      Get byte array from the text store. Byte array contains value set by setBytes(bytes[]). If text value was not set by setBytes(bytes[]), UTF-8 byte equivalent of the text value is returned.
      Returns:
      A byte array.
      Throws:
      ServiceException - If a repository error occurs.
      RemoteException - In the event of remote object failure.
    • containsBytes

      boolean containsBytes() throws ServiceException, RemoteException
      Returns true if the TextStore contents were set with the setBytes() method.
      Returns:
      true if the TextStore contents were set with the setBytes() method
      Throws:
      ServiceException
      RemoteException
    • setBytes

      void setBytes(byte[] bytes) throws ServiceException, RemoteException
      Set the text contained in this TextStore object.
      Parameters:
      text - The new text for this object.
      Throws:
      ServiceException - If a repository error occurs.
      RemoteException - In the event of remote object failure.