public final ProfileFieldContainer getProfileBulk(String[] fieldIdentifiers, String appIdentifier) {
        if (fieldIdentifiers == null || appIdentifier == null) {
            throw new NullPointerException();
        }

        String identifierList = FieldContainerMarshaller.marshallIdentifierList(fieldIdentifiers);
        String token = SPF.get().getSecurityMonitor().getPersonRegistry().getTokenFor(getUniqueIdentifier());

        String containerString = getProfileBulk(token, identifierList, appIdentifier);
        return FieldContainerMarshaller.unmarshallContainer(containerString);
    }
public final ProfileFieldContainer getProfileBulk(String[] fieldIdentifiers, String appIdentifier) {
        if (fieldIdentifiers == null || appIdentifier == null) {
            throw new NullPointerException();
        }

        String identifierList = FieldContainerMarshaller.marshallIdentifierList(fieldIdentifiers);
        String token = SPF.get().getSecurityMonitor().getPersonRegistry().getTokenFor(getUniqueIdentifier());

        String containerString = getProfileBulk(token, identifierList, appIdentifier);
        return FieldContainerMarshaller.unmarshallContainer(containerString);
    }
public final ProfileFieldContainer getProfileBulk ( String [ ] fieldIdentifiers , String appIdentifier ) { if ( fieldIdentifiers == null || appIdentifier == null ) { throw new NullPointerException ( ) ; } String identifierList = FieldContainerMarshaller . marshallIdentifierList ( fieldIdentifiers ) ; String token = SPF . get ( ) . getSecurityMonitor ( ) . getPersonRegistry ( ) . getTokenFor ( getUniqueIdentifier ( ) ) ; String containerString = getProfileBulk ( token , identifierList , appIdentifier ) ; return FieldContainerMarshaller . unmarshallContainer ( containerString ) ; }
Retrieves the values of a defined set of {@link ProfileField} from the
profile of the remote instance. The value of a field will be returned
only if visible to the current instance.

@param fieldIdentifiers - the list of identifiers of the profile fields to retrieve
@param appIdentifier    - the identifier of the app that created the request.
@return a {@link ProfileFieldContainer} with all the retrieved values.
Retrieves the values of a defined set of { @link ProfileField } from the profile of the remote instance . The value of a field will be returned only if visible to the current instance .