Example usage for org.apache.commons.collections MapUtils getLongValue

List of usage examples for org.apache.commons.collections MapUtils getLongValue

Introduction

In this page you can find the example usage for org.apache.commons.collections MapUtils getLongValue.

Prototype

public static long getLongValue(final Map map, final Object key) 

Source Link

Document

Gets a long from a Map in a null-safe manner.

Usage

From source file:org.bonitasoft.test.toolkit.organization.profiles.TestProfile.java

public TestProfile create(String name, String description, String icon) {
    profileId = MapUtils.getLongValue(createProfile(name, description, icon), PROFILE_ID);
    return this;
}

From source file:org.bonitasoft.test.toolkit.organization.profiles.TestProfileMember.java

public TestProfileMember create() {
    membershipId = MapUtils.getLongValue(createMembership(), PROFILE_MEMBER_ID);
    return this;
}