JavaTM 2 Platform
Standard Ed. 5.0

javax.naming.ldap
Ŭ·¡½º SortResponseControl

java.lang.Object 
  »óÀ§¸¦ È®Àå javax.naming.ldap.BasicControl 
      »óÀ§¸¦ È®Àå javax.naming.ldap.SortResponseControl
¸ðµç ±¸ÇöµÈ ÀÎÅÍÆäÀ̽º:
Serializable, Control

public final class SortResponseControl
extends BasicControl

°Ë»ö °á°ú°¡ ¿ä±¸´ë·Î ¼ÒÆ® µÇ¾ú´ÂÁö ¾î¶°Çß´ÂÁö¸¦ ³ªÅ¸³À´Ï´Ù. °á°ú Äڵ尡 ¼º°øÀ» ³ªÅ¸³»°í ÀÖ´Â °æ¿ì, °Ë»ö °á°ú´Â ¿ä±¸´ë·Î ¼ÒÆ® µÇ°í ÀÖ½À´Ï´Ù. ±×·¸Áö ¾ÊÀº °æ¿ì´Â ¼ÒÆ®´Â ½ÇÆÐÇÏ°í ÀÖ¾î, ¿¡·¯ÀÇ ¿øÀο¡ °üÇÑ »ó¼¼°¡ ¼­¹ö·ÎºÎÅÍ Á¦°øµÇ°í ÀÖ´Â Àϵµ ÀÖ½À´Ï´Ù.

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 }

 

µµÀÔµÈ ¹öÀü :
1.5
°ü·Ã Ç׸ñ:
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
 

ÇʵåÀÇ »ó¼¼

OID

public static final String  OID
¼­¹öÃø¿¡¼­ÀÇ ¼ÒÆ®ÀÇ ÀÀ´ä ÄÁÆ®·Ñ¿¡ ÇÒ´çÇÒ ¼ö ÀÖ´Â °´Ã¼ ½Äº°ÀÚ´Â 1.2. 840.113556. 1.4. 474 ÀÔ´Ï´Ù.

°ü·Ã Ç׸ñ:
Á¤¼ö Çʵ尪
»ý¼ºÀÚ »ó¼¼

SortResponseControl

public SortResponseControl(String  id,
                           boolean criticality,
                           byte[] value)
                    throws IOException 
¼ÒÆ® ¿ä±¸ÀÇ °á°ú¸¦ ³ªÅ¸³»±â À§ÇÑ ÄÁÆ®·ÑÀ» ±¸ÃàÇÕ´Ï´Ù.

ÆĶó¹ÌÅÍ:
id - ÄÁÆ®·ÑÀÇ °´Ã¼ ½Äº°ÀÚÀÇ Ä³¸¯ÅÍ ¶óÀÎ
criticality - ÄÁÆ®·ÑÀÇ À§±âÀÇ Á¤µµ
value - ÄÁÆ®·ÑÀÇ ASN. 1 BER ·Î encode µÈ °ª. ÀÌ °ªÀº º¹Á¦µÇÁö ¾Ê±â ¶§¹®¿¡ ÀÌ °ªÀ» º¯°æÇϸé ÄÁÆ®·ÑÀÇ ³»¿ë¿¡ ¿µÇâÀ» ÁØ´Ù
¿¹¿Ü:
IOException - ÄÁÆ®·ÑÀÇ °ªÀ» º¹È£È­ ÇÒ °æ¿ì¿¡ ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì
¸Þ¼­µåÀÇ »ó¼¼

isSorted

public boolean isSorted()
°Ë»ö °á°ú°¡ Á¤»óÀûÀ¸·Î ¼ÒÆ® µÇ°í ÀÖ´ÂÁö¸¦ ÆÇÁ¤ÇÕ´Ï´Ù. ¼ÒÆ®Áß¿¡ ¿¡·¯°¡ ¹ß»ýÇßÀ» °æ¿ì´Â NamingException°¡ ¹ß»ý µË´Ï´Ù.

¹Ýȯ°ª:
°Ë»ö °á°ú°¡ ¼ÒÆ® µÇ°í ÀÖ´Â °æ¿ì´Â true

getResultCode

public int getResultCode()
¼ÒÆ® Á¶ÀÛÀÇ LDAP °á°ú Äڵ带 ÃëµæÇÕ´Ï´Ù.

¹Ýȯ°ª:
°á°ú ÄÚµå. °ª 0 Àº ¼º°øÀ» ³ªÅ¸³½´Ù

getAttributeID

public String  getAttributeID()
¼ÒÆ® ½ÇÆÐÀÇ ¿øÀÎÀÌ µÈ ¼Ó¼ºÀÇ ID¸¦ ÃëµæÇÕ´Ï´Ù. ¼­¹ö·ÎºÎÅÍ ID°¡ µ¹·ÁÁÖ°íÁöÁö ¾Ê¾Ò´ø °æ¿ì´Â nullÀ» ¸®ÅÏÇÕ´Ï´Ù.

¹Ýȯ°ª:
¿øÀÎÀÌ µÈ ¼Ó¼ºÀÇ ID. nullÀÎ °æ¿ìµµ ÀÖ´Ù

getException

public NamingException  getException()
°á°ú Äڵ忡 ÀûÀýÇÑ NamingExceptionÀ» ÃëµæÇÕ´Ï´Ù.

¹Ýȯ°ª:
NamingException. °á°ú Äڵ尡 ¼º°øÀ» ³ªÅ¸³»°í ÀÖ´Â °æ¿ì´Â null

JavaTM 2 Platform
Standard Ed. 5.0

Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.