Class ExpandoValueLocalServiceUtil
com.liferay.portlet.expando.service.impl.ExpandoValueLocalServiceImpl
and
is an access point for service operations in application layer code running
on the local server. Methods of this service will not have security checks
based on the propagated JAAS credentials because this service can only be
accessed from within the same VM.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ExpandoValue
addExpandoValue
(ExpandoValue expandoValue) Adds the expando value to the database.static ExpandoValue
static ExpandoValue
addValue
(long companyId, String className, String tableName, String columnName, long classPK, boolean data) static ExpandoValue
addValue
(long companyId, String className, String tableName, String columnName, long classPK, boolean[] data) static ExpandoValue
addValue
(long companyId, String className, String tableName, String columnName, long classPK, double data) static ExpandoValue
addValue
(long companyId, String className, String tableName, String columnName, long classPK, double[] data) static ExpandoValue
addValue
(long companyId, String className, String tableName, String columnName, long classPK, float data) static ExpandoValue
addValue
(long companyId, String className, String tableName, String columnName, long classPK, float[] data) static ExpandoValue
addValue
(long companyId, String className, String tableName, String columnName, long classPK, int data) static ExpandoValue
addValue
(long companyId, String className, String tableName, String columnName, long classPK, int[] data) static ExpandoValue
addValue
(long companyId, String className, String tableName, String columnName, long classPK, long data) static ExpandoValue
addValue
(long companyId, String className, String tableName, String columnName, long classPK, long[] data) static ExpandoValue
addValue
(long companyId, String className, String tableName, String columnName, long classPK, short data) static ExpandoValue
addValue
(long companyId, String className, String tableName, String columnName, long classPK, short[] data) static ExpandoValue
addValue
(long companyId, String className, String tableName, String columnName, long classPK, JSONObject dataJSONObject) static ExpandoValue
addValue
(long companyId, String className, String tableName, String columnName, long classPK, Number data) static ExpandoValue
addValue
(long companyId, String className, String tableName, String columnName, long classPK, Number[] data) static ExpandoValue
addValue
(long companyId, String className, String tableName, String columnName, long classPK, Object data) static ExpandoValue
addValue
(long companyId, String className, String tableName, String columnName, long classPK, String data) static ExpandoValue
addValue
(long companyId, String className, String tableName, String columnName, long classPK, String[] data) static ExpandoValue
addValue
(long companyId, String className, String tableName, String columnName, long classPK, Date data) static ExpandoValue
addValue
(long companyId, String className, String tableName, String columnName, long classPK, Date[] data) static ExpandoValue
addValue
(long companyId, String className, String tableName, String columnName, long classPK, Map<Locale, ?> dataMap, Locale defaultLocale) static void
addValues
(long companyId, long classNameId, String tableName, long classPK, Map<String, Serializable> attributes) static void
addValues
(long classNameId, long tableId, List<ExpandoColumn> columns, long classPK, Map<String, String> data) static void
addValues
(long companyId, String className, String tableName, long classPK, Map<String, Serializable> attributes) static ExpandoValue
createExpandoValue
(long valueId) Creates a new expando value with the primary key.static PersistedModel
createPersistedModel
(Serializable primaryKeyObj) static void
deleteColumnValues
(long columnId) static ExpandoValue
deleteExpandoValue
(long valueId) Deletes the expando value with the primary key from the database.static ExpandoValue
deleteExpandoValue
(ExpandoValue expandoValue) Deletes the expando value from the database.static PersistedModel
deletePersistedModel
(PersistedModel persistedModel) static void
deleteRowValues
(long rowId) static void
deleteTableValues
(long tableId) static void
deleteValue
(long valueId) static void
deleteValue
(long columnId, long rowId) static void
deleteValue
(long companyId, long classNameId, String tableName, String columnName, long classPK) static void
deleteValue
(long companyId, String className, String tableName, String columnName, long classPK) static void
deleteValue
(ExpandoValue value) static void
deleteValues
(long classNameId, long classPK) static void
deleteValues
(String className, long classPK) static <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) static int
dslQueryCount
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) static DynamicQuery
static <T> List<T>
dynamicQuery
(DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.static <T> List<T>
dynamicQuery
(DynamicQuery dynamicQuery, int start, int end) Performs a dynamic query on the database and returns a range of the matching rows.static <T> List<T>
dynamicQuery
(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.static long
dynamicQueryCount
(DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.static long
dynamicQueryCount
(DynamicQuery dynamicQuery, Projection projection) Returns the number of rows matching the dynamic query.static ExpandoValue
fetchExpandoValue
(long valueId) static ActionableDynamicQuery
static List<ExpandoValue>
getColumnValues
(long columnId, int start, int end) static List<ExpandoValue>
getColumnValues
(long companyId, long classNameId, String tableName, String columnName, int start, int end) static List<ExpandoValue>
getColumnValues
(long companyId, long classNameId, String tableName, String columnName, String data, int start, int end) static List<ExpandoValue>
getColumnValues
(long companyId, String className, String tableName, String columnName, int start, int end) static List<ExpandoValue>
getColumnValues
(long companyId, String className, String tableName, String columnName, String data, int start, int end) static int
getColumnValuesCount
(long columnId) static int
getColumnValuesCount
(long companyId, long classNameId, String tableName, String columnName) static int
getColumnValuesCount
(long companyId, long classNameId, String tableName, String columnName, String data) static int
getColumnValuesCount
(long companyId, String className, String tableName, String columnName) static int
getColumnValuesCount
(long companyId, String className, String tableName, String columnName, String data) static Serializable
static boolean
getData
(long companyId, String className, String tableName, String columnName, long classPK, boolean defaultData) static boolean[]
getData
(long companyId, String className, String tableName, String columnName, long classPK, boolean[] defaultData) static double
getData
(long companyId, String className, String tableName, String columnName, long classPK, double defaultData) static double[]
getData
(long companyId, String className, String tableName, String columnName, long classPK, double[] defaultData) static float
getData
(long companyId, String className, String tableName, String columnName, long classPK, float defaultData) static float[]
getData
(long companyId, String className, String tableName, String columnName, long classPK, float[] defaultData) static int
getData
(long companyId, String className, String tableName, String columnName, long classPK, int defaultData) static int[]
getData
(long companyId, String className, String tableName, String columnName, long classPK, int[] defaultData) static long
getData
(long companyId, String className, String tableName, String columnName, long classPK, long defaultData) static long[]
getData
(long companyId, String className, String tableName, String columnName, long classPK, long[] defaultData) static short
getData
(long companyId, String className, String tableName, String columnName, long classPK, short defaultData) static short[]
getData
(long companyId, String className, String tableName, String columnName, long classPK, short[] defaultData) static JSONObject
getData
(long companyId, String className, String tableName, String columnName, long classPK, JSONObject defaultDataJSONObject) static Number
getData
(long companyId, String className, String tableName, String columnName, long classPK, Number defaultData) static Number[]
getData
(long companyId, String className, String tableName, String columnName, long classPK, Number[] defaultData) static String
getData
(long companyId, String className, String tableName, String columnName, long classPK, String defaultData) static String[]
getData
(long companyId, String className, String tableName, String columnName, long classPK, String[] defaultData) static Date
getData
(long companyId, String className, String tableName, String columnName, long classPK, Date defaultData) static Date[]
getData
(long companyId, String className, String tableName, String columnName, long classPK, Date[] defaultData) static Map<?,
?> getData
(long companyId, String className, String tableName, String columnName, long classPK, Map<?, ?> defaultData) static Map<String,
Serializable> getData
(long companyId, String className, String tableName, Collection<String> columnNames, long classPK) static List<ExpandoValue>
getDefaultTableColumnValues
(long companyId, long classNameId, String columnName, int start, int end) static List<ExpandoValue>
getDefaultTableColumnValues
(long companyId, String className, String columnName, int start, int end) static int
getDefaultTableColumnValuesCount
(long companyId, long classNameId, String columnName) static int
getDefaultTableColumnValuesCount
(long companyId, String className, String columnName) static ExpandoValue
getExpandoValue
(long valueId) Returns the expando value with the primary key.static List<ExpandoValue>
getExpandoValues
(int start, int end) Returns a range of all the expando values.static int
Returns the number of expando values.static String
Returns the OSGi service identifier.static PersistedModel
getPersistedModel
(Serializable primaryKeyObj) static List<ExpandoValue>
getRowValues
(long rowId) static List<ExpandoValue>
getRowValues
(long rowId, int start, int end) static List<ExpandoValue>
getRowValues
(long companyId, long classNameId, String tableName, long classPK, int start, int end) static List<ExpandoValue>
getRowValues
(long companyId, String className, String tableName, long classPK, int start, int end) static int
getRowValuesCount
(long rowId) static int
getRowValuesCount
(long companyId, long classNameId, String tableName, long classPK) static int
getRowValuesCount
(long companyId, String className, String tableName, long classPK) static ExpandoValueLocalService
static ExpandoValue
getValue
(long valueId) static ExpandoValue
getValue
(long columnId, long rowId) static ExpandoValue
getValue
(long tableId, long columnId, long classPK) static ExpandoValue
static ExpandoValue
static void
setService
(ExpandoValueLocalService service) static ExpandoValue
updateExpandoValue
(ExpandoValue expandoValue) Updates the expando value in the database or adds it if it does not yet exist.
-
Constructor Details
-
ExpandoValueLocalServiceUtil
public ExpandoValueLocalServiceUtil()
-
-
Method Details
-
addExpandoValue
Adds the expando value to the database. Also notifies the appropriate model listeners.Important: Inspect ExpandoValueLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Parameters:
expandoValue
- the expando value- Returns:
- the expando value that was added
-
addValue
public static ExpandoValue addValue(long classNameId, long tableId, long columnId, long classPK, String data) throws PortalException - Throws:
PortalException
-
addValue
public static ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, boolean data) throws PortalException - Throws:
PortalException
-
addValue
public static ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, boolean[] data) throws PortalException - Throws:
PortalException
-
addValue
public static ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, Date data) throws PortalException - Throws:
PortalException
-
addValue
public static ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, Date[] data) throws PortalException - Throws:
PortalException
-
addValue
public static ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, double data) throws PortalException - Throws:
PortalException
-
addValue
public static ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, double[] data) throws PortalException - Throws:
PortalException
-
addValue
public static ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, float data) throws PortalException - Throws:
PortalException
-
addValue
public static ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, float[] data) throws PortalException - Throws:
PortalException
-
addValue
public static ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, int data) throws PortalException - Throws:
PortalException
-
addValue
public static ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, int[] data) throws PortalException - Throws:
PortalException
-
addValue
public static ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, JSONObject dataJSONObject) throws PortalException - Throws:
PortalException
-
addValue
public static ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, long data) throws PortalException - Throws:
PortalException
-
addValue
public static ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, long[] data) throws PortalException - Throws:
PortalException
-
addValue
public static ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, Map<Locale, ?> dataMap, Locale defaultLocale) throws PortalException- Throws:
PortalException
-
addValue
public static ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, Number data) throws PortalException - Throws:
PortalException
-
addValue
public static ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, Number[] data) throws PortalException - Throws:
PortalException
-
addValue
public static ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, Object data) throws PortalException - Throws:
PortalException
-
addValue
public static ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, short data) throws PortalException - Throws:
PortalException
-
addValue
public static ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, short[] data) throws PortalException - Throws:
PortalException
-
addValue
public static ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, String data) throws PortalException - Throws:
PortalException
-
addValue
public static ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, String[] data) throws PortalException - Throws:
PortalException
-
addValues
public static void addValues(long classNameId, long tableId, List<ExpandoColumn> columns, long classPK, Map<String, String> data) throws PortalException- Throws:
PortalException
-
addValues
public static void addValues(long companyId, long classNameId, String tableName, long classPK, Map<String, Serializable> attributes) throws PortalException- Throws:
PortalException
-
addValues
public static void addValues(long companyId, String className, String tableName, long classPK, Map<String, Serializable> attributes) throws PortalException- Throws:
PortalException
-
createExpandoValue
Creates a new expando value with the primary key. Does not add the expando value to the database.- Parameters:
valueId
- the primary key for the new expando value- Returns:
- the new expando value
-
createPersistedModel
public static PersistedModel createPersistedModel(Serializable primaryKeyObj) throws PortalException - Throws:
PortalException
-
deleteColumnValues
public static void deleteColumnValues(long columnId) -
deleteExpandoValue
Deletes the expando value from the database. Also notifies the appropriate model listeners.Important: Inspect ExpandoValueLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Parameters:
expandoValue
- the expando value- Returns:
- the expando value that was removed
-
deleteExpandoValue
Deletes the expando value with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect ExpandoValueLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Parameters:
valueId
- the primary key of the expando value- Returns:
- the expando value that was removed
- Throws:
PortalException
- if a expando value with the primary key could not be found
-
deletePersistedModel
public static PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException - Throws:
PortalException
-
deleteRowValues
public static void deleteRowValues(long rowId) -
deleteTableValues
public static void deleteTableValues(long tableId) -
deleteValue
-
deleteValue
- Throws:
PortalException
-
deleteValue
- Throws:
PortalException
-
deleteValue
public static void deleteValue(long companyId, long classNameId, String tableName, String columnName, long classPK) throws PortalException - Throws:
PortalException
-
deleteValue
public static void deleteValue(long companyId, String className, String tableName, String columnName, long classPK) throws PortalException - Throws:
PortalException
-
deleteValues
public static void deleteValues(long classNameId, long classPK) -
deleteValues
-
dslQuery
public static <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) -
dslQueryCount
public static int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) -
dynamicQuery
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
Performs a dynamic query on the database and returns a range of the matching rows.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.expando.model.impl.ExpandoValueModelImpl
.- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)- Returns:
- the range of matching rows
-
dynamicQuery
public static <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.expando.model.impl.ExpandoValueModelImpl
.- Parameters:
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching rows
-
dynamicQueryCount
Returns the number of rows matching the dynamic query.- Parameters:
dynamicQuery
- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
Returns the number of rows matching the dynamic query.- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchExpandoValue
-
getActionableDynamicQuery
-
getColumnValues
-
getColumnValues
public static List<ExpandoValue> getColumnValues(long companyId, long classNameId, String tableName, String columnName, int start, int end) -
getColumnValues
public static List<ExpandoValue> getColumnValues(long companyId, long classNameId, String tableName, String columnName, String data, int start, int end) -
getColumnValues
public static List<ExpandoValue> getColumnValues(long companyId, String className, String tableName, String columnName, int start, int end) -
getColumnValues
-
getColumnValuesCount
public static int getColumnValuesCount(long columnId) -
getColumnValuesCount
-
getColumnValuesCount
-
getColumnValuesCount
-
getColumnValuesCount
-
getData
public static Map<String,Serializable> getData(long companyId, String className, String tableName, Collection<String> columnNames, long classPK) throws PortalException - Throws:
PortalException
-
getData
public static Serializable getData(long companyId, String className, String tableName, String columnName, long classPK) throws PortalException - Throws:
PortalException
-
getData
public static boolean getData(long companyId, String className, String tableName, String columnName, long classPK, boolean defaultData) throws PortalException - Throws:
PortalException
-
getData
public static boolean[] getData(long companyId, String className, String tableName, String columnName, long classPK, boolean[] defaultData) throws PortalException - Throws:
PortalException
-
getData
public static Date getData(long companyId, String className, String tableName, String columnName, long classPK, Date defaultData) throws PortalException - Throws:
PortalException
-
getData
public static Date[] getData(long companyId, String className, String tableName, String columnName, long classPK, Date[] defaultData) throws PortalException - Throws:
PortalException
-
getData
public static double getData(long companyId, String className, String tableName, String columnName, long classPK, double defaultData) throws PortalException - Throws:
PortalException
-
getData
public static double[] getData(long companyId, String className, String tableName, String columnName, long classPK, double[] defaultData) throws PortalException - Throws:
PortalException
-
getData
public static float getData(long companyId, String className, String tableName, String columnName, long classPK, float defaultData) throws PortalException - Throws:
PortalException
-
getData
public static float[] getData(long companyId, String className, String tableName, String columnName, long classPK, float[] defaultData) throws PortalException - Throws:
PortalException
-
getData
public static int getData(long companyId, String className, String tableName, String columnName, long classPK, int defaultData) throws PortalException - Throws:
PortalException
-
getData
public static int[] getData(long companyId, String className, String tableName, String columnName, long classPK, int[] defaultData) throws PortalException - Throws:
PortalException
-
getData
public static JSONObject getData(long companyId, String className, String tableName, String columnName, long classPK, JSONObject defaultDataJSONObject) throws PortalException - Throws:
PortalException
-
getData
public static long getData(long companyId, String className, String tableName, String columnName, long classPK, long defaultData) throws PortalException - Throws:
PortalException
-
getData
public static long[] getData(long companyId, String className, String tableName, String columnName, long classPK, long[] defaultData) throws PortalException - Throws:
PortalException
-
getData
public static Map<?,?> getData(long companyId, String className, String tableName, String columnName, long classPK, Map<?, ?> defaultData) throws PortalException- Throws:
PortalException
-
getData
public static Number getData(long companyId, String className, String tableName, String columnName, long classPK, Number defaultData) throws PortalException - Throws:
PortalException
-
getData
public static Number[] getData(long companyId, String className, String tableName, String columnName, long classPK, Number[] defaultData) throws PortalException - Throws:
PortalException
-
getData
public static short getData(long companyId, String className, String tableName, String columnName, long classPK, short defaultData) throws PortalException - Throws:
PortalException
-
getData
public static short[] getData(long companyId, String className, String tableName, String columnName, long classPK, short[] defaultData) throws PortalException - Throws:
PortalException
-
getData
public static String getData(long companyId, String className, String tableName, String columnName, long classPK, String defaultData) throws PortalException - Throws:
PortalException
-
getData
public static String[] getData(long companyId, String className, String tableName, String columnName, long classPK, String[] defaultData) throws PortalException - Throws:
PortalException
-
getDefaultTableColumnValues
public static List<ExpandoValue> getDefaultTableColumnValues(long companyId, long classNameId, String columnName, int start, int end) -
getDefaultTableColumnValues
public static List<ExpandoValue> getDefaultTableColumnValues(long companyId, String className, String columnName, int start, int end) -
getDefaultTableColumnValuesCount
public static int getDefaultTableColumnValuesCount(long companyId, long classNameId, String columnName) -
getDefaultTableColumnValuesCount
-
getExpandoValue
Returns the expando value with the primary key.- Parameters:
valueId
- the primary key of the expando value- Returns:
- the expando value
- Throws:
PortalException
- if a expando value with the primary key could not be found
-
getExpandoValues
Returns a range of all the expando values.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.portlet.expando.model.impl.ExpandoValueModelImpl
.- Parameters:
start
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)- Returns:
- the range of expando values
-
getExpandoValuesCount
public static int getExpandoValuesCount()Returns the number of expando values.- Returns:
- the number of expando values
-
getIndexableActionableDynamicQuery
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
getPersistedModel
- Throws:
PortalException
-
getRowValues
-
getRowValues
-
getRowValues
public static List<ExpandoValue> getRowValues(long companyId, long classNameId, String tableName, long classPK, int start, int end) -
getRowValues
public static List<ExpandoValue> getRowValues(long companyId, String className, String tableName, long classPK, int start, int end) -
getRowValuesCount
public static int getRowValuesCount(long rowId) -
getRowValuesCount
public static int getRowValuesCount(long companyId, long classNameId, String tableName, long classPK) -
getRowValuesCount
-
getValue
- Throws:
PortalException
-
getValue
- Throws:
PortalException
-
getValue
-
getValue
public static ExpandoValue getValue(long companyId, long classNameId, String tableName, String columnName, long classPK) -
getValue
public static ExpandoValue getValue(long companyId, String className, String tableName, String columnName, long classPK) -
updateExpandoValue
Updates the expando value in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect ExpandoValueLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
- Parameters:
expandoValue
- the expando value- Returns:
- the expando value that was updated
-
getService
-
setService
-