Uses of Interface
com.onenetwork.platform.common.usercontext.PlatformUserProfile
Package | Description |
---|---|
com.onenetwork.platform.common | |
com.onenetwork.platform.common.addressvalidation | |
com.onenetwork.platform.common.neo | |
com.onenetwork.platform.common.usercontext |
Objects to represent and manipulate user credentials and preferences.
|
com.onenetwork.platform.data.model |
APIs for reading and writing Models developed with the SDK.
|
com.onenetwork.platform.env.home | |
com.onenetwork.platform.integ.json |
Service for converting between JSON and Model objects.
|
com.onenetwork.platform.integ.rest |
Infrastructure for implementing REST-ful web services using JAXRS.
|
com.onenetwork.platform.integ.rest.json |
Standard JSON value objects passed in REST calls in standard Platform components, such as the the Report panel.
|
com.onenetwork.platform.integ.rest.model |
Helper classes related to the Model Create/Detail framework, providing support for manipulating model view/action invocation results
prior to returning to the client layer.
|
com.onenetwork.platform.integ.rest.report |
Helper classes related to the Report framework, providing support for manipulating report invocation results
prior to returning to the client layer.
|
com.onenetwork.platform.integ.rest.template |
Helper classes related to the Model Templates feature, providing support for manipulating template invocation results
prior to returning to the client layer.
|
com.onenetwork.platform.integ.soap |
Infrastructure for implementing SOAP-based web services using JAXWS.
|
-
Uses of PlatformUserProfile in com.onenetwork.platform.common
Methods in com.onenetwork.platform.common with parameters of type PlatformUserProfile Modifier and Type Method Description org.json.JSONObject
Attachment. toJSON(PlatformUserProfile profile)
-
Uses of PlatformUserProfile in com.onenetwork.platform.common.addressvalidation
Methods in com.onenetwork.platform.common.addressvalidation with parameters of type PlatformUserProfile Modifier and Type Method Description AddressValidator
AddressValidationService. getValidator(java.lang.String validatorName, java.lang.String validatorGroupKey, PlatformUserProfile profile)
Returns the validator that matches the given service name. -
Uses of PlatformUserProfile in com.onenetwork.platform.common.neo
Methods in com.onenetwork.platform.common.neo with parameters of type PlatformUserProfile Modifier and Type Method Description ModelList<?>
NeoPrescriptionHandler. inputToModelList(NeoPrescription prescription, org.json.JSONObject inputParams, PlatformUserProfile pltUserProfile)
Given a prescription and user inputs, generate a ModelList which can be executed to apply the prescription -
Uses of PlatformUserProfile in com.onenetwork.platform.common.usercontext
Methods in com.onenetwork.platform.common.usercontext that return PlatformUserProfile Modifier and Type Method Description PlatformUserProfile
UserContextService. getPlatformUserProfile(PlatformUserContext userContext)
Creates a new PlatformUserProfile using the given user and user's preferred LocalePlatformUserProfile
UserContextService. getPlatformUserProfile(PlatformUserContext userContext, java.util.Locale locale)
Deprecated.use#getUserLocale(PlatformUserContext)
PlatformUserProfile
UserContextService. getPlatformUserProfile(javax.servlet.http.HttpServletRequest request)
Fetches and returns thePlatformUserProfile
from the current web session -
Uses of PlatformUserProfile in com.onenetwork.platform.data.model
Methods in com.onenetwork.platform.data.model with parameters of type PlatformUserProfile Modifier and Type Method Description default org.json.JSONObject
ModelAttachment. toJSON(PlatformUserProfile profile)
Returns a JSON representation of this Attachment.org.json.JSONObject
Model. toJSONObject(PlatformUserProfile profile)
Returns a JSON representation of this Model.org.json.JSONObject
ModelAudit. toJSONObject(PlatformUserProfile profile)
Returns a JSON representation of this ModelAudit.org.json.JSONObject
Model. toJSONObjectExternal(PlatformUserProfile profile)
Returns a serialized JSON representation of this Model with following conditions.org.json.JSONObject
Model. toJSONObjectFullySerialized(PlatformUserProfile profile)
Returns a fully serialized JSON representation of this Model. -
Uses of PlatformUserProfile in com.onenetwork.platform.env.home
Methods in com.onenetwork.platform.env.home with parameters of type PlatformUserProfile Modifier and Type Method Description default java.lang.String
HomePagePlugin. getHTMLInjection(PlatformUserProfile platformUserProfile)
default java.lang.String
HomePagePlugin. getJSInjection(PlatformUserProfile platformUserProfile)
-
Uses of PlatformUserProfile in com.onenetwork.platform.integ.json
Methods in com.onenetwork.platform.integ.json with parameters of type PlatformUserProfile Modifier and Type Method Description Model
JSONService. jsonToModel(org.json.JSONObject json, PlatformUserProfile... userProfile)
Converts the given JSON into a Model.<M extends Model>
MJSONService. jsonToModel(org.json.JSONObject json, java.lang.Class<M> modelClass, PlatformUserProfile... userProfile)
Converts the given JSON into a Model of the given type.<M extends Model>
MJSONService. jsonToModel(org.json.JSONObject json, java.lang.Class<M> modelClass, java.lang.String inboundInterfaceName, java.lang.String inboundInterfaceVersion, PlatformUserProfile... profile)
Converts the given JSON into a Model of the given type using the InboundInterface specified.<M extends Model>
MJSONService. jsonToModelExternal(org.json.JSONObject json, java.lang.Class<M> modelClass, PlatformUserProfile... userProfile)
Converts the given JSON into a Model of given type with following conditions: serializeOnlyNKs flag as false, de-serialize all NK components(populateAllNKComponents=true) skipSysId and does not de-serialize transient fields on models Requires the JSON to include ModelLevelType property (introduced in 8.3).<M extends Model>
MJSONService. jsonToModelFullySerialized(org.json.JSONObject json, java.lang.Class<M> modelClass, PlatformUserProfile... userProfile)
Converts the given JSON into a Model of given type with all the attributes de-serialized.java.util.List<Model>
JSONService. jsonToModels(org.json.JSONArray arr, PlatformUserProfile... userProfile)
Converts the given JSON array into Models.<M extends Model>
java.util.List<M>JSONService. jsonToModels(org.json.JSONArray arr, java.lang.Class<M> modelClass, PlatformUserProfile... userProfile)
Converts the given JSON array into Models of the given type.<M extends Model>
java.util.List<M>JSONService. jsonToModels(org.json.JSONArray arr, java.lang.Class<M> modelClass, java.lang.String inboundInterfaceName, java.lang.String inboundInteraceVersion, PlatformUserProfile... userProfile)
org.json.JSONArray
JSONService. modelsToJSON(java.util.Collection<? extends Model> models, PlatformUserProfile... profile)
Converts the given Models into a JSON array representation.org.json.JSONArray
JSONService. modelsToJSON(java.util.Collection<? extends Model> models, java.lang.String outboundIntfName, java.lang.String outboundIntfVersion, PlatformUserProfile... profile)
org.json.JSONObject
JSONService. modelToJSON(Model model, PlatformUserProfile... profile)
Converts the given Model into a JSON representation.org.json.JSONObject
JSONService. modelToJSON(Model model, java.lang.String outboundIntfName, java.lang.String outboundIntfVersion, PlatformUserProfile... profile)
Converts the given Model into a JSON representation using the given OutboundInterface specified by the outboundIntfName and outboundIntfVersion.org.json.JSONObject
JSONService. modelToJSONFullySerialized(Model model, PlatformUserProfile... profile)
Converts the given Model into a JSON representation with all the attributes.org.json.JSONObject
JSONService. modelToJSONObjectExternal(Model model, PlatformUserProfile... profile)
Converts the given Model into a JSON representation with following conditions: serializeOnlyNKs = false, serialize all NK components(populateAllNKComponents=true) showsMDFSeparately, skipSysId and does not serialize transient fields on models.org.json.JSONArray
JSONService. toJSON(Table table, PlatformUserProfile... userProfile)
Converts the supplied Table into a JSONArray. -
Uses of PlatformUserProfile in com.onenetwork.platform.integ.rest
Methods in com.onenetwork.platform.integ.rest that return PlatformUserProfile Modifier and Type Method Description PlatformUserProfile
BaseResource. getPlatformUserProfile()
Returns aPlatformUserProfile
for the user which initiated the request. -
Uses of PlatformUserProfile in com.onenetwork.platform.integ.rest.json
Methods in com.onenetwork.platform.integ.rest.json with parameters of type PlatformUserProfile Modifier and Type Method Description static org.json.JSONObject
JsonHelper. formatDate(java.util.Date date, PlatformUserProfile profile)
Similar toJsonHelper.formatDate(Calendar, Locale)
, but takesDate
as input. -
Uses of PlatformUserProfile in com.onenetwork.platform.integ.rest.model
Fields in com.onenetwork.platform.integ.rest.model declared as PlatformUserProfile Modifier and Type Field Description protected PlatformUserProfile
BaseModelResourceListener. userProfile
Methods in com.onenetwork.platform.integ.rest.model with parameters of type PlatformUserProfile Modifier and Type Method Description void
BaseModelResourceListener. beforeModelWrite(ModelWriteRequest<? extends Model> writeRequest, PlatformUserProfile profile)
Called just before the ModelDataService.write is called, both for action execution as well as "delete" execution if child levels are being deleted.void
BaseModelResourceListener. initialize(PlatformUserProfile up, com.onenetwork.platform.data.model.impl.ModelLevelType mlt, java.lang.String cmn)
void
BaseModelResourceListener. initialize(PlatformUserProfile up, com.onenetwork.platform.data.model.impl.ModelLevelType mlt, java.lang.String cmn, javax.servlet.http.HttpServletRequest request)
-
Uses of PlatformUserProfile in com.onenetwork.platform.integ.rest.report
Fields in com.onenetwork.platform.integ.rest.report declared as PlatformUserProfile Modifier and Type Field Description protected PlatformUserProfile
BaseReportResourceListener. userProfile
Methods in com.onenetwork.platform.integ.rest.report with parameters of type PlatformUserProfile Modifier and Type Method Description void
BaseReportResourceListener. setUserProfile(PlatformUserProfile userProfile)
Deprecated.Not intended for client use. -
Uses of PlatformUserProfile in com.onenetwork.platform.integ.rest.template
Fields in com.onenetwork.platform.integ.rest.template declared as PlatformUserProfile Modifier and Type Field Description protected PlatformUserProfile
BaseTemplateResourceListener. userProfile
Methods in com.onenetwork.platform.integ.rest.template with parameters of type PlatformUserProfile Modifier and Type Method Description void
BaseTemplateResourceListener. initialize(PlatformUserProfile up, com.onenetwork.platform.data.model.impl.ModelLevelType mlt, java.lang.String type)
void
BaseTemplateResourceListener. initialize(PlatformUserProfile up, com.onenetwork.platform.data.model.impl.ModelLevelType mlt, java.lang.String type, javax.servlet.http.HttpServletRequest request)
-
Uses of PlatformUserProfile in com.onenetwork.platform.integ.soap
Methods in com.onenetwork.platform.integ.soap that return PlatformUserProfile Modifier and Type Method Description PlatformUserProfile
BaseSOAPService. getPlatformUserProfile()
Returns aPlatformUserProfile
for the user which initiated the request.