com.fluidbpm.program.api.vo.flow.FlowListing Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fluid-api Show documentation
Show all versions of fluid-api Show documentation
Used for the
* Custom Program Step,
* Custom Actions,
* Scheduled Actions and
* Fluid API
in the Fluid BPM and Content Management system.
/*
* Koekiebox CONFIDENTIAL
*
* [2012] - [2017] Koekiebox (Pty) Ltd
* All Rights Reserved.
*
* NOTICE: All information contained herein is, and remains the property
* of Koekiebox and its suppliers, if any. The intellectual and
* technical concepts contained herein are proprietary to Koekiebox
* and its suppliers and may be covered by South African and Foreign Patents,
* patents in process, and are protected by trade secret or copyright law.
* Dissemination of this information or reproduction of this material is strictly
* forbidden unless prior written permission is obtained from Koekiebox.
*/
package com.fluidbpm.program.api.vo.flow;
import javax.xml.bind.annotation.XmlTransient;
import org.json.JSONObject;
import com.fluidbpm.program.api.vo.ABaseListing;
/**
*
* Represents a {@code List} of {@code Flow}s.
*
*
* @author jasonbruwer
* @since v1.4 2016-02-10
*
* @see Flow
* @see ABaseListing
*/
public class FlowListing extends ABaseListing {
public static final long serialVersionUID = 1L;
/**
* Default constructor.
*/
public FlowListing() {
super();
}
/**
* Populates local variables with {@code jsonObjectParam}.
*
* @param jsonObjectParam The JSON Object.
*/
public FlowListing(JSONObject jsonObjectParam){
super(jsonObjectParam);
}
/**
* Converts the {@code jsonObjectParam} to a {@code Flow} object.
*
* @param jsonObjectParam The JSON object to convert to {@code Flow}.
* @return New {@code Flow} instance.
*/
@Override
@XmlTransient
public Flow getObjectFromJSONObject(JSONObject jsonObjectParam) {
return new Flow(jsonObjectParam);
}
}