|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
| °³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | |||||||||
java.lang.Objectjavax.naming.ldap.BasicControl
javax.naming.ldap.SortResponseControl
public final class SortResponseControl
°Ë»ö °á°ú°¡ ¿ä±¸´ë·Î ¼ÒÆ® µÇ¾ú´ÂÁö ¾î¶°Çß´ÂÁö¸¦ ³ªÅ¸³À´Ï´Ù. °á°ú Äڵ尡 ¼º°øÀ» ³ªÅ¸³»°í ÀÖ´Â °æ¿ì, °Ë»ö °á°ú´Â ¿ä±¸´ë·Î ¼ÒÆ® µÇ°í ÀÖ½À´Ï´Ù. ±×·¸Áö ¾ÊÀº °æ¿ì´Â ¼ÒÆ®´Â ½ÇÆÐÇϰí ÀÖ¾î, ¿¡·¯ÀÇ ¿øÀο¡ °üÇÑ »ó¼¼°¡ ¼¹ö·ÎºÎÅÍ Á¦°øµÇ°í ÀÖ´Â Àϵµ ÀÖ½À´Ï´Ù.
SortControl
ÄÚµù¿¹´Â ÀÌ Å¬·¡½ºÀÇ »ç¿ë ¹æ¹ýÀ» ³ªÅ¸³»°í ÀÖ½À´Ï´Ù.
ÀÌ Å¬·¡½º´Â RFC 2891 À¸·Î Á¤Àǵǰí ÀÖ´Â ¼¹öÃø¿¡¼ÀÇ ¼ÒÆ®ÀÇ LDAPv3 ÀÀ´ä ÄÁÆ®·ÑÀ» ±¸ÇöÇÕ´Ï´Ù.ÀÌ ÄÁÆ®·ÑÀÇ °ªÀÇ ASN. 1 Á¤ÀÇ´Â ´ÙÀ½°ú °°½À´Ï´Ù.
SortResult ::= SEQUENCE {
sortResult ENUMERATED {
success (0), -- results are sorted
operationsError (1), -- server internal failure
timeLimitExceeded (3), -- timelimit reached before
-- sorting was completed
strongAuthRequired (8), -- refused to return sorted
-- results via insecure
-- protocol
adminLimitExceeded (11), -- too many matching entries
-- for the server to sort
noSuchAttribute (16), -- unrecognized attribute
-- type in sort key
inappropriateMatching (18), -- unrecognized or inappro-
-- priate matching rule in
-- sort key
insufficientAccessRights (50), -- refused to return sorted
-- results to this client
busy (51), -- too busy to process
unwillingToPerform (53), -- unable to sort
other (80)
},
attributeType [0] AttributeType OPTIONAL }
SortControl,
Á÷·ÄÈ µÈ Çü½Ä | ÇÊµå °³¿ä | |
|---|---|
static String |
OID
¼¹öÃø¿¡¼ÀÇ ¼ÒÆ®ÀÇ ÀÀ´ä ÄÁÆ®·Ñ¿¡ ÇÒ´çÇÒ ¼ö ÀÖ´Â °´Ã¼ ½Äº°ÀÚ´Â 1.2. 840.113556. 1.4. 474 ÀÔ´Ï´Ù. |
| Ŭ·¡½º javax.naming.ldap. BasicControl ·ÎºÎÅÍ »ó¼ÓµÈ Çʵå |
|---|
criticality,
id,
value |
| ÀÎÅÍÆäÀ̽º javax.naming.ldap. Control ·ÎºÎÅÍ »ó¼ÓµÈ Çʵå |
|---|
CRITICAL,
NONCRITICAL |
| »ý¼ºÀÚ °³¿ä | |
|---|---|
SortResponseControl (String id,
boolean criticality,
byte[] value)
¼ÒÆ® ¿ä±¸ÀÇ °á°ú¸¦ ³ªÅ¸³»±â À§ÇÑ ÄÁÆ®·ÑÀ» ±¸ÃàÇÕ´Ï´Ù. |
|
| ¸Þ¼µå °³¿ä | |
|---|---|
String |
getAttributeID ()
¼ÒÆ® ½ÇÆÐÀÇ ¿øÀÎÀÌ µÈ ¼Ó¼ºÀÇ ID¸¦ ÃëµæÇÕ´Ï´Ù. |
NamingException |
getException ()
°á°ú Äڵ忡 ÀûÀýÇÑ NamingExceptionÀ» ÃëµæÇÕ´Ï´Ù. |
int |
getResultCode ()
¼ÒÆ® Á¶ÀÛÀÇ LDAP °á°ú Äڵ带 ÃëµæÇÕ´Ï´Ù. |
boolean |
isSorted ()
°Ë»ö °á°ú°¡ Á¤»óÀûÀ¸·Î ¼ÒÆ® µÇ°í ÀÖ´ÂÁö¸¦ ÆÇÁ¤ÇÕ´Ï´Ù. |
| Ŭ·¡½º javax.naming.ldap. BasicControl ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
|---|
getEncodedValue,
getID,
isCritical |
| Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
|---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| ÇʵåÀÇ »ó¼¼ |
|---|
public static final String OID
| »ý¼ºÀÚ »ó¼¼ |
|---|
public SortResponseControl(String id,
boolean criticality,
byte[] value)
throws IOException
id - ÄÁÆ®·ÑÀÇ °´Ã¼ ½Äº°ÀÚÀÇ Ä³¸¯ÅÍ ¶óÀÎcriticality - ÄÁÆ®·ÑÀÇ À§±âÀÇ Á¤µµvalue - ÄÁÆ®·ÑÀÇ ASN. 1 BER ·Î encode µÈ °ª. ÀÌ °ªÀº º¹Á¦µÇÁö ¾Ê±â ¶§¹®¿¡
ÀÌ °ªÀ» º¯°æÇϸé ÄÁÆ®·ÑÀÇ ³»¿ë¿¡ ¿µÇâÀ» ÁØ´Ù
IOException - ÄÁÆ®·ÑÀÇ °ªÀ» º¹È£È ÇÒ °æ¿ì¿¡ ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì| ¸Þ¼µåÀÇ »ó¼¼ |
|---|
public boolean isSorted()
public int getResultCode()
public String getAttributeID()
public NamingException getException()
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
| °³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå | |||||||||
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.