Liferay 7.0-ce-b4

com.liferay.portlet.expando.service
Class ExpandoValueLocalServiceUtil

java.lang.Object
  extended by com.liferay.portlet.expando.service.ExpandoValueLocalServiceUtil

@ProviderType
public class ExpandoValueLocalServiceUtil
extends Object

Provides the local service utility for ExpandoValue. This utility wraps ExpandoValueLocalServiceImpl and is the primary 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.

See Also:
ExpandoValueLocalService, ExpandoValueLocalServiceBaseImpl, ExpandoValueLocalServiceImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
ExpandoValueLocalServiceUtil()
           
 
Method Summary
static ExpandoValue addExpandoValue(ExpandoValue expandoValue)
          Adds the expando value to the database.
static ExpandoValue addValue(long classNameId, long tableId, long columnId, long classPK, String 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, boolean[] 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, 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, Map<Locale,?> dataMap, Locale defautlLocale)
           
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, 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, String data)
           
static ExpandoValue addValue(long companyId, String className, String tableName, String columnName, long classPK, String[] data)
           
static void addValues(long classNameId, long tableId, List<ExpandoColumn> columns, long classPK, Map<String,String> data)
           
static void addValues(long companyId, long classNameId, String tableName, long classPK, Map<String,Serializable> attributes)
           
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 void deleteColumnValues(long columnId)
           
static ExpandoValue deleteExpandoValue(ExpandoValue expandoValue)
          Deletes the expando value from the database.
static ExpandoValue deleteExpandoValue(long valueId)
          Deletes the expando value with the primary key from the database.
static PersistedModel deletePersistedModel(PersistedModel persistedModel)
           
static void deleteRowValues(long rowId)
           
static void deleteTableValues(long tableId)
           
static void deleteValue(ExpandoValue value)
           
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 deleteValues(long classNameId, long classPK)
           
static void deleteValues(String className, long classPK)
           
static DynamicQuery 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 getActionableDynamicQuery()
           
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 Map<String,Serializable> getData(long companyId, String className, String tableName, Collection<String> columnNames, long classPK)
           
static Serializable getData(long companyId, String className, String tableName, String columnName, long classPK)
           
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 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 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 Map<?,?> getData(long companyId, String className, String tableName, String columnName, long classPK, Map<?,?> defaultData)
           
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 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 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 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 getExpandoValuesCount()
          Returns the number of expando values.
static IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
           
static String getOSGiServiceIdentifier()
          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 getService()
           
static ExpandoValue getValue(long valueId)
           
static ExpandoValue getValue(long columnId, long rowId)
           
static ExpandoValue getValue(long tableId, long columnId, long classPK)
           
static ExpandoValue getValue(long companyId, long classNameId, String tableName, String columnName, long classPK)
           
static ExpandoValue getValue(long companyId, String className, String tableName, String columnName, long classPK)
           
static ExpandoValue updateExpandoValue(ExpandoValue expandoValue)
          Updates the expando value in the database or adds it if it does not yet exist.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExpandoValueLocalServiceUtil

public ExpandoValueLocalServiceUtil()
Method Detail

addExpandoValue

public static ExpandoValue addExpandoValue(ExpandoValue expandoValue)
Adds the expando value to the database. Also notifies the appropriate model listeners.

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,
                                    short 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,
                                    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,
                                    Number[] 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,
                                    long[] 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,
                                    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,
                                    String 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,
                                    Object 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,
                                    Number 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,
                                    String[] 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,
                                    Map<Locale,?> dataMap,
                                    Locale defautlLocale)
                             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,
                             String className,
                             String tableName,
                             long classPK,
                             Map<String,Serializable> attributes)
                      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

createExpandoValue

public static ExpandoValue createExpandoValue(long valueId)
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

deleteColumnValues

public static void deleteColumnValues(long columnId)

deleteExpandoValue

public static ExpandoValue deleteExpandoValue(ExpandoValue expandoValue)
Deletes the expando value from the database. Also notifies the appropriate model listeners.

Parameters:
expandoValue - the expando value
Returns:
the expando value that was removed

deleteExpandoValue

public static ExpandoValue deleteExpandoValue(long valueId)
                                       throws PortalException
Deletes the expando value with the primary key from the database. Also notifies the appropriate model listeners.

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

public static void deleteValue(long columnId,
                               long rowId)
                        throws PortalException
Throws:
PortalException

deleteValue

public static void deleteValue(long companyId,
                               String className,
                               String tableName,
                               String columnName,
                               long classPK)
                        throws PortalException
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(ExpandoValue value)

deleteValue

public static void deleteValue(long valueId)
                        throws PortalException
Throws:
PortalException

deleteValues

public static void deleteValues(String className,
                                long classPK)

deleteValues

public static void deleteValues(long classNameId,
                                long classPK)

dynamicQuery

public static DynamicQuery dynamicQuery()

dynamicQuery

public static <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.

Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows

dynamicQuery

public 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.

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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ExpandoValueModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - 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 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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ExpandoValueModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching rows

dynamicQueryCount

public static long dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.

Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows matching the dynamic query

dynamicQueryCount

public static long dynamicQueryCount(DynamicQuery dynamicQuery,
                                     Projection projection)
Returns the number of rows matching the dynamic query.

Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows matching the dynamic query

fetchExpandoValue

