|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides an enumeration of VolumeRestrictions from a given volume.
VolumeRestrictionEnumerator declares an enumeration interface for obtaining restrictions from a given volume with multiple restrictions.
VolumeRestriction
Field Summary | |
static java.lang.String |
ATTRIBUTE_ID
Attribute ID of VolumeRestrictionEnumerator. |
static java.lang.String |
COMPARE_SYNTAX_STRING
Schema Syntax of VolumeRestrictionEnumerator. |
static java.lang.String |
SCHEMA_BINDING_NAME
Schema Name of VolumeRestrictionEnumerator. |
Method Summary | |
boolean |
hasMore()
Returns a boolean indicating if more elements are available in the enumeration. |
VolumeRestriction |
next()
Returns the typed VolumeRestriction value. |
void |
setUser(java.lang.String user)
Sets the specific user for which to get volume restrictions. |
Methods inherited from interface java.util.Enumeration |
hasMoreElements,
nextElement |
Field Detail |
public static final java.lang.String ATTRIBUTE_ID
(ATTRIBUTE_ID = com.novell.service.file.nw.VolumeRestriction.ATTRIBUTE_ID)
VolumeRestriction
public static final java.lang.String SCHEMA_BINDING_NAME
(SCHEMA_BINDING_NAME = com.novell.service.file.nw.VolumeRestriction.SCHEMA_BINDING_NAME)
VolumeRestriction
public static final java.lang.String COMPARE_SYNTAX_STRING
(COMPARE_SYNTAX_STRING = com.novell.service.file.nw.VolumeRestriction.COMPARE_SYNTAX_STRING)
VolumeRestriction
Method Detail |
public VolumeRestriction next()
VolumeRestriction
public boolean hasMore()
public void setUser(java.lang.String user)
If this method is called, subsequent calls to hasMore() and next() will return only the volume restriction object (user) that you specify here.
user
- The user for which to get volume restrictions.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |