public interface CmHitachiFixedContentDevice extends FixedContentDevice
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); }
Modifier and Type | Method and Description |
---|---|
DirectoryStructure |
get_DirectoryStructure()
Returns the value of the DirectoryStructure property.
|
java.lang.String |
get_HcpDirectoryPath()
Returns the value of the HcpDirectoryPath property.
|
java.lang.Integer |
get_HcpMaxConnections()
Returns the value of the HcpMaxConnections property.
|
java.lang.String |
get_HcpNamespaceUrl()
Returns the value of the HcpNamespaceUrl property.
|
byte[] |
get_HcpPassword()
Returns the value of the HcpPassword property.
|
java.lang.String |
get_HcpUser()
Returns the value of the HcpUser property.
|
void |
set_DirectoryStructure(DirectoryStructure value)
Sets the value of the DirectoryStructure property.
|
void |
set_HcpDirectoryPath(java.lang.String value)
Sets the value of the HcpDirectoryPath property.
|
void |
set_HcpMaxConnections(java.lang.Integer value)
Sets the value of the HcpMaxConnections property.
|
void |
set_HcpNamespaceUrl(java.lang.String value)
Sets the value of the HcpNamespaceUrl property.
|
void |
set_HcpPassword(byte[] value)
Sets the value of the HcpPassword property.
|
void |
set_HcpUser(java.lang.String value)
Sets the value of the HcpUser property.
|
get_Creator, get_DateCreated, get_DateLastModified, get_DescriptiveText, get_DisplayName, get_FcpPoolIdleTimeoutSeconds, get_FcpPoolMaxInUse, get_FcpPoolMaxWaitSeconds, get_FcpPoolPreferredSize, get_Id, get_ImplementationClass, get_LastModifier, get_SiteSettings, get_VendorName, set_Creator, set_DateCreated, set_DateLastModified, set_DescriptiveText, set_DisplayName, set_FcpPoolIdleTimeoutSeconds, set_FcpPoolMaxInUse, set_FcpPoolMaxWaitSeconds, set_FcpPoolPreferredSize, set_ImplementationClass, set_LastModifier, set_SiteSettings, set_VendorName
addPendingAction, clearPendingActions, delete, getAccessAllowed, getPendingActions, getUpdateSequenceNumber, isCurrent, save, save, setUpdateSequenceNumber
fetchProperties, fetchProperties, fetchProperty, fetchProperty, getObjectReference, refresh, refresh, refresh
get_ClassDescription, getClassName, getConnection, getProperties, getSuperClasses
java.lang.String get_HcpNamespaceUrl()
void set_HcpNamespaceUrl(java.lang.String value)
DirectoryStructure get_DirectoryStructure()
void set_DirectoryStructure(DirectoryStructure value)
java.lang.String get_HcpUser()
void set_HcpUser(java.lang.String value)
byte[] get_HcpPassword()
void set_HcpPassword(byte[] value)
java.lang.Integer get_HcpMaxConnections()
void set_HcpMaxConnections(java.lang.Integer value)
java.lang.String get_HcpDirectoryPath()
void set_HcpDirectoryPath(java.lang.String value)
© Copyright IBM Corporation 2006, 2015. All rights reserved.