public static ExpandoValue fetchExpandoValue(long valueId)

getActionableDynamicQuery

public static ActionableDynamicQuery getActionableDynamicQuery()

getColumnValues

public static List<ExpandoValue> getColumnValues(long columnId,
                                                 int start,
                                                 int end)

getColumnValues

public static List<ExpandoValue> getColumnValues(long companyId,
                                                 String className,
                                                 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

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,
                                                 long classNameId,
                                                 String tableName,
                                                 String columnName,
                                                 int start,
                                                 int end)

getColumnValuesCount

public static int getColumnValuesCount(long columnId)

getColumnValuesCount

public static int getColumnValuesCount(long companyId,
                                       String className,
                                       String tableName,
                                       String columnName)

getColumnValuesCount

public static int getColumnValuesCount(long companyId,
                                       String className,
                                       String tableName,
                                       String columnName,
                                       String data)

getColumnValuesCount

public static int getColumnValuesCount(long companyId,
                                       long classNameId,
                                       String tableName,
                                       String columnName)

getColumnValuesCount

public static int getColumnValuesCount(long companyId,
                                       long classNameId,
                                       String tableName,
                                       String columnName,
                                       String data)

getData

public static Serializable getData(long companyId,
                                   String className,
                                   String tableName,
                                   String columnName,
                                   long classPK)
                            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 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 double[] getData(long companyId,
                               String className,
                               String tableName,
                               String columnName,
                               long classPK,
                               double[] 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 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 Map<?,?> getData(long companyId,
                               String className,
                               String tableName,
                               String columnName,
                               long classPK,
                               Map<?,?> 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 short[] getData(long companyId,
                              String className,
                              String tableName,
                              String columnName,
                              long classPK,
                              short[] 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 boolean[] getData(long companyId,
                                String className,
                                String tableName,
                                String columnName,
                                long classPK,
                                boolean[] 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 long getData(long companyId,
                           String className,
                           String tableName,
                           String columnName,
                           long classPK,
                           long 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 Date getData(long companyId,
                           String className,
                           String tableName,
                           String columnName,
                           long classPK,
                           Date 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 Number getData(long companyId,
                             String className,
                             String tableName,
                             String columnName,
                             long classPK,
                             Number defaultData)
                      throws PortalException
Throws:
PortalException

getData

public static Map<String,Serializable> getData(long companyId,
                                               String className,
                                               String tableName,
                                               Collection<String> columnNames,
                                               long classPK)
                                        throws PortalException
Throws:
PortalException

getDefaultTableColumnValues

public static List<ExpandoValue> getDefaultTableColumnValues(long companyId,
                                                             String className,
                                                             String columnName,
                                                             int start,
                                                             int end)

getDefaultTableColumnValues

public static List<ExpandoValue> getDefaultTableColumnValues(long companyId,
                                                             long classNameId,
                                                             String columnName,
                                                             int start,
                                                             int end)

getDefaultTableColumnValuesCount

public static int getDefaultTableColumnValuesCount(long companyId,
                                                   String className,
                                                   String columnName)

getDefaultTableColumnValuesCount

public static int getDefaultTableColumnValuesCount(long companyId,
                                                   long classNameId,
                                                   String columnName)

getExpandoValue

public static ExpandoValue getExpandoValue(long valueId)
                                    throws PortalException
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

public static List<ExpandoValue> getExpandoValues(int start,
                                                  int end)
Returns a range of all the expando values.

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 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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ExpandoValueModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

Parameters:
start - the lower bound of the range of expando values
end - 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

public static IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()

getOSGiServiceIdentifier

public static String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Returns:
the OSGi service identifier

getPersistedModel

public static PersistedModel getPersistedModel(Serializable primaryKeyObj)
                                        throws PortalException
Throws:
PortalException

getRowValues

public static List<ExpandoValue> getRowValues(long companyId,
                                              String className,
                                              String tableName,
                                              long classPK,
                                              int start,
                                              int end)

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 rowId)

getRowValues

public static List<ExpandoValue> getRowValues(long rowId,
                                              int start,
                                              int end)

getRowValuesCount

public static int getRowValuesCount(long companyId,
                                    String className,
                                    String tableName,
                                    long classPK)

getRowValuesCount

public static int getRowValuesCount(long companyId,
                                    long classNameId,
                                    String tableName,
                                    long classPK)

getRowValuesCount

public static int getRowValuesCount(long rowId)

getValue

public static ExpandoValue getValue(long columnId,
                                    long rowId)
                             throws PortalException
Throws:
PortalException

getValue

public static ExpandoValue getValue(long companyId,
                                    String className,
                                    String tableName,
                                    String columnName,
                                    long classPK)

getValue

public static ExpandoValue getValue(long companyId,
                                    long classNameId,
                                    String tableName,
                                    String columnName,
                                    long classPK)

getValue

public static ExpandoValue getValue(long tableId,
                                    long columnId,
                                    long classPK)

getValue

public static ExpandoValue getValue(long valueId)
                             throws PortalException
Throws:
PortalException

updateExpandoValue

public static ExpandoValue updateExpandoValue(ExpandoValue expandoValue)
Updates the expando value in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Parameters:
expandoValue - the expando value
Returns:
the expando value that was updated

getService

public static ExpandoValueLocalService getService()

Liferay 7.0-ce-b4