SerializableNetServerFileShare, NetServerPrintSharepublic abstract class NetServerShare extends ChangeableResource
ISeriesNetServerShare
class and may be removed in a future release.| Modifier and Type | Field | Description |
|---|---|---|
static String |
DESCRIPTION |
Deprecated.
Attribute ID for "description".
|
static String |
USER_COUNT |
Deprecated.
Attribute ID for "user count".
|
| Modifier and Type | Method | Description |
|---|---|---|
abstract void |
add() |
Deprecated.
Adds the share to the NetServer.
|
protected void |
commitAttributeChanges(Object[] attributeIDs,
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.
|
Object |
getAttributeUnchangedValue(Object attributeID) |
Deprecated.
Returns the value of an attribute, disregarding any uncommitted
changes.
|
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(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 String DESCRIPTION
public static final String USER_COUNT
NetServer.isStarted() and NetServer.start().public abstract void add()
throws ResourceException
ResourceException - If an error occurs.protected void commitAttributeChanges(Object[] attributeIDs, 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 Object getAttributeUnchangedValue(Object attributeID) throws ResourceException
getAttributeUnchangedValue in class ChangeableResourceattributeID - Identifies the attribute.ResourceException - If an error occurs.public 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(String name)
name - The name of the share.Copyright © 2024. All rights reserved.