Global

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.
Source:

Methods

containsFieldInsideFormBuilder(dataLayoutBuilder, state)

Check if contains field inside the FormBuilder
Parameters:
Name Type Description
dataLayoutBuilder object
state object
Source:

generateCopyOfLanguageKeys(label)

Generate language key copy-of-x
Parameters:
Name Type Description
label Object
Source:

getDataDefinitionField(state)

Get data definition field
Parameters:
Name Type Description
state object
Source:

getDDMFormFields(dataLayoutBuilder)

Get new fields with from forms with merged properties by using dataLayoutBuilder
Parameters:
Name Type Description
dataLayoutBuilder object
Source:

getFormattedState(state)

Return the formatted state
Parameters:
Name Type Description
state object
Source:

getInitialSelectedValue(state)

Get initial selected value
Parameters:
Name Type Description
state object
Source:

getInitialValue(selectedValue, state)

Get initial value
Parameters:
Name Type Description
selectedValue string
state object
Source:

getLabelProperty(dataDefinition, fieldName)

Get label property from definitionField
Parameters:
Name Type Description
dataDefinition Array
fieldName string
Source:

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
Source:

getRequiredProperty(dataDefinition, fieldName)

Get required property from definitionField
Parameters:
Name Type Description
dataDefinition object
fieldName string
Source:

hasFieldWithinDefinitionFields(dataDefinition, fieldName)

Check if has field whitin dataDefinitionFields
Parameters:
Name Type Description
dataDefinition Array
fieldName string
Source:

initialLevelSelected(state)

Define an initial value to selectedValue state
Parameters:
Name Type Description
state object
Source:

initialToggledValue(state)

Define an initial value to toggled state
Parameters:
Name Type Description
state object
Source:

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
Source:

isRequiredAtObjectViewLevel(state)

Check if it is required at object view level
Parameters:
Name Type Description
state object
Source:

isRequiredField(field)

Check if the field has a required parameter
Parameters:
Name Type Description
field object
Source:

isUninplementedType(state)

Verify if focusedField or focusedCustomObjectField contains FieldSet
Parameters:
Name Type Description
state *
Source:

setPropertyAtStructureLevel(propertyName, propertyValue)

Set propertyValue at object view level
Parameters:
Name Type Description
propertyName string
propertyValue any
Source:

setPropertyAtViewLevel(propertyName, propertyValue)

Set propertyValue at form view level
Parameters:
Name Type Description
propertyName string
propertyValue any
Source:

updateLabelAtStructureLevel(state, dispatch, selectedValue)

Update variable labelAtStructureLevel
Parameters:
Name Type Description
state object
dispatch function
selectedValue string
Source: