Class ExpandoTableLocalServiceImpl
Object
com.liferay.portal.kernel.service.BaseLocalServiceImpl
com.liferay.portlet.expando.service.base.ExpandoTableLocalServiceBaseImpl
com.liferay.portlet.expando.service.impl.ExpandoTableLocalServiceImpl
- All Implemented Interfaces:
com.liferay.expando.kernel.service.ExpandoTableLocalService
,com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
,com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.change.tracking.CTService<com.liferay.expando.kernel.model.ExpandoTable>
,com.liferay.portal.kernel.service.PersistedModelLocalService
@CTAware(onProduction=true)
public class ExpandoTableLocalServiceImpl
extends ExpandoTableLocalServiceBaseImpl
- Author:
- Raymond Augé, Brian Wing Shun Chan
-
Field Summary
Fields inherited from class com.liferay.portlet.expando.service.base.ExpandoTableLocalServiceBaseImpl
counterLocalService, expandoTableLocalService, expandoTablePersistence
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.liferay.expando.kernel.model.ExpandoTable
addDefaultTable
(long companyId, long classNameId) com.liferay.expando.kernel.model.ExpandoTable
addDefaultTable
(long companyId, String className) com.liferay.expando.kernel.model.ExpandoTable
com.liferay.expando.kernel.model.ExpandoTable
com.liferay.expando.kernel.model.ExpandoTable
deleteExpandoTable
(com.liferay.expando.kernel.model.ExpandoTable expandoTable) Deletes the expando table from the database.void
deleteTable
(long tableId) void
deleteTable
(long companyId, long classNameId, String name) void
deleteTable
(long companyId, String className, String name) void
deleteTable
(com.liferay.expando.kernel.model.ExpandoTable table) void
deleteTables
(long companyId, long classNameId) void
deleteTables
(long companyId, String className) com.liferay.expando.kernel.model.ExpandoTable
fetchDefaultTable
(long companyId, long classNameId) com.liferay.expando.kernel.model.ExpandoTable
fetchDefaultTable
(long companyId, String className) com.liferay.expando.kernel.model.ExpandoTable
fetchTable
(long companyId, long classNameId, String name) com.liferay.expando.kernel.model.ExpandoTable
getDefaultTable
(long companyId, long classNameId) com.liferay.expando.kernel.model.ExpandoTable
getDefaultTable
(long companyId, String className) com.liferay.expando.kernel.model.ExpandoTable
getTable
(long tableId) com.liferay.expando.kernel.model.ExpandoTable
com.liferay.expando.kernel.model.ExpandoTable
List<com.liferay.expando.kernel.model.ExpandoTable>
getTables
(long companyId, long classNameId) List<com.liferay.expando.kernel.model.ExpandoTable>
com.liferay.expando.kernel.model.ExpandoTable
updateTable
(long tableId, String name) protected void
Methods inherited from class com.liferay.portlet.expando.service.base.ExpandoTableLocalServiceBaseImpl
addExpandoTable, afterPropertiesSet, createExpandoTable, createPersistedModel, deleteExpandoTable, deletePersistedModel, destroy, dslQuery, dslQueryCount, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchExpandoTable, getActionableDynamicQuery, getBasePersistence, getCounterLocalService, getCTPersistence, getExpandoTable, getExpandoTableLocalService, getExpandoTablePersistence, getExpandoTables, getExpandoTablesCount, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, initActionableDynamicQuery, runSQL, setCounterLocalService, setExpandoTableLocalService, setExpandoTablePersistence, updateExpandoTable, updateWithUnsafeFunction
Methods inherited from class com.liferay.portal.kernel.service.BaseLocalServiceImpl
getClassLoader, getLocalizationMap
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
ExpandoTableLocalServiceImpl
public ExpandoTableLocalServiceImpl()
-
-
Method Details
-
addDefaultTable
public com.liferay.expando.kernel.model.ExpandoTable addDefaultTable(long companyId, long classNameId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addDefaultTable
public com.liferay.expando.kernel.model.ExpandoTable addDefaultTable(long companyId, String className) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addTable
public com.liferay.expando.kernel.model.ExpandoTable addTable(long companyId, long classNameId, String name) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
addTable
public com.liferay.expando.kernel.model.ExpandoTable addTable(long companyId, String className, String name) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteExpandoTable
public com.liferay.expando.kernel.model.ExpandoTable deleteExpandoTable(com.liferay.expando.kernel.model.ExpandoTable expandoTable) throws com.liferay.portal.kernel.exception.PortalException Description copied from class:ExpandoTableLocalServiceBaseImpl
Deletes the expando table from the database. Also notifies the appropriate model listeners.Important: Inspect ExpandoTableLocalServiceImpl 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.
- Specified by:
deleteExpandoTable
in interfacecom.liferay.expando.kernel.service.ExpandoTableLocalService
- Overrides:
deleteExpandoTable
in classExpandoTableLocalServiceBaseImpl
- Parameters:
expandoTable
- the expando table- Returns:
- the expando table that was removed
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteTable
public void deleteTable(com.liferay.expando.kernel.model.ExpandoTable table) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteTable
public void deleteTable(long tableId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteTable
public void deleteTable(long companyId, long classNameId, String name) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteTable
public void deleteTable(long companyId, String className, String name) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteTables
public void deleteTables(long companyId, long classNameId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteTables
public void deleteTables(long companyId, String className) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchDefaultTable
public com.liferay.expando.kernel.model.ExpandoTable fetchDefaultTable(long companyId, long classNameId) -
fetchDefaultTable
public com.liferay.expando.kernel.model.ExpandoTable fetchDefaultTable(long companyId, String className) -
fetchTable
public com.liferay.expando.kernel.model.ExpandoTable fetchTable(long companyId, long classNameId, String name) -
getDefaultTable
public com.liferay.expando.kernel.model.ExpandoTable getDefaultTable(long companyId, long classNameId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getDefaultTable
public com.liferay.expando.kernel.model.ExpandoTable getDefaultTable(long companyId, String className) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getTable
public com.liferay.expando.kernel.model.ExpandoTable getTable(long tableId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getTable
public com.liferay.expando.kernel.model.ExpandoTable getTable(long companyId, long classNameId, String name) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getTable
public com.liferay.expando.kernel.model.ExpandoTable getTable(long companyId, String className, String name) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getTables
public List<com.liferay.expando.kernel.model.ExpandoTable> getTables(long companyId, long classNameId) -
getTables
-
updateTable
public com.liferay.expando.kernel.model.ExpandoTable updateTable(long tableId, String name) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
validate
protected void validate(long companyId, long tableId, long classNameId, String name) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-