Interface ObjectFieldBusinessType


public interface ObjectFieldBusinessType
  • Method Details

    • getAllowedObjectFieldSettingsNames

      default Set<String> getAllowedObjectFieldSettingsNames()
    • getDBType

      String getDBType()
    • getDDMFormFieldTypeName

      String getDDMFormFieldTypeName()
    • getDDMFormFieldTypeName

      default String getDDMFormFieldTypeName(boolean localized)
    • getDescription

      default String getDescription(Locale locale)
    • getDisplayContextValue

      default Object getDisplayContextValue(ObjectField objectField, long userId, Map<String,Object> values) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getLabel

      String getLabel(Locale locale)
    • getLocalizedValues

      default Map<String,Object> getLocalizedValues(ObjectField objectField, Long userId, Map<String,Object> values) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getName

      String getName()
    • getProperties

      default Map<String,Object> getProperties(ObjectField objectField, ObjectFieldRenderingContext objectFieldRenderingContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getPropertyType

      com.liferay.portal.vulcan.extension.PropertyDefinition.PropertyType getPropertyType()
    • getRequiredObjectFieldSettingsNames

      default Set<String> getRequiredObjectFieldSettingsNames(ObjectField objectField)
    • getUnmodifiableObjectFieldSettingsNames

      default Set<String> getUnmodifiableObjectFieldSettingsNames()
    • getValue

      default Object getValue(ObjectField objectField, long userId, Map<String,Object> values) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isLocalizable

      default boolean isLocalizable()
    • isVisible

      default boolean isVisible(ObjectDefinition objectDefinition)
    • predefineObjectFieldSettings

      default void predefineObjectFieldSettings(ObjectField newObjectField, ObjectField oldObjectField, List<ObjectFieldSetting> objectFieldSettings) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • validateObjectFieldSettings

      default void validateObjectFieldSettings(ObjectField objectField, List<ObjectFieldSetting> objectFieldSettings) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • validateObjectFieldSettingsDefaultValue

      default void validateObjectFieldSettingsDefaultValue(ObjectField objectField, Map<String,String> objectFieldSettingsValuesMap) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException