ISeriesNetServerShare
class and may be removed in a future release.public abstract class NetServerShare extends ChangeableResource
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DESCRIPTION
Deprecated.
Attribute ID for "description".
|
static java.lang.String |
USER_COUNT
Deprecated.
Attribute ID for "user count".
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
add()
Deprecated.
Adds the share to the NetServer.
|
protected void |
commitAttributeChanges(java.lang.Object[] attributeIDs,
java.lang.Object[] values)
Deprecated.
Commits the specified attribute changes.
|
protected abstract void |
establishConnection()
Deprecated.
Establishes the connection to the system.
|
protected void |
freezeProperties()
Deprecated.
Freezes any property changes.
|
java.lang.Object |
getAttributeUnchangedValue(java.lang.Object attributeID)
Deprecated.
Returns the value of an attribute, disregarding any uncommitted
changes.
|
java.lang.String |
getName()
Deprecated.
Returns the network name of the share.
|
ResourceList |
listConnections()
Deprecated.
Lists the connections currently associated with this share.
|
void |
refreshAttributeValues()
Deprecated.
Refreshes the values for all attributes.
|
void |
remove()
Deprecated.
Removes this share from the NetServer.
|
void |
setName(java.lang.String name)
Deprecated.
Sets the network name of the share.
|
cancelAttributeChanges, commitAttributeChanges, commitAttributeChanges, fireAttributeChangesCanceled, fireAttributeChangesCommitted, fireAttributeValueChanged, fireResourceCreated, fireResourceDeleted, getAttributeUnchangedValue, getAttributeValue, getAttributeValue, hasUncommittedAttributeChanges, initializeAttributeValue, setAttributeValue, setAttributeValueaddActiveStatusListener, addPropertyChangeListener, addResourceListener, addVetoableChangeListener, arePropertiesFrozen, equals, fireAttributeValuesRefreshed, fireBusy, fireIdle, firePropertyChange, fireVetoableChange, getAttributeMetaData, getAttributeMetaData, getPresentation, getResourceKey, getSystem, isBidiEnabled, isConnectionEstablished, removeActiveStatusListener, removePropertyChangeListener, removeResourceListener, removeVetoableChangeListener, setPresentation, setResourceKey, setSystem, toStringpublic static final java.lang.String DESCRIPTION
public static final java.lang.String USER_COUNT
NetServer.isStarted() and NetServer.start().public abstract void add()
throws ResourceException
ResourceException - If an error occurs.protected void commitAttributeChanges(java.lang.Object[] attributeIDs,
java.lang.Object[] values)
throws ResourceException
commitAttributeChanges in class ChangeableResourceattributeIDs - The attribute IDs for the specified attribute changes.values - The specified attribute changesResourceException - If an error occurs.protected abstract void establishConnection()
throws ResourceException
The method is called by the resource framework automatically when the connection needs to be established.
establishConnection in class ResourceResourceException - If an error occurs.protected void freezeProperties()
throws ResourceException
The method is called by the resource framework automatically when the properties need to be frozen.
freezeProperties in class ResourceResourceException - If an error occurs.public java.lang.Object getAttributeUnchangedValue(java.lang.Object attributeID)
throws ResourceException
getAttributeUnchangedValue in class ChangeableResourceattributeID - Identifies the attribute.ResourceException - If an error occurs.public java.lang.String getName()
public ResourceList listConnections() throws ResourceException
NetServerConnection objects.ResourceException - If an error occurs.public void refreshAttributeValues()
throws ResourceException
refreshAttributeValues in class ChangeableResourceResourceException - If an error occurs.public void remove()
throws ResourceException
ResourceException - If an error occurs.public void setName(java.lang.String name)
name - The name of the share.