Code Search for Developers
 
 
  

PortalUserManager.java from riverock at Krugle


Show PortalUserManager.java syntax highlighted

/*
 * org.riverock.interfaces - Common classes and interafces shared between projects
 *
 * Copyright (C) 2006, Riverock Software, All Rights Reserved.
 *
 * Riverock - The Open-source Java Development Community
 * http://www.riverock.org
 *
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
 */

package org.riverock.interfaces.portal.user;

import java.util.Map;

import org.riverock.interfaces.portal.bean.UserRegistration;
import org.riverock.interfaces.portal.bean.UserOperationStatus;

/**
 * @author Sergei Maslyukov
 *         Date: 22.06.2006
 *         Time: 20:09:12
 */
public interface PortalUserManager {
    public static final int STATUS_OK_OPERATION = 0;
    public static final int STATUS_NO_SUCH_EMAIL = 1;
    public static final int STATUS_USER_DELETED = 2;
    public static final int STATUS_NOT_REGISTERED = 3;
    public static final int STATUS_LOGIN_ALREADY_REGISTERED = 4;
    public static final int STATUS_EMAIL_ALREADY_REGISTERED = 5;
    public static final int STATUS_ROLE_NOT_DEFINED = 6;

    public static final String SEND_PASSWORD_SUBJECT_MESSAGE = "SEND_PASSWORD_SUBJECT_MESSAGE";
    public static final String SEND_PASSWORD_BODY_ONE_PASSWORD_MESSAGE = "SEND_PASSWORD_BODY_ONE_PASSWORD_MESSAGE";
    public static final String SEND_PASSWORD_START_BODY_MANY_PASSWORDS_MESSAGE = "SEND_PASSWORD_START_BODY_MANY_PASSWORDS_MESSAGE";
    public static final String SEND_PASSWORD_END_BODY_MANY_PASSWORDS_MESSAGE = "SEND_PASSWORD_END_BODY_MANY_PASSWORDS_MESSAGE";

    public static final String CREATE_ACCOUNT_BODY_MESSAGE = "CREATE_ACCOUNT_BODY_MESSAGE";
    public static final String CREATE_ACCOUNT_SUBJECT_MESSAGE = "CREATE_ACCOUNT_SUBJECT_MESSAGE";

    public UserOperationStatus sendPassword(String eMail, Map<String, String> messages);
    public UserOperationStatus registerNewUser(UserRegistration userRegistration, Map<String, String> messages);
}




See more files for this project here

riverock

Main project of riverock is Webmill portal. Webmill is CMS portal with build-in XML/XSLT transformation of content of portlet, JSR-168, JSF and other things.

Project homepage: http://sourceforge.net/projects/riverock
Programming language(s): Java,JSP,SQL,XML
License: other

  PortalUserManager.java
  UserMetadataItem.java