com.filenet.api.admin

Interface CmHitachiFixedContentDevice

  • All Superinterfaces:
    EngineObject, FixedContentDevice, IndependentlyPersistableObject, IndependentObject, java.io.Serializable


    public interface CmHitachiFixedContentDevice
    extends FixedContentDevice
    Represents the description of a Hitachi Content Platform fixed content storage device.

    For information about Hitachi Content Platform, see your vendor documentation. The following code sample illustrates how to create a Hitachi fixed content device object.

     public void createHCPDevice()
     {
            String name = "HCP1";
            String description = "HCP1 Content Store";
            String namespaceURL = "http://prod.cemp.hcp.mycompany.com";
            String root = "stores/hcpstore1";
     

    Metadata

    boolean largeStructure = false; String user = "hcpuser"; String pwd = "hcppassword"; int maxConnections = 10; CmHitachiFixedContentDevice h = Factory.CmHitachiFixedContentDevice.createInstance(en.get_LocalDomain()); h.set_DisplayName(name); h.set_DescriptiveText(description); h.set_HcpNamespaceUrl(namespaceURL); if ( largeStructure ) h.set_DirectoryStructure(DirectoryStructure.DIRECTORY_STRUCTURE_LARGE); else h.set_DirectoryStructure(DirectoryStructure.DIRECTORY_STRUCTURE_SMALL); h.set_HcpUser(user); h.set_HcpPassword(pwd.getBytes()); h.set_HcpMaxConnections(maxConnections); h.set_HcpDirectoryPath(root); h.save(RefreshMode.REFRESH); }

    Metadata

    • Method Detail

      • get_HcpNamespaceUrl

        java.lang.String get_HcpNamespaceUrl()
        Returns the value of the HcpNamespaceUrl property. For more information, see HcpNamespaceUrl Property.
      • set_HcpNamespaceUrl

        void set_HcpNamespaceUrl(java.lang.String value)
        Sets the value of the HcpNamespaceUrl property. For more information, see HcpNamespaceUrl Property.
      • get_HcpUser

        java.lang.String get_HcpUser()
        Returns the value of the HcpUser property. For more information, see HcpUser Property.
      • set_HcpUser

        void set_HcpUser(java.lang.String value)
        Sets the value of the HcpUser property. For more information, see HcpUser Property.
      • get_HcpPassword

        byte[] get_HcpPassword()
        Returns the value of the HcpPassword property. For more information, see HcpPassword Property.
      • set_HcpPassword

        void set_HcpPassword(byte[] value)
        Sets the value of the HcpPassword property. For more information, see HcpPassword Property.
      • get_HcpMaxConnections

        java.lang.Integer get_HcpMaxConnections()
        Returns the value of the HcpMaxConnections property. For more information, see HcpMaxConnections Property.
      • set_HcpMaxConnections

        void set_HcpMaxConnections(java.lang.Integer value)
        Sets the value of the HcpMaxConnections property. For more information, see HcpMaxConnections Property.
      • get_HcpDirectoryPath

        java.lang.String get_HcpDirectoryPath()
        Returns the value of the HcpDirectoryPath property. For more information, see HcpDirectoryPath Property.
      • set_HcpDirectoryPath

        void set_HcpDirectoryPath(java.lang.String value)
        Sets the value of the HcpDirectoryPath property. For more information, see HcpDirectoryPath Property.

© Copyright IBM Corporation 2006, 2015. All rights reserved.