|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Provides a specific attribute of a ServerDirContext. The ID of the attribute is equal to ATTR_ID, and the attribute value is an object that implements this interface.
This attribute supports expanded search capabilities. Use the setSearchFields() and getSearchFields() methods to control which fields are used when performing a search. If the searchFields are not explicitly set, then all fields are used by default.
Field Summary | |
static int |
ACCOUNT_VERSION
The Account Version constant for use in the search field. |
static java.lang.String |
ATTR_ID
The attribute ID of this attribute. |
static java.lang.String |
attrID
Deprecated. This member will be removed. Use ATTR_ID instead. |
static int |
INTERNET_BRIDGE_VERSION
The Internet Bridge Version constant for use in the search field. |
static int |
MAJOR_VERSION
The Major Version constant for use in the search field. |
static int |
MINOR_VERSION
The Minor Version constant for use in the search field. |
static int |
PRINT_VERSION
The Print Version constant for use in the search field. |
static int |
QUEUE_VERSION
The Queue Version constant for use in the search field. |
static int |
REVISION
The Revision constant for use in the search field. |
static int |
SECURITY_VERSION
The Security Version constant for use in the search field. |
static int |
VIRTUAL_CONSOLE_VERSION
The Virtual Console Version constant for use in the search field. |
Method Summary | |
byte |
getAccountVersion()
Returns the account version of the server. |
byte |
getInternetBridgeVersion()
Returns the Internet bridge version number of the server. |
byte |
getMajorVersion()
Returns the major version of the server. |
byte |
getMinorVersion()
Returns the minor version of the server. |
byte |
getPrintVersion()
Returns the print version number of the server. |
byte |
getQueueVersion()
Returns the queue version number of the server. |
byte |
getRevision()
Returns the revision number of the server. |
int |
getSearchFields()
Returns the fields currently set to be used when performing a search. |
byte |
getSecurityVersion()
Returns the security version number of the server. |
byte |
getVirtualConsoleVersion()
Returns the virtual console version number of the server. |
void |
setAccountVersion(byte value)
Sets the account version number of the server as the search value. |
void |
setInternetBridgeVersion(byte value)
Sets the Internet bridge version number of the server as the search value. |
void |
setMajorVersion(byte value)
Sets the major version number of the server as the search value. |
void |
setMinorVersion(byte value)
Sets the minor version number of the server as the search value. |
void |
setPrintVersion(byte value)
Sets the print version number of the server as the search value. |
void |
setQueueVersion(byte value)
Sets the minor queue version number of the server as the search value. |
void |
setRevision(byte value)
Sets the revision number of the server as the search value. |
void |
setSearchFields(int fields)
Sets the fields to be used when performing a search. |
void |
setSecurityVersion(byte value)
Sets the security version number of the server as the search value. |
void |
setVirtualConsoleVersion(byte value)
Sets the virtual console version number of the server as the search value. |
Field Detail |
public static final java.lang.String ATTR_ID
public static final java.lang.String attrID
public static final int MAJOR_VERSION
(MAJOR_VERSION = 0x0001)
public static final int MINOR_VERSION
(MINOR_VERSION = 0x0002)
public static final int REVISION
(REVISION = 0x0004)
public static final int ACCOUNT_VERSION
(ACCOUNT_VERSION = 0x0008)
public static final int QUEUE_VERSION
(QUEUE_VERSION = 0x0010)
public static final int PRINT_VERSION
(PRINT_VERSION = 0x0020)
public static final int VIRTUAL_CONSOLE_VERSION
(VIRTUAL_CONSOLE_VERSION = 0x0040)
public static final int SECURITY_VERSION
(SECURITY_VERSION = 0x0080)
public static final int INTERNET_BRIDGE_VERSION
(INTERNET_BRIDGE_VERSION = 0x0100)
Method Detail |
public void setSearchFields(int fields)
fields
- The fields to be used in the search.public int getSearchFields()
public byte getMajorVersion() throws com.novell.service.jncp.NSIException
public byte getMinorVersion() throws com.novell.service.jncp.NSIException
public byte getRevision() throws com.novell.service.jncp.NSIException
public byte getAccountVersion() throws com.novell.service.jncp.NSIException
public byte getQueueVersion() throws com.novell.service.jncp.NSIException
public byte getPrintVersion() throws com.novell.service.jncp.NSIException
public byte getVirtualConsoleVersion() throws com.novell.service.jncp.NSIException
public byte getSecurityVersion() throws com.novell.service.jncp.NSIException
public byte getInternetBridgeVersion() throws com.novell.service.jncp.NSIException
public void setMajorVersion(byte value) throws com.novell.service.jncp.NSIException
value
- The major version number.public void setMinorVersion(byte value) throws com.novell.service.jncp.NSIException
value
- The minor version number.public void setRevision(byte value) throws com.novell.service.jncp.NSIException
value
- The revision number.public void setAccountVersion(byte value) throws com.novell.service.jncp.NSIException
value
- The account version number.public void setQueueVersion(byte value) throws com.novell.service.jncp.NSIException
value
- The queue version number.public void setPrintVersion(byte value) throws com.novell.service.jncp.NSIException
value
- The print version number.public void setVirtualConsoleVersion(byte value) throws com.novell.service.jncp.NSIException
value
- The virtual console version number.public void setSecurityVersion(byte value) throws com.novell.service.jncp.NSIException
value
- The security version number.public void setInternetBridgeVersion(byte value) throws com.novell.service.jncp.NSIException
value
- The Internet bridge version number.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |