LdapUserPropertiesProvider.java 3.03 KB
Newer Older
Matt Tucker's avatar
Matt Tucker committed
1 2 3 4 5
/**
 * $RCSfile$
 * $Revision$
 * $Date$
 *
Matt Tucker's avatar
Matt Tucker committed
6
 * Copyright (C) 2004 Jive Software. All rights reserved.
Matt Tucker's avatar
Matt Tucker committed
7
 *
Matt Tucker's avatar
Matt Tucker committed
8 9
 * This software is published under the terms of the GNU Public License (GPL),
 * a copy of which is included in this distribution.
Matt Tucker's avatar
Matt Tucker committed
10
 */
Matt Tucker's avatar
Matt Tucker committed
11

Matt Tucker's avatar
Matt Tucker committed
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115
package org.jivesoftware.messenger.ldap;

import org.jivesoftware.messenger.user.UserPropertiesProvider;
import java.util.Collections;
import java.util.Map;

/**
 * <p>Implement this provider to store user and vcard properties somewhere
 * other than the Jive tables, or to capture jive property events. Currently this is unimplemented.</p>
 *
 * @author Jim Berrettini
 */
public class LdapUserPropertiesProvider implements UserPropertiesProvider {
    /**
     * Delete Vcard property. Currently unimplemented.
     *
     * @param id
     * @param name
     * @throws UnsupportedOperationException
     */
    public void deleteVcardProperty(long id, String name) throws UnsupportedOperationException {
        throw new UnsupportedOperationException();
    }

    /**
     * Delete user property. Currently unimplemented.
     *
     * @param id
     * @param name
     * @throws UnsupportedOperationException
     */
    public void deleteUserProperty(long id, String name) throws UnsupportedOperationException {
        throw new UnsupportedOperationException();
    }

    /**
     * Insert new vCard property. Currently unimplemented.
     *
     * @param id
     * @param name
     * @param value
     * @throws UnsupportedOperationException
     */
    public void insertVcardProperty(long id, String name, String value) throws UnsupportedOperationException {
        throw new UnsupportedOperationException();
    }


    /**
     * Insert new user property. Currently unimplemented.
     *
     * @param id
     * @param name
     * @param value
     * @throws UnsupportedOperationException
     */
    public void insertUserProperty(long id, String name, String value) throws UnsupportedOperationException {
        throw new UnsupportedOperationException();
    }

    /**
     * Update vCard. Currently unimplemented.
     *
     * @param id
     * @param name
     * @param value
     * @throws UnsupportedOperationException
     */
    public void updateVcardProperty(long id, String name, String value) throws UnsupportedOperationException {
        throw new UnsupportedOperationException();
    }

    /**
     * Update user property. Currently unimplemented.
     *
     * @param id
     * @param name
     * @param value
     * @throws UnsupportedOperationException
     */
    public void updateUserProperty(long id, String name, String value) throws UnsupportedOperationException {
        throw new UnsupportedOperationException();
    }

    /**
     * Get vCard properties. Unimplemented.
     *
     * @param id
     * @return empty Map
     */
    public Map getVcardProperties(long id) {
        return Collections.EMPTY_MAP;
    }

    /**
     * Get user properties. Unimplemented.
     *
     * @param id
     * @return empty Map.
     */
    public Map getUserProperties(long id) {
        return Collections.EMPTY_MAP;
    }
}