Class AdDirSyncRequestImpl

    • Constructor Detail

      • AdDirSyncRequestImpl

        public AdDirSyncRequestImpl()
        Creates an instance of the DirSync control
    • Method Detail

      • getParentsFirst

        public int getParentsFirst()
        Specified by:
        getParentsFirst in interface AdDirSyncRequest
        Returns:
        1 if the parents of the children comes before their children
      • setParentsFirst

        public void setParentsFirst​(int parentsFirst)
        Tell the server that it should send the parents of the children before their children. NOTE: it should have been a boolean, it's an integer instead.
        Specified by:
        setParentsFirst in interface AdDirSyncRequest
        Parameters:
        parentsFirst - When set to 1, will return the parents before children
      • setMaxAttributeCount

        public void setMaxAttributeCount​(int maxAttributeCount)
        Specified by:
        setMaxAttributeCount in interface AdDirSyncRequest
        Parameters:
        maxAttributeCount - The maximum attribute count to be returned
      • getCookie

        public byte[] getCookie()
        Specified by:
        getCookie in interface AdDirSyncRequest
        Returns:
        The cookie used while processing the successive DirSync operations
      • setCookie

        public void setCookie​(byte[] cookie)
        Specified by:
        setCookie in interface AdDirSyncRequest
        Parameters:
        cookie - The cookie to send to the server. It's the value found in the response control. Should be null for the first control.