Package de.xima.fc.api.system
Class BeanAPI
- java.lang.Object
 - 
- de.xima.fc.api.ASubAPI
 - 
- de.xima.fc.api.system.BeanAPI
 
 
 
- 
public class BeanAPI extends ASubAPI
API class for manipulation of beans.- Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Constructor Summary
Constructors Constructor Description BeanAPI() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>getProp(UserContext uc, Serializable bean, BeanAttribute[] beanAttributs)Reading a specific value from committed object based on the property name.- 
Methods inherited from class de.xima.fc.api.ASubAPI
getHandlerProvider 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getProp
public Map<String,Object> getProp(UserContext uc, Serializable bean, BeanAttribute[] beanAttributs) throws PropertyException
Reading a specific value from committed object based on the property name. If a property is passed following the pattern [Name Collection-based property].ids, the IDs of the entities are removed from the Collection returns as JSONArray, otherwise the value is read out normally.- Parameters:
 uc-UserContextthe user context in which the action is to be performed.bean-SerializableTarget object.beanAttributs- Array ofBeanAttributes properties whose values are to be fetched.- Returns:
 - Value of the property in the passed object.
 - Throws:
 PropertyException- if the property couldn't read.- Since:
 - 2.4.3
 
 
 - 
 
 -