All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bonitasoft.engine.profile.builder.SProfileMemberBuilder Maven / Gradle / Ivy

/**
 * Copyright (C) 2012-2013 BonitaSoft S.A.
 * BonitaSoft, 32 rue Gustave Eiffel - 38000 Grenoble
 * 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
 * version 2.1 of the License.
 * 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
 * program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
 * Floor, Boston, MA 02110-1301, USA.
 **/
package org.bonitasoft.engine.profile.builder;

import org.bonitasoft.engine.profile.model.SProfileMember;

/**
 * @author Elias Ricken de Medeiros
 * @author Matthieu Chaffotte
 */
public interface SProfileMemberBuilder {

    String DISPLAY_NAME_PART3 = "displayNamePart3";

    String DISPLAY_NAME_PART2 = "displayNamePart2";

    String DISPLAY_NAME_PART1 = "displayNamePart1";

    String ROLE_ID = "roleId";

    String GROUP_ID = "groupId";

    String USER_ID = "userId";

    String PROFILE_ID = "profileId";

    String ID = "id";

    SProfileMemberBuilder createNewInstance(long profileId);

    SProfileMemberBuilder setId(long id);

    SProfileMemberBuilder setGroupId(long groupId);

    SProfileMemberBuilder setRoleId(long roleId);

    SProfileMemberBuilder setUserId(long userId);

    SProfileMemberBuilder setDisplayNamePart1(String displayNamePart1);

    SProfileMemberBuilder setDisplayNamePart2(String displayNamePart2);

    SProfileMemberBuilder setDisplayNamePart3(String displayNamePart3);

    SProfileMember done();

    String getIdKey();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy