public class UnitGroup extends ItemIcon
| Modifier and Type | Class and Description |
|---|---|
static class |
UnitGroup.events |
static class |
UnitGroup.logMessageAction
Log message action constants
|
Item.accessFlag, Item.dataFlag, Item.ItemType, Item.measureUnitsFlag, Item.measureUnitsType, Item.UpdateItemProperty| Constructor and Description |
|---|
UnitGroup() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkUnit(UnitGroup group,
Unit unit)
Check unit in group
|
java.lang.Long[] |
getUnits()
Units (ID array)
|
boolean |
updateItemData(java.lang.String key,
com.google.gson.JsonElement data) |
void |
updateUnits(java.lang.Long[] units,
ResponseHandler callback)
Update units in group, require ACL bit Item.accessFlag.editSubItems over group
|
downloadIcon, getIconUrl, updateIconaddLogRecord, fireItemPropertyEvent, getAccountId, getAdminFieldsPlugin, getCreatorId, getCustomFieldsPlugin, getCustomProperty, getDataFlags, getId, getItemType, getMeasureUnits, getName, getOnUpdatePropertiesCallback, getUserAccess, handleMessage, onUpdateProperties, registerItemPropertyHandler, setDataFlags, updateCustomProperty, updateMeasureUnits, updateNameaddListener, clearListeners, fireEvent, removeListener, removeListenerspublic java.lang.Long[] getUnits()
public void updateUnits(java.lang.Long[] units,
ResponseHandler callback)
units - collection of unit identifiers in form [id1, id2, ...] for groupcallback - callback that will receive information about update: callback(code), zero code is successpublic static boolean checkUnit(UnitGroup group, Unit unit)
group - groupunit - unitpublic boolean updateItemData(java.lang.String key,
com.google.gson.JsonElement data)
updateItemData in class ItemIcon