@CTAware @ProviderType @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface ExpandoValueLocalService extends BaseLocalService, CTService<ExpandoValue>, PersistedModelLocalService
ExpandoValueLocalServiceUtil
Modifier and Type | Method and Description |
---|---|
ExpandoValue |
addExpandoValue(ExpandoValue expandoValue)
Adds the expando value to the database.
|
ExpandoValue |
addValue(long classNameId,
long tableId,
long columnId,
long classPK,
String data) |
ExpandoValue |
addValue(long companyId,
String className,
String tableName,
String columnName,
long classPK,
boolean data) |
ExpandoValue |
addValue(long companyId,
String className,
String tableName,
String columnName,
long classPK,
boolean[] data) |
ExpandoValue |
addValue(long companyId,
String className,
String tableName,
String columnName,
long classPK,
Date data) |
ExpandoValue |
addValue(long companyId,
String className,
String tableName,
String columnName,
long classPK,
Date[] data) |
ExpandoValue |
addValue(long companyId,
String className,
String tableName,
String columnName,
long classPK,
double data) |
ExpandoValue |
addValue(long companyId,
String className,
String tableName,
String columnName,
long classPK,
double[] data) |
ExpandoValue |
addValue(long companyId,
String className,
String tableName,
String columnName,
long classPK,
float data) |
ExpandoValue |
addValue(long companyId,
String className,
String tableName,
String columnName,
long classPK,
float[] data) |
ExpandoValue |
addValue(long companyId,
String className,
String tableName,
String columnName,
long classPK,
int data) |
ExpandoValue |
addValue(long companyId,
String className,
String tableName,
String columnName,
long classPK,
int[] data) |
ExpandoValue |
addValue(long companyId,
String className,
String tableName,
String columnName,
long classPK,
JSONObject data) |
ExpandoValue |
addValue(long companyId,
String className,
String tableName,
String columnName,
long classPK,
long data) |
ExpandoValue |
addValue(long companyId,
String className,
String tableName,
String columnName,
long classPK,
long[] data) |
ExpandoValue |
addValue(long companyId,
String className,
String tableName,
String columnName,
long classPK,
Map<Locale,?> dataMap,
Locale defautlLocale) |
ExpandoValue |
addValue(long companyId,
String className,
String tableName,
String columnName,
long classPK,
Number data) |
ExpandoValue |
addValue(long companyId,
String className,
String tableName,
String columnName,
long classPK,
Number[] data) |
ExpandoValue |
addValue(long companyId,
String className,
String tableName,
String columnName,
long classPK,
Object data) |
ExpandoValue |
addValue(long companyId,
String className,
String tableName,
String columnName,
long classPK,
short data) |
ExpandoValue |
addValue(long companyId,
String className,
String tableName,
String columnName,
long classPK,
short[] data) |
ExpandoValue |
addValue(long companyId,
String className,
String tableName,
String columnName,
long classPK,
String data) |
ExpandoValue |
addValue(long companyId,
String className,
String tableName,
String columnName,
long classPK,
String[] data) |
void |
addValues(long classNameId,
long tableId,
List<ExpandoColumn> columns,
long classPK,
Map<String,String> data) |
void |
addValues(long companyId,
long classNameId,
String tableName,
long classPK,
Map<String,Serializable> attributes) |
void |
addValues(long companyId,
String className,
String tableName,
long classPK,
Map<String,Serializable> attributes) |
ExpandoValue |
createExpandoValue(long valueId)
Creates a new expando value with the primary key.
|
PersistedModel |
createPersistedModel(Serializable primaryKeyObj) |
void |
deleteColumnValues(long columnId) |
ExpandoValue |
deleteExpandoValue(ExpandoValue expandoValue)
Deletes the expando value from the database.
|
ExpandoValue |
deleteExpandoValue(long valueId)
Deletes the expando value with the primary key from the database.
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
void |
deleteRowValues(long rowId) |
void |
deleteTableValues(long tableId) |
void |
deleteValue(ExpandoValue value) |
void |
deleteValue(long valueId) |
void |
deleteValue(long columnId,
long rowId) |
void |
deleteValue(long companyId,
long classNameId,
String tableName,
String columnName,
long classPK) |
void |
deleteValue(long companyId,
String className,
String tableName,
String columnName,
long classPK) |
void |
deleteValues(long classNameId,
long classPK) |
void |
deleteValues(String className,
long classPK) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
DynamicQuery |
dynamicQuery() |
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<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.
|
<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.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query.
|
ExpandoValue |
fetchExpandoValue(long valueId) |
ActionableDynamicQuery |
getActionableDynamicQuery() |
List<ExpandoValue> |
getColumnValues(long columnId,
int start,
int end) |
List<ExpandoValue> |
getColumnValues(long companyId,
long classNameId,
String tableName,
String columnName,
int start,
int end) |
List<ExpandoValue> |
getColumnValues(long companyId,
long classNameId,
String tableName,
String columnName,
String data,
int start,
int end) |
List<ExpandoValue> |
getColumnValues(long companyId,
String className,
String tableName,
String columnName,
int start,
int end) |
List<ExpandoValue> |
getColumnValues(long companyId,
String className,
String tableName,
String columnName,
String data,
int start,
int end) |
int |
getColumnValuesCount(long columnId) |
int |
getColumnValuesCount(long companyId,
long classNameId,
String tableName,
String columnName) |
int |
getColumnValuesCount(long companyId,
long classNameId,
String tableName,
String columnName,
String data) |
int |
getColumnValuesCount(long companyId,
String className,
String tableName,
String columnName) |
int |
getColumnValuesCount(long companyId,
String className,
String tableName,
String columnName,
String data) |
CTPersistence<ExpandoValue> |
getCTPersistence() |
Map<String,Serializable> |
getData(long companyId,
String className,
String tableName,
Collection<String> columnNames,
long classPK) |
Serializable |
getData(long companyId,
String className,
String tableName,
String columnName,
long classPK) |
boolean |
getData(long companyId,
String className,
String tableName,
String columnName,
long classPK,
boolean defaultData) |
boolean[] |
getData(long companyId,
String className,
String tableName,
String columnName,
long classPK,
boolean[] defaultData) |
Date |
getData(long companyId,
String className,
String tableName,
String columnName,
long classPK,
Date defaultData) |
Date[] |
getData(long companyId,
String className,
String tableName,
String columnName,
long classPK,
Date[] defaultData) |
double |
getData(long companyId,
String className,
String tableName,
String columnName,
long classPK,
double defaultData) |
double[] |
getData(long companyId,
String className,
String tableName,
String columnName,
long classPK,
double[] defaultData) |
float |
getData(long companyId,
String className,
String tableName,
String columnName,
long classPK,
float defaultData) |
float[] |
getData(long companyId,
String className,
String tableName,
String columnName,
long classPK,
float[] defaultData) |
int |
getData(long companyId,
String className,
String tableName,
String columnName,
long classPK,
int defaultData) |
int[] |
getData(long companyId,
String className,
String tableName,
String columnName,
long classPK,
int[] defaultData) |
JSONObject |
getData(long companyId,
String className,
String tableName,
String columnName,
long classPK,
JSONObject defaultData) |
long |
getData(long companyId,
String className,
String tableName,
String columnName,
long classPK,
long defaultData) |
long[] |
getData(long companyId,
String className,
String tableName,
String columnName,
long classPK,
long[] defaultData) |
Map<?,?> |
getData(long companyId,
String className,
String tableName,
String columnName,
long classPK,
Map<?,?> defaultData) |
Number |
getData(long companyId,
String className,
String tableName,
String columnName,
long classPK,
Number defaultData) |
Number[] |
getData(long companyId,
String className,
String tableName,
String columnName,
long classPK,
Number[] defaultData) |
short |
getData(long companyId,
String className,
String tableName,
String columnName,
long classPK,
short defaultData) |
short[] |
getData(long companyId,
String className,
String tableName,
String columnName,
long classPK,
short[] defaultData) |
String |
getData(long companyId,
String className,
String tableName,
String columnName,
long classPK,
String defaultData) |
String[] |
getData(long companyId,
String className,
String tableName,
String columnName,
long classPK,
String[] defaultData) |
List<ExpandoValue> |
getDefaultTableColumnValues(long companyId,
long classNameId,
String columnName,
int start,
int end) |
List<ExpandoValue> |
getDefaultTableColumnValues(long companyId,
String className,
String columnName,
int start,
int end) |
int |
getDefaultTableColumnValuesCount(long companyId,
long classNameId,
String columnName) |
int |
getDefaultTableColumnValuesCount(long companyId,
String className,
String columnName) |
ExpandoValue |
getExpandoValue(long valueId)
Returns the expando value with the primary key.
|
List<ExpandoValue> |
getExpandoValues(int start,
int end)
Returns a range of all the expando values.
|
int |
getExpandoValuesCount()
Returns the number of expando values.
|
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
Class<ExpandoValue> |
getModelClass() |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj) |
List<ExpandoValue> |
getRowValues(long rowId) |
List<ExpandoValue> |
getRowValues(long rowId,
int start,
int end) |
List<ExpandoValue> |
getRowValues(long companyId,
long classNameId,
String tableName,
long classPK,
int start,
int end) |
List<ExpandoValue> |
getRowValues(long companyId,
String className,
String tableName,
long classPK,
int start,
int end) |
int |
getRowValuesCount(long rowId) |
int |
getRowValuesCount(long companyId,
long classNameId,
String tableName,
long classPK) |
int |
getRowValuesCount(long companyId,
String className,
String tableName,
long classPK) |
ExpandoValue |
getValue(long valueId) |
ExpandoValue |
getValue(long columnId,
long rowId) |
ExpandoValue |
getValue(long tableId,
long columnId,
long classPK) |
ExpandoValue |
getValue(long companyId,
long classNameId,
String tableName,
String columnName,
long classPK) |
ExpandoValue |
getValue(long companyId,
String className,
String tableName,
String columnName,
long classPK) |
ExpandoValue |
updateExpandoValue(ExpandoValue expandoValue)
Updates the expando value in the database or adds it if it does not yet exist.
|
<R,E extends Throwable> |
updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<ExpandoValue>,R,E> updateUnsafeFunction) |
getBasePersistence
@Indexable(type=REINDEX) ExpandoValue addExpandoValue(ExpandoValue expandoValue)
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.
expandoValue
- the expando valueExpandoValue addValue(long classNameId, long tableId, long columnId, long classPK, String data) throws PortalException
PortalException
ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, boolean data) throws PortalException
PortalException
ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, boolean[] data) throws PortalException
PortalException
ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, Date data) throws PortalException
PortalException
ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, Date[] data) throws PortalException
PortalException
ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, double data) throws PortalException
PortalException
ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, double[] data) throws PortalException
PortalException
ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, float data) throws PortalException
PortalException
ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, float[] data) throws PortalException
PortalException
ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, int data) throws PortalException
PortalException
ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, int[] data) throws PortalException
PortalException
ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, JSONObject data) throws PortalException
PortalException
ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, long data) throws PortalException
PortalException
ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, long[] data) throws PortalException
PortalException
ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, Map<Locale,?> dataMap, Locale defautlLocale) throws PortalException
PortalException
ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, Number data) throws PortalException
PortalException
ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, Number[] data) throws PortalException
PortalException
ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, Object data) throws PortalException
PortalException
ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, short data) throws PortalException
PortalException
ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, short[] data) throws PortalException
PortalException
ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, String data) throws PortalException
PortalException
ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, String[] data) throws PortalException
PortalException
void addValues(long classNameId, long tableId, List<ExpandoColumn> columns, long classPK, Map<String,String> data) throws PortalException
PortalException
void addValues(long companyId, long classNameId, String tableName, long classPK, Map<String,Serializable> attributes) throws PortalException
PortalException
void addValues(long companyId, String className, String tableName, long classPK, Map<String,Serializable> attributes) throws PortalException
PortalException
@Transactional(enabled=false) ExpandoValue createExpandoValue(long valueId)
valueId
- the primary key for the new expando valuePersistedModel createPersistedModel(Serializable primaryKeyObj) throws PortalException
createPersistedModel
in interface PersistedModelLocalService
PortalException
void deleteColumnValues(long columnId)
@Indexable(type=DELETE) ExpandoValue deleteExpandoValue(ExpandoValue expandoValue)
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.
expandoValue
- the expando value@Indexable(type=DELETE) ExpandoValue deleteExpandoValue(long valueId) throws PortalException
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.
valueId
- the primary key of the expando valuePortalException
- if a expando value with the primary key could not be foundPersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel
in interface PersistedModelLocalService
PortalException
void deleteRowValues(long rowId)
void deleteTableValues(long tableId)
void deleteValue(ExpandoValue value)
void deleteValue(long valueId) throws PortalException
PortalException
void deleteValue(long columnId, long rowId) throws PortalException
PortalException
void deleteValue(long companyId, long classNameId, String tableName, String columnName, long classPK) throws PortalException
PortalException
void deleteValue(long companyId, String className, String tableName, String columnName, long classPK) throws PortalException
PortalException
void deleteValues(long classNameId, long classPK)
void deleteValues(String className, long classPK)
@Transactional(propagation=SUPPORTS, readOnly=true) <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
@Transactional(propagation=SUPPORTS, readOnly=true) DynamicQuery dynamicQuery()
@Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic query@Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.portlet.expando.model.impl.ExpandoValueModelImpl
.
dynamicQuery
- the dynamic querystart
- the lower bound of the range of model instancesend
- the upper bound of the range of model instances (not inclusive)@Transactional(propagation=SUPPORTS, readOnly=true) <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.portlet.expando.model.impl.ExpandoValueModelImpl
.
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 (optionally null
)@Transactional(propagation=SUPPORTS, readOnly=true) long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQuery
- the dynamic query@Transactional(propagation=SUPPORTS, readOnly=true) long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query@Transactional(propagation=SUPPORTS, readOnly=true) ExpandoValue fetchExpandoValue(long valueId)
@Transactional(propagation=SUPPORTS, readOnly=true) ActionableDynamicQuery getActionableDynamicQuery()
@Transactional(propagation=SUPPORTS, readOnly=true) List<ExpandoValue> getColumnValues(long columnId, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) List<ExpandoValue> getColumnValues(long companyId, long classNameId, String tableName, String columnName, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) List<ExpandoValue> getColumnValues(long companyId, long classNameId, String tableName, String columnName, String data, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) List<ExpandoValue> getColumnValues(long companyId, String className, String tableName, String columnName, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) List<ExpandoValue> getColumnValues(long companyId, String className, String tableName, String columnName, String data, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) int getColumnValuesCount(long columnId)
@Transactional(propagation=SUPPORTS, readOnly=true) int getColumnValuesCount(long companyId, long classNameId, String tableName, String columnName)
@Transactional(propagation=SUPPORTS, readOnly=true) int getColumnValuesCount(long companyId, long classNameId, String tableName, String columnName, String data)
@Transactional(propagation=SUPPORTS, readOnly=true) int getColumnValuesCount(long companyId, String className, String tableName, String columnName)
@Transactional(propagation=SUPPORTS, readOnly=true) int getColumnValuesCount(long companyId, String className, String tableName, String columnName, String data)
@Transactional(propagation=SUPPORTS, readOnly=true) Map<String,Serializable> getData(long companyId, String className, String tableName, Collection<String> columnNames, long classPK) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) Serializable getData(long companyId, String className, String tableName, String columnName, long classPK) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) boolean getData(long companyId, String className, String tableName, String columnName, long classPK, boolean defaultData) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) boolean[] getData(long companyId, String className, String tableName, String columnName, long classPK, boolean[] defaultData) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) Date getData(long companyId, String className, String tableName, String columnName, long classPK, Date defaultData) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) Date[] getData(long companyId, String className, String tableName, String columnName, long classPK, Date[] defaultData) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) double getData(long companyId, String className, String tableName, String columnName, long classPK, double defaultData) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) double[] getData(long companyId, String className, String tableName, String columnName, long classPK, double[] defaultData) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) float getData(long companyId, String className, String tableName, String columnName, long classPK, float defaultData) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) float[] getData(long companyId, String className, String tableName, String columnName, long classPK, float[] defaultData) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int getData(long companyId, String className, String tableName, String columnName, long classPK, int defaultData) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) int[] getData(long companyId, String className, String tableName, String columnName, long classPK, int[] defaultData) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) JSONObject getData(long companyId, String className, String tableName, String columnName, long classPK, JSONObject defaultData) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) long getData(long companyId, String className, String tableName, String columnName, long classPK, long defaultData) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) long[] getData(long companyId, String className, String tableName, String columnName, long classPK, long[] defaultData) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) Map<?,?> getData(long companyId, String className, String tableName, String columnName, long classPK, Map<?,?> defaultData) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) Number getData(long companyId, String className, String tableName, String columnName, long classPK, Number defaultData) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) Number[] getData(long companyId, String className, String tableName, String columnName, long classPK, Number[] defaultData) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) short getData(long companyId, String className, String tableName, String columnName, long classPK, short defaultData) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) short[] getData(long companyId, String className, String tableName, String columnName, long classPK, short[] defaultData) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) String getData(long companyId, String className, String tableName, String columnName, long classPK, String defaultData) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) String[] getData(long companyId, String className, String tableName, String columnName, long classPK, String[] defaultData) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<ExpandoValue> getDefaultTableColumnValues(long companyId, long classNameId, String columnName, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) List<ExpandoValue> getDefaultTableColumnValues(long companyId, String className, String columnName, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) int getDefaultTableColumnValuesCount(long companyId, long classNameId, String columnName)
@Transactional(propagation=SUPPORTS, readOnly=true) int getDefaultTableColumnValuesCount(long companyId, String className, String columnName)
@Transactional(propagation=SUPPORTS, readOnly=true) ExpandoValue getExpandoValue(long valueId) throws PortalException
valueId
- the primary key of the expando valuePortalException
- if a expando value with the primary key could not be found@Transactional(propagation=SUPPORTS, readOnly=true) List<ExpandoValue> getExpandoValues(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from com.liferay.portlet.expando.model.impl.ExpandoValueModelImpl
.
start
- the lower bound of the range of expando valuesend
- the upper bound of the range of expando values (not inclusive)@Transactional(propagation=SUPPORTS, readOnly=true) int getExpandoValuesCount()
@Transactional(propagation=SUPPORTS, readOnly=true) IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS, readOnly=true) PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException
getPersistedModel
in interface PersistedModelLocalService
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) List<ExpandoValue> getRowValues(long rowId)
@Transactional(propagation=SUPPORTS, readOnly=true) List<ExpandoValue> getRowValues(long rowId, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) List<ExpandoValue> getRowValues(long companyId, long classNameId, String tableName, long classPK, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) List<ExpandoValue> getRowValues(long companyId, String className, String tableName, long classPK, int start, int end)
@Transactional(propagation=SUPPORTS, readOnly=true) int getRowValuesCount(long rowId)
@Transactional(propagation=SUPPORTS, readOnly=true) int getRowValuesCount(long companyId, long classNameId, String tableName, long classPK)
@Transactional(propagation=SUPPORTS, readOnly=true) int getRowValuesCount(long companyId, String className, String tableName, long classPK)
@Transactional(propagation=SUPPORTS, readOnly=true) ExpandoValue getValue(long valueId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) ExpandoValue getValue(long columnId, long rowId) throws PortalException
PortalException
@Transactional(propagation=SUPPORTS, readOnly=true) ExpandoValue getValue(long tableId, long columnId, long classPK)
@Transactional(propagation=SUPPORTS, readOnly=true) ExpandoValue getValue(long companyId, long classNameId, String tableName, String columnName, long classPK)
@Transactional(propagation=SUPPORTS, readOnly=true) ExpandoValue getValue(long companyId, String className, String tableName, String columnName, long classPK)
@Indexable(type=REINDEX) ExpandoValue updateExpandoValue(ExpandoValue expandoValue)
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.
expandoValue
- the expando value@Transactional(enabled=false) CTPersistence<ExpandoValue> getCTPersistence()
getCTPersistence
in interface CTService<ExpandoValue>
@Transactional(enabled=false) Class<ExpandoValue> getModelClass()
getModelClass
in interface CTService<ExpandoValue>
@Transactional(rollbackFor=java.lang.Throwable.class) <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<CTPersistence<ExpandoValue>,R,E> updateUnsafeFunction) throws E extends Throwable
updateWithUnsafeFunction
in interface CTService<ExpandoValue>
E extends Throwable