Members
(constant) ADMINISTRATION_SCOPE_VALUE
Copyright (c) 2000-present Liferay, Inc. All rights reserved.
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 2.1 of the License, or (at your option)
any later version.
This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
details.
- Source:
(constant) ENTRY_STATUS
Copyright (c) 2000-present Liferay, Inc. All rights reserved.
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 2.1 of the License, or (at your option)
any later version.
This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
details.
- Source:
(constant) findFieldByName
Copyright (c) 2000-present Liferay, Inc. All rights reserved.
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 2.1 of the License, or (at your option)
any later version.
This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
details.
- Source:
(constant) getValidName
Copyright (c) 2000-present Liferay, Inc. All rights reserved.
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 2.1 of the License, or (at your option)
any later version.
This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
details.
- Source:
(constant) STRUCTURE_LEVEL
Copyright (c) 2000-present Liferay, Inc. All rights reserved.
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 2.1 of the License, or (at your option)
any later version.
This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
details.
Methods
containsFieldInsideFormBuilder(dataLayoutBuilder, state)
Check if contains field inside the FormBuilder
Parameters:
Name | Type | Description |
---|---|---|
dataLayoutBuilder |
object | |
state |
object |
generateCopyOfLanguageKeys(label)
Generate language key copy-of-x
Parameters:
Name | Type | Description |
---|---|---|
label |
Object |
getDataDefinitionField(state)
Get data definition field
Parameters:
Name | Type | Description |
---|---|---|
state |
object |
getDDMFormFields(dataLayoutBuilder)
Get new fields with from forms with merged
properties by using dataLayoutBuilder
Parameters:
Name | Type | Description |
---|---|---|
dataLayoutBuilder |
object |
getFormattedState(state)
Return the formatted state
Parameters:
Name | Type | Description |
---|---|---|
state |
object |
getInitialSelectedValue(state)
Get initial selected value
Parameters:
Name | Type | Description |
---|---|---|
state |
object |
getInitialValue(selectedValue, state)
Get initial value
Parameters:
Name | Type | Description |
---|---|---|
selectedValue |
string | |
state |
object |
getLabelProperty(dataDefinition, fieldName)
Get label property from definitionField
Parameters:
Name | Type | Description |
---|---|---|
dataDefinition |
Array | |
fieldName |
string |
getLocalizedValue()
Copyright (c) 2000-present Liferay, Inc. All rights reserved.
This library is free software; you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation; either version 2.1 of the License, or (at your option)
any later version.
This library is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
details.
- Source:
getLocalizedValue(value, state)
Get localized value
Parameters:
Name | Type | Description |
---|---|---|
value |
object | |
state |
object |
getRequiredProperty(dataDefinition, fieldName)
Get required property from definitionField
Parameters:
Name | Type | Description |
---|---|---|
dataDefinition |
object | |
fieldName |
string |
hasFieldWithinDefinitionFields(dataDefinition, fieldName)
Check if has field whitin dataDefinitionFields
Parameters:
Name | Type | Description |
---|---|---|
dataDefinition |
Array | |
fieldName |
string |
initialLevelSelected(state)
Define an initial value to selectedValue state
Parameters:
Name | Type | Description |
---|---|---|
state |
object |
initialToggledValue(state)
Define an initial value to toggled state
Parameters:
Name | Type | Description |
---|---|---|
state |
object |
isProductMenuValid(app)
Verifiy if appDeployments contains type productMenu
if productMenu is selected, check if contains at least one scope
Parameters:
Name | Type | Description |
---|---|---|
app |
* | state |
- Source:
isRequiredAtFormViewLevel(state)
Check if it is required at form view level
Parameters:
Name | Type | Description |
---|---|---|
state |
object |
isRequiredAtObjectViewLevel(state)
Check if it is required at object view level
Parameters:
Name | Type | Description |
---|---|---|
state |
object |
isRequiredField(field)
Check if the field has a required parameter
Parameters:
Name | Type | Description |
---|---|---|
field |
object |
isUninplementedType(state)
Verify if focusedField or focusedCustomObjectField contains FieldSet
Parameters:
Name | Type | Description |
---|---|---|
state |
* |
setPropertyAtStructureLevel(propertyName, propertyValue)
Set propertyValue at object view level
Parameters:
Name | Type | Description |
---|---|---|
propertyName |
string | |
propertyValue |
any |
setPropertyAtViewLevel(propertyName, propertyValue)
Set propertyValue at form view level
Parameters:
Name | Type | Description |
---|---|---|
propertyName |
string | |
propertyValue |
any |
updateLabelAtStructureLevel(state, dispatch, selectedValue)
Update variable labelAtStructureLevel
Parameters:
Name | Type | Description |
---|---|---|
state |
object | |
dispatch |
function | |
selectedValue |
string |