LdapUserPropertiesProvider.java 1.87 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
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 {
Matt Tucker's avatar
Matt Tucker committed
25

26
    public void deleteVcardProperty(String username, String name) throws UnsupportedOperationException {
Matt Tucker's avatar
Matt Tucker committed
27 28 29
        throw new UnsupportedOperationException();
    }

30
    public void deleteUserProperty(String username, String name) throws UnsupportedOperationException {
Matt Tucker's avatar
Matt Tucker committed
31 32 33
        throw new UnsupportedOperationException();
    }

34
    public void insertVcardProperty(String username, String name, String value) throws UnsupportedOperationException {
Matt Tucker's avatar
Matt Tucker committed
35 36 37
        throw new UnsupportedOperationException();
    }

38
    public void insertUserProperty(String username, String name, String value) throws UnsupportedOperationException {
Matt Tucker's avatar
Matt Tucker committed
39 40 41
        throw new UnsupportedOperationException();
    }

42
    public void updateVcardProperty(String username, String name, String value) throws UnsupportedOperationException {
Matt Tucker's avatar
Matt Tucker committed
43 44 45
        throw new UnsupportedOperationException();
    }

46
    public void updateUserProperty(String username, String name, String value) throws UnsupportedOperationException {
Matt Tucker's avatar
Matt Tucker committed
47 48 49
        throw new UnsupportedOperationException();
    }

50
    public Map getVcardProperties(String username) {
Matt Tucker's avatar
Matt Tucker committed
51 52 53
        return Collections.EMPTY_MAP;
    }

54
    public Map getUserProperties(String username) {
Matt Tucker's avatar
Matt Tucker committed
55 56
        return Collections.EMPTY_MAP;
    }
Matt Tucker's avatar
Matt Tucker committed
57
}