Class ObjectDefinitionLocalServiceWrapper
- All Implemented Interfaces:
ObjectDefinitionLocalService,com.liferay.portal.kernel.service.BaseLocalService,com.liferay.portal.kernel.service.PersistedModelLocalService,com.liferay.portal.kernel.service.ServiceWrapper<ObjectDefinitionLocalService>
ObjectDefinitionLocalService.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionObjectDefinitionLocalServiceWrapper(ObjectDefinitionLocalService objectDefinitionLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddCustomObjectDefinition(long userId, long objectFolderId, String className, boolean enableComments, boolean enableFriendlyURLCustomization, boolean enableIndexSearch, boolean enableLocalization, boolean enableObjectEntryDraft, Map<Locale, String> labelMap, String name, String panelAppOrder, String panelCategoryKey, Map<Locale, String> pluralLabelMap, boolean portlet, String scope, String storageType, List<ObjectField> objectFields) addObjectDefinition(ObjectDefinition objectDefinition) Adds the object definition to the database.addObjectDefinition(String externalReferenceCode, long userId, long objectFolderId, boolean modifiable, String scope, boolean system) addOrUpdateSystemObjectDefinition(long companyId, long objectFolderId, SystemObjectDefinitionManager systemObjectDefinitionManager) addSystemObjectDefinition(String externalReferenceCode, long userId, long objectFolderId, String className, String dbTableName, boolean enableComments, boolean enableFriendlyURLCustomization, boolean enableIndexSearch, boolean enableLocalization, Map<Locale, String> labelMap, boolean modifiable, String name, String panelAppOrder, String panelCategoryKey, String pkObjectFieldDBColumnName, String pkObjectFieldName, Map<Locale, String> pluralLabelMap, boolean portlet, String scope, String titleObjectFieldName, int version, int status, List<ObjectField> objectFields) createObjectDefinition(long objectDefinitionId) Creates a new object definition with the primary key.com.liferay.portal.kernel.model.PersistedModelcreatePersistedModel(Serializable primaryKeyObj) voiddeleteCompanyObjectDefinitions(long companyId) deleteObjectDefinition(long objectDefinitionId) Deletes the object definition with the primary key from the database.deleteObjectDefinition(ObjectDefinition objectDefinition) Deletes the object definition from the database.com.liferay.portal.kernel.model.PersistedModeldeletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) voiddeployInactiveObjectDefinition(ObjectDefinition objectDefinition) voiddeployObjectDefinition(ObjectDefinition objectDefinition) void<T> TdslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) intdslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) com.liferay.portal.kernel.dao.orm.DynamicQuery<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Performs a dynamic query on the database and returns the matching rows.<T> List<T>dynamicQuery(com.liferay.portal.kernel.dao.orm.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(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) Performs a dynamic query on the database and returns an ordered range of the matching rows.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.longdynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.enableAccountEntryRestricted(ObjectRelationship objectRelationship) fetchObjectDefinition(long objectDefinitionId) fetchObjectDefinition(long companyId, String name) fetchObjectDefinitionByClassName(long companyId, String className) fetchObjectDefinitionByExternalReferenceCode(String externalReferenceCode, long companyId) fetchObjectDefinitionByUuidAndCompanyId(String uuid, long companyId) Returns the object definition with the matching UUID and company.fetchSystemObjectDefinition(long companyId, String name) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuerycom.liferay.portal.kernel.service.persistence.BasePersistence<?>getBoundObjectDefinitions(long companyId, long rootObjectDefinitionId) getCustomObjectDefinitions(int status) com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuerygetExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuerygetObjectDefinition(long objectDefinitionId) Returns the object definition with the primary key.getObjectDefinition(long companyId, String name) getObjectDefinitionByExternalReferenceCode(String externalReferenceCode, long companyId) getObjectDefinitionByUuidAndCompanyId(String uuid, long companyId) Returns the object definition with the matching UUID and company.getObjectDefinitions(boolean accountEntryRestricted) getObjectDefinitions(int start, int end) Returns a range of all the object definitions.getObjectDefinitions(long companyId, boolean active, boolean system, int status) getObjectDefinitions(long companyId, boolean active, int status) getObjectDefinitions(long companyId, int status) intReturns the number of object definitions.intgetObjectDefinitionsCount(long companyId) getObjectFolderObjectDefinitions(long objectFolderId) intgetObjectFolderObjectDefinitionsCount(long objectFolderId) Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModelgetPersistedModel(Serializable primaryKeyObj) getUnmodifiableSystemObjectDefinitions(long companyId) booleanhasObjectRelationship(long objectDefinitionId) publishCustomObjectDefinition(long userId, long objectDefinitionId) publishSystemObjectDefinition(long userId, long objectDefinitionId) voidsetWrappedService(ObjectDefinitionLocalService objectDefinitionLocalService) voidundeployObjectDefinition(ObjectDefinition objectDefinition) updateCustomObjectDefinition(String externalReferenceCode, long objectDefinitionId, long accountEntryRestrictedObjectFieldId, long descriptionObjectFieldId, long objectFolderId, long titleObjectFieldId, boolean accountEntryRestricted, boolean active, String className, boolean enableCategorization, boolean enableComments, boolean enableFriendlyURLCustomization, boolean enableIndexSearch, boolean enableLocalization, boolean enableObjectEntryDraft, boolean enableObjectEntryHistory, Map<Locale, String> labelMap, String name, String panelAppOrder, String panelCategoryKey, boolean portlet, Map<Locale, String> pluralLabelMap, String scope, int status) updateExternalReferenceCode(long objectDefinitionId, String externalReferenceCode) updateObjectDefinition(ObjectDefinition objectDefinition) Updates the object definition in the database or adds it if it does not yet exist.updateObjectFolderId(long objectDefinitionId, long objectFolderId) updatePortlet(long objectDefinitionId) updateRootDescendantNodeObjectDefinition(ObjectDefinition objectDefinition, long rootObjectDefinitionId) updateRootObjectDefinitionId(long objectDefinitionId, long rootObjectDefinitionId) updateSystemObjectDefinition(String externalReferenceCode, long objectDefinitionId, long objectFolderId, long titleObjectFieldId) updateTitleObjectFieldId(long objectDefinitionId, long titleObjectFieldId) voidupdateUserId(long companyId, long oldUserId, long newUserId) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.PersistedModelLocalService
fetchPersistedModel
-
Constructor Details
-
ObjectDefinitionLocalServiceWrapper
public ObjectDefinitionLocalServiceWrapper() -
ObjectDefinitionLocalServiceWrapper
public ObjectDefinitionLocalServiceWrapper(ObjectDefinitionLocalService objectDefinitionLocalService)
-
-
Method Details
-
addCustomObjectDefinition
public ObjectDefinition addCustomObjectDefinition(long userId, long objectFolderId, String className, boolean enableComments, boolean enableFriendlyURLCustomization, boolean enableIndexSearch, boolean enableLocalization, boolean enableObjectEntryDraft, Map<Locale, String> labelMap, String name, String panelAppOrder, String panelCategoryKey, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> pluralLabelMap, boolean portlet, String scope, String storageType, List<ObjectField> objectFields) - Specified by:
addCustomObjectDefinitionin interfaceObjectDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addObjectDefinition
Adds the object definition to the database. Also notifies the appropriate model listeners.Important: Inspect ObjectDefinitionLocalServiceImpl 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:
addObjectDefinitionin interfaceObjectDefinitionLocalService- Parameters:
objectDefinition- the object definition- Returns:
- the object definition that was added
-
addObjectDefinition
public ObjectDefinition addObjectDefinition(String externalReferenceCode, long userId, long objectFolderId, boolean modifiable, String scope, boolean system) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addObjectDefinitionin interfaceObjectDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addOrUpdateSystemObjectDefinition
public ObjectDefinition addOrUpdateSystemObjectDefinition(long companyId, long objectFolderId, SystemObjectDefinitionManager systemObjectDefinitionManager) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
addOrUpdateSystemObjectDefinitionin interfaceObjectDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addSystemObjectDefinition
public ObjectDefinition addSystemObjectDefinition(String externalReferenceCode, long userId, long objectFolderId, String className, String dbTableName, boolean enableComments, boolean enableFriendlyURLCustomization, boolean enableIndexSearch, boolean enableLocalization, Map<Locale, String> labelMap, boolean modifiable, String name, String panelAppOrder, String panelCategoryKey, String pkObjectFieldDBColumnName, String pkObjectFieldName, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> pluralLabelMap, boolean portlet, String scope, String titleObjectFieldName, int version, int status, List<ObjectField> objectFields) - Specified by:
addSystemObjectDefinitionin interfaceObjectDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createObjectDefinition
Creates a new object definition with the primary key. Does not add the object definition to the database.- Specified by:
createObjectDefinitionin interfaceObjectDefinitionLocalService- Parameters:
objectDefinitionId- the primary key for the new object definition- Returns:
- the new object definition
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModelin interfaceObjectDefinitionLocalService- Specified by:
createPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
deleteCompanyObjectDefinitions
public void deleteCompanyObjectDefinitions(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteCompanyObjectDefinitionsin interfaceObjectDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteObjectDefinition
public ObjectDefinition deleteObjectDefinition(long objectDefinitionId) throws com.liferay.portal.kernel.exception.PortalException Deletes the object definition with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect ObjectDefinitionLocalServiceImpl 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:
deleteObjectDefinitionin interfaceObjectDefinitionLocalService- Parameters:
objectDefinitionId- the primary key of the object definition- Returns:
- the object definition that was removed
- Throws:
PortalException- if a object definition with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
deleteObjectDefinition
public ObjectDefinition deleteObjectDefinition(ObjectDefinition objectDefinition) throws com.liferay.portal.kernel.exception.PortalException Deletes the object definition from the database. Also notifies the appropriate model listeners.Important: Inspect ObjectDefinitionLocalServiceImpl 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:
deleteObjectDefinitionin interfaceObjectDefinitionLocalService- Parameters:
objectDefinition- the object definition- Returns:
- the object definition that was removed
- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
deletePersistedModel
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deletePersistedModelin interfaceObjectDefinitionLocalService- Specified by:
deletePersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
deployInactiveObjectDefinition
- Specified by:
deployInactiveObjectDefinitionin interfaceObjectDefinitionLocalService
-
deployObjectDefinition
- Specified by:
deployObjectDefinitionin interfaceObjectDefinitionLocalService
-
deployObjectDefinitions
public void deployObjectDefinitions()- Specified by:
deployObjectDefinitionsin interfaceObjectDefinitionLocalService
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryin interfaceObjectDefinitionLocalService- Specified by:
dslQueryin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCountin interfaceObjectDefinitionLocalService- Specified by:
dslQueryCountin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQueryin interfaceObjectDefinitionLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQueryin interfaceObjectDefinitionLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the matching rows
-
dynamicQuery
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectDefinitionModelImpl.- Specified by:
dynamicQueryin interfaceObjectDefinitionLocalService- 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 <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectDefinitionModelImpl.- Specified by:
dynamicQueryin interfaceObjectDefinitionLocalService- 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
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceObjectDefinitionLocalService- Parameters:
dynamicQuery- the dynamic query- Returns:
- the number of rows matching the dynamic query
-
dynamicQueryCount
public long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection) Returns the number of rows matching the dynamic query.- Specified by:
dynamicQueryCountin interfaceObjectDefinitionLocalService- Parameters:
dynamicQuery- the dynamic queryprojection- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
enableAccountEntryRestricted
public ObjectDefinition enableAccountEntryRestricted(ObjectRelationship objectRelationship) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
enableAccountEntryRestrictedin interfaceObjectDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
enableAccountEntryRestrictedForNondefaultStorageType
public ObjectDefinition enableAccountEntryRestrictedForNondefaultStorageType(ObjectField objectField) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
enableAccountEntryRestrictedForNondefaultStorageTypein interfaceObjectDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
fetchObjectDefinition
- Specified by:
fetchObjectDefinitionin interfaceObjectDefinitionLocalService
-
fetchObjectDefinition
- Specified by:
fetchObjectDefinitionin interfaceObjectDefinitionLocalService
-
fetchObjectDefinitionByClassName
- Specified by:
fetchObjectDefinitionByClassNamein interfaceObjectDefinitionLocalService
-
fetchObjectDefinitionByExternalReferenceCode
public ObjectDefinition fetchObjectDefinitionByExternalReferenceCode(String externalReferenceCode, long companyId) - Specified by:
fetchObjectDefinitionByExternalReferenceCodein interfaceObjectDefinitionLocalService
-
fetchObjectDefinitionByUuidAndCompanyId
Returns the object definition with the matching UUID and company.- Specified by:
fetchObjectDefinitionByUuidAndCompanyIdin interfaceObjectDefinitionLocalService- Parameters:
uuid- the object definition's UUIDcompanyId- the primary key of the company- Returns:
- the matching object definition, or
nullif a matching object definition could not be found
-
fetchSystemObjectDefinition
- Specified by:
fetchSystemObjectDefinitionin interfaceObjectDefinitionLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQueryin interfaceObjectDefinitionLocalService
-
getBoundObjectDefinitions
public List<ObjectDefinition> getBoundObjectDefinitions(long companyId, long rootObjectDefinitionId) - Specified by:
getBoundObjectDefinitionsin interfaceObjectDefinitionLocalService
-
getCustomObjectDefinitions
- Specified by:
getCustomObjectDefinitionsin interfaceObjectDefinitionLocalService
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQueryin interfaceObjectDefinitionLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQueryin interfaceObjectDefinitionLocalService
-
getObjectDefinition
public ObjectDefinition getObjectDefinition(long objectDefinitionId) throws com.liferay.portal.kernel.exception.PortalException Returns the object definition with the primary key.- Specified by:
getObjectDefinitionin interfaceObjectDefinitionLocalService- Parameters:
objectDefinitionId- the primary key of the object definition- Returns:
- the object definition
- Throws:
PortalException- if a object definition with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getObjectDefinition
public ObjectDefinition getObjectDefinition(long companyId, String name) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getObjectDefinitionin interfaceObjectDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getObjectDefinitionByExternalReferenceCode
public ObjectDefinition getObjectDefinitionByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getObjectDefinitionByExternalReferenceCodein interfaceObjectDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getObjectDefinitionByUuidAndCompanyId
public ObjectDefinition getObjectDefinitionByUuidAndCompanyId(String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException Returns the object definition with the matching UUID and company.- Specified by:
getObjectDefinitionByUuidAndCompanyIdin interfaceObjectDefinitionLocalService- Parameters:
uuid- the object definition's UUIDcompanyId- the primary key of the company- Returns:
- the matching object definition
- Throws:
PortalException- if a matching object definition could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getObjectDefinitions
- Specified by:
getObjectDefinitionsin interfaceObjectDefinitionLocalService
-
getObjectDefinitions
Returns a range of all the object definitions.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.object.model.impl.ObjectDefinitionModelImpl.- Specified by:
getObjectDefinitionsin interfaceObjectDefinitionLocalService- Parameters:
start- the lower bound of the range of object definitionsend- the upper bound of the range of object definitions (not inclusive)- Returns:
- the range of object definitions
-
getObjectDefinitions
public List<ObjectDefinition> getObjectDefinitions(long companyId, boolean active, boolean system, int status) - Specified by:
getObjectDefinitionsin interfaceObjectDefinitionLocalService
-
getObjectDefinitions
- Specified by:
getObjectDefinitionsin interfaceObjectDefinitionLocalService
-
getObjectDefinitions
- Specified by:
getObjectDefinitionsin interfaceObjectDefinitionLocalService
-
getObjectDefinitionsCount
public int getObjectDefinitionsCount()Returns the number of object definitions.- Specified by:
getObjectDefinitionsCountin interfaceObjectDefinitionLocalService- Returns:
- the number of object definitions
-
getObjectDefinitionsCount
public int getObjectDefinitionsCount(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getObjectDefinitionsCountin interfaceObjectDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getObjectFolderObjectDefinitions
- Specified by:
getObjectFolderObjectDefinitionsin interfaceObjectDefinitionLocalService
-
getObjectFolderObjectDefinitionsCount
public int getObjectFolderObjectDefinitionsCount(long objectFolderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getObjectFolderObjectDefinitionsCountin interfaceObjectDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifierin interfaceObjectDefinitionLocalService- Returns:
- the OSGi service identifier
-
getPersistedModel
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getPersistedModelin interfaceObjectDefinitionLocalService- Specified by:
getPersistedModelin interfacecom.liferay.portal.kernel.service.PersistedModelLocalService- Throws:
PortalExceptioncom.liferay.portal.kernel.exception.PortalException
-
getSystemObjectDefinitions
- Specified by:
getSystemObjectDefinitionsin interfaceObjectDefinitionLocalService
-
getUnmodifiableSystemObjectDefinitions
- Specified by:
getUnmodifiableSystemObjectDefinitionsin interfaceObjectDefinitionLocalService
-
hasObjectRelationship
public boolean hasObjectRelationship(long objectDefinitionId) - Specified by:
hasObjectRelationshipin interfaceObjectDefinitionLocalService
-
publishCustomObjectDefinition
public ObjectDefinition publishCustomObjectDefinition(long userId, long objectDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
publishCustomObjectDefinitionin interfaceObjectDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
publishSystemObjectDefinition
public ObjectDefinition publishSystemObjectDefinition(long userId, long objectDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
publishSystemObjectDefinitionin interfaceObjectDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
undeployObjectDefinition
- Specified by:
undeployObjectDefinitionin interfaceObjectDefinitionLocalService
-
updateCustomObjectDefinition
public ObjectDefinition updateCustomObjectDefinition(String externalReferenceCode, long objectDefinitionId, long accountEntryRestrictedObjectFieldId, long descriptionObjectFieldId, long objectFolderId, long titleObjectFieldId, boolean accountEntryRestricted, boolean active, String className, boolean enableCategorization, boolean enableComments, boolean enableFriendlyURLCustomization, boolean enableIndexSearch, boolean enableLocalization, boolean enableObjectEntryDraft, boolean enableObjectEntryHistory, Map<Locale, String> labelMap, String name, String panelAppOrder, String panelCategoryKey, boolean portlet, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> pluralLabelMap, String scope, int status) - Specified by:
updateCustomObjectDefinitionin interfaceObjectDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateExternalReferenceCode
public ObjectDefinition updateExternalReferenceCode(long objectDefinitionId, String externalReferenceCode) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateExternalReferenceCodein interfaceObjectDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateObjectDefinition
Updates the object definition in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect ObjectDefinitionLocalServiceImpl 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:
updateObjectDefinitionin interfaceObjectDefinitionLocalService- Parameters:
objectDefinition- the object definition- Returns:
- the object definition that was updated
-
updateObjectFolderId
public ObjectDefinition updateObjectFolderId(long objectDefinitionId, long objectFolderId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateObjectFolderIdin interfaceObjectDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updatePortlet
public ObjectDefinition updatePortlet(long objectDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updatePortletin interfaceObjectDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateRootDescendantNodeObjectDefinition
public ObjectDefinition updateRootDescendantNodeObjectDefinition(ObjectDefinition objectDefinition, long rootObjectDefinitionId) - Specified by:
updateRootDescendantNodeObjectDefinitionin interfaceObjectDefinitionLocalService
-
updateRootObjectDefinitionId
public ObjectDefinition updateRootObjectDefinitionId(long objectDefinitionId, long rootObjectDefinitionId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateRootObjectDefinitionIdin interfaceObjectDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateSystemObjectDefinition
public ObjectDefinition updateSystemObjectDefinition(String externalReferenceCode, long objectDefinitionId, long objectFolderId, long titleObjectFieldId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateSystemObjectDefinitionin interfaceObjectDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateTitleObjectFieldId
public ObjectDefinition updateTitleObjectFieldId(long objectDefinitionId, long titleObjectFieldId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateTitleObjectFieldIdin interfaceObjectDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateUserId
public void updateUserId(long companyId, long oldUserId, long newUserId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateUserIdin interfaceObjectDefinitionLocalService- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistencein interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getWrappedService
- Specified by:
getWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<ObjectDefinitionLocalService>
-
setWrappedService
- Specified by:
setWrappedServicein interfacecom.liferay.portal.kernel.service.ServiceWrapper<ObjectDefinitionLocalService>
-