Class DDMStructureLocalServiceWrapper
- All Implemented Interfaces:
DDMStructureLocalService
,com.liferay.portal.kernel.service.BaseLocalService
,com.liferay.portal.kernel.service.change.tracking.CTService<DDMStructure>
,com.liferay.portal.kernel.service.PersistedModelLocalService
,com.liferay.portal.kernel.service.ServiceWrapper<DDMStructureLocalService>
DDMStructureLocalService
.- See Also:
- Generated:
-
Constructor Summary
ConstructorsConstructorDescriptionDDMStructureLocalServiceWrapper
(DDMStructureLocalService ddmStructureLocalService) -
Method Summary
Modifier and TypeMethodDescriptionaddDDMStructure
(DDMStructure ddmStructure) Adds the ddm structure to the database.addStructure
(long userId, long groupId, long classNameId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, DDMForm ddmForm, DDMFormLayout ddmFormLayout, String storageType, com.liferay.portal.kernel.service.ServiceContext serviceContext) addStructure
(long userId, long groupId, String parentStructureKey, long classNameId, String structureKey, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, DDMForm ddmForm, DDMFormLayout ddmFormLayout, String storageType, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) addStructure
(String externalReferenceCode, long userId, long groupId, long parentStructureId, long classNameId, String structureKey, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, DDMForm ddmForm, DDMFormLayout ddmFormLayout, String storageType, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) addStructure
(String externalReferenceCode, long userId, long groupId, long parentStructureId, long classNameId, String structureKey, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, String definition, String storageType, com.liferay.portal.kernel.service.ServiceContext serviceContext) void
addStructureResources
(DDMStructure structure, boolean addGroupPermissions, boolean addGuestPermissions) Adds the resources to the structure.void
addStructureResources
(DDMStructure structure, com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions) Adds the model resources with the permissions to the structure.copyStructure
(long userId, long sourceStructureId, com.liferay.portal.kernel.service.ServiceContext serviceContext) copyStructure
(long userId, long sourceStructureId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) Copies a structure, creating a new structure with all the values extracted from the original one.createDDMStructure
(long structureId) Creates a new ddm structure with the primary key.com.liferay.portal.kernel.model.PersistedModel
createPersistedModel
(Serializable primaryKeyObj) deleteDDMStructure
(long structureId) Deletes the ddm structure with the primary key from the database.deleteDDMStructure
(DDMStructure ddmStructure) Deletes the ddm structure from the database.com.liferay.portal.kernel.model.PersistedModel
deletePersistedModel
(com.liferay.portal.kernel.model.PersistedModel persistedModel) void
deleteStructure
(long structureId) Deletes the structure and its resources.void
deleteStructure
(long groupId, long classNameId, String structureKey) Deletes the matching structure and its resources.deleteStructure
(DDMStructure structure) Deletes the structure and its resources.void
deleteStructures
(long groupId) Deletes all the structures of the group.void
deleteStructures
(long groupId, long classNameId) <T> T
dslQuery
(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) int
dslQueryCount
(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.long
dynamicQueryCount
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Returns the number of rows matching the dynamic query.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.fetchDDMStructure
(long structureId) fetchDDMStructureByUuidAndGroupId
(String uuid, long groupId) Returns the ddm structure matching the UUID and group.fetchStructure
(long structureId) Returns the structure with the ID.fetchStructure
(long groupId, long classNameId, String structureKey) Returns the structure matching the class name ID, structure key, and group.fetchStructure
(long groupId, long classNameId, String structureKey, boolean includeAncestorStructures) Returns the structure matching the class name ID, structure key, and group, optionally searching ancestor sites (that have sharing enabled) and global scoped sites.fetchStructureByExternalReferenceCode
(String externalReferenceCode, long groupId, long classNameId) fetchStructureByUuidAndGroupId
(String uuid, long groupId, boolean includeAncestorStructures) com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery
com.liferay.portal.kernel.service.persistence.BasePersistence<?>
getChildrenStructures
(long parentStructureId) getClassStructures
(long companyId, long classNameId) Returns all the structures matching the class name ID.getClassStructures
(long companyId, long classNameId, int start, int end) Returns a range of all the structures matching the class name ID.getClassStructures
(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) Returns all the structures matching the class name ID ordered by the comparator.com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMStructure>
getDDMStructure
(long structureId) Returns the ddm structure with the primary key.getDDMStructureByUuidAndGroupId
(String uuid, long groupId) Returns the ddm structure matching the UUID and group.getDDMStructures
(int start, int end) Returns a range of all the ddm structures.getDDMStructuresByUuidAndCompanyId
(String uuid, long companyId) Returns all the ddm structures matching the UUID and company.getDDMStructuresByUuidAndCompanyId
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) Returns a range of ddm structures matching the UUID and company.int
Returns the number of ddm structures.com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery
getExportActionableDynamicQuery
(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery
Returns the OSGi service identifier.com.liferay.portal.kernel.model.PersistedModel
getPersistedModel
(Serializable primaryKeyObj) getStructure
(long structureId) Returns the structure with the ID.getStructure
(long groupId, long classNameId, String structureKey) Returns the structure matching the class name ID, structure key, and group.getStructure
(long groupId, long classNameId, String structureKey, boolean includeAncestorStructures) Returns the structure matching the class name ID, structure key, and group, optionally searching ancestor sites (that have sharing enabled) and global scoped sites.getStructure
(long groupId, String name, String description) Returns all the structures matching the group, name, and description.getStructureByExternalReferenceCode
(String externalReferenceCode, long groupId, long classNameId) getStructureDDMForm
(DDMStructure structure) Returns all the structures present in the system.getStructures
(long groupId) Returns all the structures present in the group.getStructures
(long[] groupIds) Returns all the structures belonging to the groups.getStructures
(long[] groupIds, long classNameId) Returns all the structures matching the class name ID and belonging to the groups.getStructures
(long[] groupIds, long classNameId, int start, int end) Returns a range of all the structures matching the class name ID and belonging to the groups.getStructures
(long[] groupIds, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) getStructures
(long[] groupIds, long classNameId, String name, String description, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) Returns an ordered range of all the structures matching the group, class name ID, name, and description.getStructures
(long groupId, int start, int end) Returns a range of all the structures belonging to the group.getStructures
(long groupId, long classNameId) Returns all the structures matching class name ID and group.getStructures
(long companyId, long[] groupIds, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) getStructures
(long companyId, long[] groupIds, long classNameId, String keywords, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) getStructures
(long groupId, long classNameId, int start, int end) Returns a range of all the structures that match the class name ID and group.getStructures
(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) Returns an ordered range of all the structures matching the class name ID and group.getStructures
(long groupId, String name, String description) int
getStructuresCount
(long groupId) Returns the number of structures belonging to the group.int
getStructuresCount
(long[] groupIds, long classNameId) Returns the number of structures matching the class name ID and belonging to the groups.int
getStructuresCount
(long groupId, long classNameId) Returns the number of structures matching the class name ID and group.int
getStructuresCount
(long companyId, long[] groupIds, long classNameId, String keywords, int status) boolean
hasStructure
(long groupId, long classNameId, String structureKey) prepareLocalizedDefinitionForImport
(DDMStructure structure, Locale defaultImportLocale) void
revertStructure
(long userId, long structureId, String version, com.liferay.portal.kernel.service.ServiceContext serviceContext) search
(long companyId, long[] groupIds, long classNameId, long classPK, String keywords, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) search
(long companyId, long[] groupIds, long classNameId, String keywords, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) Returns an ordered range of all the structures matching the groups and class name IDs, and matching the keywords in the structure names and descriptions.search
(long companyId, long[] groupIds, long classNameId, String name, String description, String storageType, int type, int status, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) Returns an ordered range of all the structures matching the groups, class name IDs, name keyword, description keyword, storage type, and type.int
searchCount
(long companyId, long[] groupIds, long classNameId, long classPK, String keywords) int
searchCount
(long companyId, long[] groupIds, long classNameId, String keywords, int status) Returns the number of structures matching the groups and class name IDs, and matching the keywords in the structure names and descriptions.int
searchCount
(long companyId, long[] groupIds, long classNameId, String name, String description, String storageType, int type, int status, boolean andOperator) Returns the number of structures matching the groups, class name IDs, name keyword, description keyword, storage type, and typevoid
setWrappedService
(DDMStructureLocalService ddmStructureLocalService) updateDDMStructure
(DDMStructure ddmStructure) Updates the ddm structure in the database or adds it if it does not yet exist.updateStructure
(long userId, long groupId, long parentStructureId, long classNameId, String structureKey, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, DDMForm ddmForm, DDMFormLayout ddmFormLayout, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateStructure
(long userId, long structureId, long parentStructureId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, DDMForm ddmForm, DDMFormLayout ddmFormLayout, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateStructure
(long userId, long structureId, DDMForm ddmForm, DDMFormLayout ddmFormLayout, com.liferay.portal.kernel.service.ServiceContext serviceContext) updateStructure
(String externalReferenceCode, long userId, long structureId, long groupId, long parentStructureId, long classNameId, String structureKey, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, String definition, com.liferay.portal.kernel.service.ServiceContext serviceContext) <R,
E extends Throwable>
RupdateWithUnsafeFunction
(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMStructure>, R, E> updateUnsafeFunction) 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
-
DDMStructureLocalServiceWrapper
public DDMStructureLocalServiceWrapper() -
DDMStructureLocalServiceWrapper
-
-
Method Details
-
addDDMStructure
Adds the ddm structure to the database. Also notifies the appropriate model listeners.Important: Inspect DDMStructureLocalServiceImpl 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:
addDDMStructure
in interfaceDDMStructureLocalService
- Parameters:
ddmStructure
- the ddm structure- Returns:
- the ddm structure that was added
-
addStructure
public DDMStructure addStructure(long userId, long groupId, long classNameId, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, DDMForm ddmForm, DDMFormLayout ddmFormLayout, String storageType, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
addStructure
in interfaceDDMStructureLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addStructure
public DDMStructure addStructure(long userId, long groupId, String parentStructureKey, long classNameId, String structureKey, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, DDMForm ddmForm, DDMFormLayout ddmFormLayout, String storageType, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
addStructure
in interfaceDDMStructureLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addStructure
public DDMStructure addStructure(String externalReferenceCode, long userId, long groupId, long parentStructureId, long classNameId, String structureKey, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, DDMForm ddmForm, DDMFormLayout ddmFormLayout, String storageType, int type, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
addStructure
in interfaceDDMStructureLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addStructure
public DDMStructure addStructure(String externalReferenceCode, long userId, long groupId, long parentStructureId, long classNameId, String structureKey, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, String definition, String storageType, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
addStructure
in interfaceDDMStructureLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addStructureResources
public void addStructureResources(DDMStructure structure, boolean addGroupPermissions, boolean addGuestPermissions) throws com.liferay.portal.kernel.exception.PortalException Adds the resources to the structure.- Specified by:
addStructureResources
in interfaceDDMStructureLocalService
- Parameters:
structure
- the structure to add resources toaddGroupPermissions
- whether to add group permissionsaddGuestPermissions
- whether to add guest permissions- Throws:
com.liferay.portal.kernel.exception.PortalException
-
addStructureResources
public void addStructureResources(DDMStructure structure, com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions) throws com.liferay.portal.kernel.exception.PortalException Adds the model resources with the permissions to the structure.- Specified by:
addStructureResources
in interfaceDDMStructureLocalService
- Parameters:
structure
- the structure to add resources tomodelPermissions
- the model permissions to be added- Throws:
com.liferay.portal.kernel.exception.PortalException
-
copyStructure
public DDMStructure copyStructure(long userId, long sourceStructureId, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) Copies a structure, creating a new structure with all the values extracted from the original one. The new structure supports a new name and description.- Specified by:
copyStructure
in interfaceDDMStructureLocalService
- Parameters:
userId
- the primary key of the structure's creator/ownersourceStructureId
- the primary key of the structure to be copiednameMap
- the new structure's locales and localized namesdescriptionMap
- the new structure's locales and localized descriptionsserviceContext
- the service context to be applied. Can set the UUID, creation date, modification date, guest permissions, and group permissions for the structure.- Returns:
- the new structure
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
copyStructure
public DDMStructure copyStructure(long userId, long sourceStructureId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
copyStructure
in interfaceDDMStructureLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
createDDMStructure
Creates a new ddm structure with the primary key. Does not add the ddm structure to the database.- Specified by:
createDDMStructure
in interfaceDDMStructureLocalService
- Parameters:
structureId
- the primary key for the new ddm structure- Returns:
- the new ddm structure
-
createPersistedModel
public com.liferay.portal.kernel.model.PersistedModel createPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
createPersistedModel
in interfaceDDMStructureLocalService
- Specified by:
createPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteDDMStructure
Deletes the ddm structure from the database. Also notifies the appropriate model listeners.Important: Inspect DDMStructureLocalServiceImpl 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:
deleteDDMStructure
in interfaceDDMStructureLocalService
- Parameters:
ddmStructure
- the ddm structure- Returns:
- the ddm structure that was removed
-
deleteDDMStructure
public DDMStructure deleteDDMStructure(long structureId) throws com.liferay.portal.kernel.exception.PortalException Deletes the ddm structure with the primary key from the database. Also notifies the appropriate model listeners.Important: Inspect DDMStructureLocalServiceImpl 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:
deleteDDMStructure
in interfaceDDMStructureLocalService
- Parameters:
structureId
- the primary key of the ddm structure- Returns:
- the ddm structure that was removed
- Throws:
PortalException
- if a ddm structure with the primary key could not be foundcom.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:
deletePersistedModel
in interfaceDDMStructureLocalService
- Specified by:
deletePersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
deleteStructure
public DDMStructure deleteStructure(DDMStructure structure) throws com.liferay.portal.kernel.exception.PortalException Deletes the structure and its resources.Before deleting the structure, this method verifies whether the structure is required by another entity. If it is needed, an exception is thrown.
- Specified by:
deleteStructure
in interfaceDDMStructureLocalService
- Parameters:
structure
- the structure to be deleted- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteStructure
public void deleteStructure(long structureId) throws com.liferay.portal.kernel.exception.PortalException Deletes the structure and its resources.Before deleting the structure, the system verifies whether the structure is required by another entity. If it is needed, an exception is thrown.
- Specified by:
deleteStructure
in interfaceDDMStructureLocalService
- Parameters:
structureId
- the primary key of the structure to be deleted- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteStructure
public void deleteStructure(long groupId, long classNameId, String structureKey) throws com.liferay.portal.kernel.exception.PortalException Deletes the matching structure and its resources.Before deleting the structure, the system verifies whether the structure is required by another entity. If it is needed, an exception is thrown.
- Specified by:
deleteStructure
in interfaceDDMStructureLocalService
- Parameters:
groupId
- the primary key of the groupclassNameId
- the primary key of the class name for the structure's related modelstructureKey
- the unique string identifying the structure- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteStructures
public void deleteStructures(long groupId) throws com.liferay.portal.kernel.exception.PortalException Deletes all the structures of the group.Before deleting the structures, the system verifies whether each structure is required by another entity. If any of the structures are needed, an exception is thrown.
- Specified by:
deleteStructures
in interfaceDDMStructureLocalService
- Parameters:
groupId
- the primary key of the group- Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteStructures
public void deleteStructures(long groupId, long classNameId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
deleteStructures
in interfaceDDMStructureLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
dslQuery
public <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQuery
in interfaceDDMStructureLocalService
- Specified by:
dslQuery
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dslQueryCount
public int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) - Specified by:
dslQueryCount
in interfaceDDMStructureLocalService
- Specified by:
dslQueryCount
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
dynamicQuery
public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()- Specified by:
dynamicQuery
in interfaceDDMStructureLocalService
-
dynamicQuery
Performs a dynamic query on the database and returns the matching rows.- Specified by:
dynamicQuery
in interfaceDDMStructureLocalService
- 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMStructureModelImpl
.- Specified by:
dynamicQuery
in interfaceDDMStructureLocalService
- 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMStructureModelImpl
.- Specified by:
dynamicQuery
in interfaceDDMStructureLocalService
- 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:
dynamicQueryCount
in interfaceDDMStructureLocalService
- 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:
dynamicQueryCount
in interfaceDDMStructureLocalService
- Parameters:
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query- Returns:
- the number of rows matching the dynamic query
-
fetchDDMStructure
- Specified by:
fetchDDMStructure
in interfaceDDMStructureLocalService
-
fetchDDMStructureByUuidAndGroupId
Returns the ddm structure matching the UUID and group.- Specified by:
fetchDDMStructureByUuidAndGroupId
in interfaceDDMStructureLocalService
- Parameters:
uuid
- the ddm structure's UUIDgroupId
- the primary key of the group- Returns:
- the matching ddm structure, or
null
if a matching ddm structure could not be found
-
fetchStructure
Returns the structure with the ID.- Specified by:
fetchStructure
in interfaceDDMStructureLocalService
- Parameters:
structureId
- the primary key of the structure- Returns:
- the structure with the structure ID, or
null
if a matching structure could not be found
-
fetchStructure
Returns the structure matching the class name ID, structure key, and group.- Specified by:
fetchStructure
in interfaceDDMStructureLocalService
- Parameters:
groupId
- the primary key of the groupclassNameId
- the primary key of the class name for the structure's related modelstructureKey
- the unique string identifying the structure- Returns:
- the matching structure, or
null
if a matching structure could not be found
-
fetchStructure
public DDMStructure fetchStructure(long groupId, long classNameId, String structureKey, boolean includeAncestorStructures) Returns the structure matching the class name ID, structure key, and group, optionally searching ancestor sites (that have sharing enabled) and global scoped sites.This method first searches in the group. If the structure is still not found and
includeAncestorStructures
is set totrue
, this method searches the group's ancestor sites (that have sharing enabled) and lastly searches global scoped sites.- Specified by:
fetchStructure
in interfaceDDMStructureLocalService
- Parameters:
groupId
- the primary key of the groupclassNameId
- the primary key of the class name for the structure's related modelstructureKey
- the unique string identifying the structureincludeAncestorStructures
- whether to include ancestor sites (that have sharing enabled) and include global scoped sites in the search- Returns:
- the matching structure, or
null
if a matching structure could not be found
-
fetchStructureByExternalReferenceCode
public DDMStructure fetchStructureByExternalReferenceCode(String externalReferenceCode, long groupId, long classNameId) - Specified by:
fetchStructureByExternalReferenceCode
in interfaceDDMStructureLocalService
-
fetchStructureByUuidAndGroupId
public DDMStructure fetchStructureByUuidAndGroupId(String uuid, long groupId, boolean includeAncestorStructures) - Specified by:
fetchStructureByUuidAndGroupId
in interfaceDDMStructureLocalService
-
getActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()- Specified by:
getActionableDynamicQuery
in interfaceDDMStructureLocalService
-
getChildrenStructures
- Specified by:
getChildrenStructures
in interfaceDDMStructureLocalService
-
getClassStructures
Returns all the structures matching the class name ID.- Specified by:
getClassStructures
in interfaceDDMStructureLocalService
- Parameters:
companyId
- the primary key of the structure's companyclassNameId
- the primary key of the class name for the structure's related model- Returns:
- the structures matching the class name ID
-
getClassStructures
Returns a range of all the structures matching the class name ID.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set.- Specified by:
getClassStructures
in interfaceDDMStructureLocalService
- Parameters:
companyId
- the primary key of the structure's companyclassNameId
- the primary key of the class name for the structure's related modelstart
- the lower bound of the range of structures to returnend
- the upper bound of the range of structures to return (not inclusive)- Returns:
- the range of matching structures
-
getClassStructures
public List<DDMStructure> getClassStructures(long companyId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) Returns all the structures matching the class name ID ordered by the comparator.- Specified by:
getClassStructures
in interfaceDDMStructureLocalService
- Parameters:
companyId
- the primary key of the structure's companyclassNameId
- the primary key of the class name for the structure's related modelorderByComparator
- the comparator to order the structures (optionallynull
)- Returns:
- the matching structures ordered by the comparator
-
getDDMStructure
public DDMStructure getDDMStructure(long structureId) throws com.liferay.portal.kernel.exception.PortalException Returns the ddm structure with the primary key.- Specified by:
getDDMStructure
in interfaceDDMStructureLocalService
- Parameters:
structureId
- the primary key of the ddm structure- Returns:
- the ddm structure
- Throws:
PortalException
- if a ddm structure with the primary key could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getDDMStructureByUuidAndGroupId
public DDMStructure getDDMStructureByUuidAndGroupId(String uuid, long groupId) throws com.liferay.portal.kernel.exception.PortalException Returns the ddm structure matching the UUID and group.- Specified by:
getDDMStructureByUuidAndGroupId
in interfaceDDMStructureLocalService
- Parameters:
uuid
- the ddm structure's UUIDgroupId
- the primary key of the group- Returns:
- the matching ddm structure
- Throws:
PortalException
- if a matching ddm structure could not be foundcom.liferay.portal.kernel.exception.PortalException
-
getDDMStructures
Returns a range of all the ddm structures.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
tocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromcom.liferay.dynamic.data.mapping.model.impl.DDMStructureModelImpl
.- Specified by:
getDDMStructures
in interfaceDDMStructureLocalService
- Parameters:
start
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)- Returns:
- the range of ddm structures
-
getDDMStructuresByUuidAndCompanyId
Returns all the ddm structures matching the UUID and company.- Specified by:
getDDMStructuresByUuidAndCompanyId
in interfaceDDMStructureLocalService
- Parameters:
uuid
- the UUID of the ddm structurescompanyId
- the primary key of the company- Returns:
- the matching ddm structures, or an empty list if no matches were found
-
getDDMStructuresByUuidAndCompanyId
public List<DDMStructure> getDDMStructuresByUuidAndCompanyId(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) Returns a range of ddm structures matching the UUID and company.- Specified by:
getDDMStructuresByUuidAndCompanyId
in interfaceDDMStructureLocalService
- Parameters:
uuid
- the UUID of the ddm structurescompanyId
- the primary key of the companystart
- the lower bound of the range of ddm structuresend
- the upper bound of the range of ddm structures (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the range of matching ddm structures, or an empty list if no matches were found
-
getDDMStructuresCount
public int getDDMStructuresCount()Returns the number of ddm structures.- Specified by:
getDDMStructuresCount
in interfaceDDMStructureLocalService
- Returns:
- the number of ddm structures
-
getExportActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) - Specified by:
getExportActionableDynamicQuery
in interfaceDDMStructureLocalService
-
getIndexableActionableDynamicQuery
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()- Specified by:
getIndexableActionableDynamicQuery
in interfaceDDMStructureLocalService
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceDDMStructureLocalService
- 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:
getPersistedModel
in interfaceDDMStructureLocalService
- Specified by:
getPersistedModel
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
- Throws:
PortalException
com.liferay.portal.kernel.exception.PortalException
-
getStructure
public DDMStructure getStructure(long structureId) throws com.liferay.portal.kernel.exception.PortalException Returns the structure with the ID.- Specified by:
getStructure
in interfaceDDMStructureLocalService
- Parameters:
structureId
- the primary key of the structure- Returns:
- the structure with the ID
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getStructure
public DDMStructure getStructure(long groupId, long classNameId, String structureKey) throws com.liferay.portal.kernel.exception.PortalException Returns the structure matching the class name ID, structure key, and group.- Specified by:
getStructure
in interfaceDDMStructureLocalService
- Parameters:
groupId
- the primary key of the structure's groupclassNameId
- the primary key of the class name for the structure's related modelstructureKey
- the unique string identifying the structure- Returns:
- the matching structure
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getStructure
public DDMStructure getStructure(long groupId, long classNameId, String structureKey, boolean includeAncestorStructures) throws com.liferay.portal.kernel.exception.PortalException Returns the structure matching the class name ID, structure key, and group, optionally searching ancestor sites (that have sharing enabled) and global scoped sites.This method first searches in the group. If the structure is still not found and
includeAncestorStructures
is set totrue
, this method searches the group's ancestor sites (that have sharing enabled) and lastly searches global scoped sites.- Specified by:
getStructure
in interfaceDDMStructureLocalService
- Parameters:
groupId
- the primary key of the structure's groupclassNameId
- the primary key of the class name for the structure's related modelstructureKey
- the unique string identifying the structureincludeAncestorStructures
- whether to include ancestor sites (that have sharing enabled) and include global scoped sites in the search in the search- Returns:
- the matching structure
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getStructure
Returns all the structures matching the group, name, and description.- Specified by:
getStructure
in interfaceDDMStructureLocalService
- Parameters:
groupId
- the primary key of the structure's groupname
- the structure's namedescription
- the structure's description- Returns:
- the matching structures
-
getStructureByExternalReferenceCode
public DDMStructure getStructureByExternalReferenceCode(String externalReferenceCode, long groupId, long classNameId) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getStructureByExternalReferenceCode
in interfaceDDMStructureLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getStructureDDMForm
public DDMForm getStructureDDMForm(DDMStructure structure) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
getStructureDDMForm
in interfaceDDMStructureLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getStructures
Returns all the structures present in the system.- Specified by:
getStructures
in interfaceDDMStructureLocalService
- Returns:
- the structures present in the system
-
getStructures
Returns all the structures present in the group.- Specified by:
getStructures
in interfaceDDMStructureLocalService
- Parameters:
groupId
- the primary key of the group- Returns:
- the structures present in the group
-
getStructures
Returns a range of all the structures belonging to the group.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set.- Specified by:
getStructures
in interfaceDDMStructureLocalService
- Parameters:
groupId
- the primary key of the groupstart
- the lower bound of the range of structures to returnend
- the upper bound of the range of structures to return (not inclusive)- Returns:
- the range of matching structures
-
getStructures
Returns all the structures matching class name ID and group.- Specified by:
getStructures
in interfaceDDMStructureLocalService
- Parameters:
groupId
- the primary key of the groupclassNameId
- the primary key of the class name for the structure's related model- Returns:
- the matching structures
-
getStructures
Returns a range of all the structures that match the class name ID and group.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set.- Specified by:
getStructures
in interfaceDDMStructureLocalService
- Parameters:
groupId
- the primary key of the groupclassNameId
- the primary key of the class name for the structure's related modelstart
- the lower bound of the range of structures to returnend
- the upper bound of the range of structures to return (not inclusive)- Returns:
- the range of matching structures
-
getStructures
public List<DDMStructure> getStructures(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) Returns an ordered range of all the structures matching the class name ID and group.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set.- Specified by:
getStructures
in interfaceDDMStructureLocalService
- Parameters:
groupId
- the primary key of the groupclassNameId
- the primary key of the class name for the structure's related modelstart
- the lower bound of the range of structures to returnend
- the upper bound of the range of structures to return (not inclusive)orderByComparator
- the comparator to order the structures (optionallynull
)- Returns:
- the range of matching structures ordered by the comparator
-
getStructures
public List<DDMStructure> getStructures(long companyId, long[] groupIds, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) - Specified by:
getStructures
in interfaceDDMStructureLocalService
-
getStructures
public List<DDMStructure> getStructures(long companyId, long[] groupIds, long classNameId, String keywords, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) - Specified by:
getStructures
in interfaceDDMStructureLocalService
-
getStructures
- Specified by:
getStructures
in interfaceDDMStructureLocalService
-
getStructures
Returns all the structures belonging to the groups.- Specified by:
getStructures
in interfaceDDMStructureLocalService
- Parameters:
groupIds
- the primary keys of the groups- Returns:
- the structures belonging to the groups
-
getStructures
Returns all the structures matching the class name ID and belonging to the groups.- Specified by:
getStructures
in interfaceDDMStructureLocalService
- Parameters:
groupIds
- the primary keys of the groupsclassNameId
- the primary key of the class name for the structure's related model- Returns:
- the matching structures
-
getStructures
Returns a range of all the structures matching the class name ID and belonging to the groups.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set.- Specified by:
getStructures
in interfaceDDMStructureLocalService
- Parameters:
groupIds
- the primary keys of the groupsclassNameId
- the primary key of the class name for the structure's related modelstart
- the lower bound of the range of structures to returnend
- the upper bound of the range of structures to return (not inclusive)- Returns:
- the range of matching structures
-
getStructures
public List<DDMStructure> getStructures(long[] groupIds, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) - Specified by:
getStructures
in interfaceDDMStructureLocalService
-
getStructures
public List<DDMStructure> getStructures(long[] groupIds, long classNameId, String name, String description, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) Returns an ordered range of all the structures matching the group, class name ID, name, and description.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set.- Specified by:
getStructures
in interfaceDDMStructureLocalService
- Parameters:
groupIds
- the primary keys of the groupsclassNameId
- the primary key of the class name for the structure's related modelname
- the name keywordsdescription
- the description keywordsstart
- the lower bound of the range of structures to returnend
- the upper bound of the range of structures to return (not inclusive)orderByComparator
- the comparator to order the structures (optionallynull
)- Returns:
- the range of matching structures ordered by the comparator
-
getStructuresCount
public int getStructuresCount(long groupId) Returns the number of structures belonging to the group.- Specified by:
getStructuresCount
in interfaceDDMStructureLocalService
- Parameters:
groupId
- the primary key of the group- Returns:
- the number of structures belonging to the group
-
getStructuresCount
public int getStructuresCount(long groupId, long classNameId) Returns the number of structures matching the class name ID and group.- Specified by:
getStructuresCount
in interfaceDDMStructureLocalService
- Parameters:
groupId
- the primary key of the groupclassNameId
- the primary key of the class name for the structure's related model- Returns:
- the number of matching structures
-
getStructuresCount
public int getStructuresCount(long companyId, long[] groupIds, long classNameId, String keywords, int status) - Specified by:
getStructuresCount
in interfaceDDMStructureLocalService
-
getStructuresCount
public int getStructuresCount(long[] groupIds, long classNameId) Returns the number of structures matching the class name ID and belonging to the groups.- Specified by:
getStructuresCount
in interfaceDDMStructureLocalService
- Parameters:
groupIds
- the primary keys of the groupsclassNameId
- the primary key of the class name for the structure's related model- Returns:
- the number of matching structures
-
hasStructure
- Specified by:
hasStructure
in interfaceDDMStructureLocalService
-
prepareLocalizedDefinitionForImport
public String prepareLocalizedDefinitionForImport(DDMStructure structure, Locale defaultImportLocale) - Specified by:
prepareLocalizedDefinitionForImport
in interfaceDDMStructureLocalService
-
revertStructure
public void revertStructure(long userId, long structureId, String version, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
revertStructure
in interfaceDDMStructureLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
search
public List<DDMStructure> search(long companyId, long[] groupIds, long classNameId, long classPK, String keywords, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
search
in interfaceDDMStructureLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
search
public List<DDMStructure> search(long companyId, long[] groupIds, long classNameId, String keywords, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) Returns an ordered range of all the structures matching the groups and class name IDs, and matching the keywords in the structure names and descriptions.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set.- Specified by:
search
in interfaceDDMStructureLocalService
- Parameters:
companyId
- the primary key of the structure's companygroupIds
- the primary keys of the groupsclassNameId
- the primary key of the class name of the model the structure is related tokeywords
- the keywords (space separated), which may occur in the structure's name or description (optionallynull
)start
- the lower bound of the range of structures to returnend
- the upper bound of the range of structures to return (not inclusive)orderByComparator
- the comparator to order the structures (optionallynull
)- Returns:
- the range of matching structures ordered by the comparator
-
search
public List<DDMStructure> search(long companyId, long[] groupIds, long classNameId, String name, String description, String storageType, int type, int status, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructure> orderByComparator) Returns an ordered range of all the structures matching the groups, class name IDs, name keyword, description keyword, storage type, and type.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set.- Specified by:
search
in interfaceDDMStructureLocalService
- Parameters:
companyId
- the primary key of the structure's companygroupIds
- the primary keys of the groupsclassNameId
- the primary key of the class name of the model the structure is related toname
- the name keywordsdescription
- the description keywordsstorageType
- the structure's storage type. It can be "xml" or "expando". For more information, seeStorageType
.type
- the structure's type. For more information, seeDDMStructureConstants
.andOperator
- whether every field must match its keywords, or just one fieldstart
- the lower bound of the range of structures to returnend
- the upper bound of the range of structures to return (not inclusive)orderByComparator
- the comparator to order the structures (optionallynull
)- Returns:
- the range of matching structures ordered by the comparator
-
searchCount
public int searchCount(long companyId, long[] groupIds, long classNameId, long classPK, String keywords) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
searchCount
in interfaceDDMStructureLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
searchCount
public int searchCount(long companyId, long[] groupIds, long classNameId, String keywords, int status) Returns the number of structures matching the groups and class name IDs, and matching the keywords in the structure names and descriptions.- Specified by:
searchCount
in interfaceDDMStructureLocalService
- Parameters:
companyId
- the primary key of the structure's companygroupIds
- the primary keys of the groupsclassNameId
- the primary key of the class name of the model the structure is related tokeywords
- the keywords (space separated), which may occur in the structure's name or description (optionallynull
)- Returns:
- the number of matching structures
-
searchCount
public int searchCount(long companyId, long[] groupIds, long classNameId, String name, String description, String storageType, int type, int status, boolean andOperator) Returns the number of structures matching the groups, class name IDs, name keyword, description keyword, storage type, and type- Specified by:
searchCount
in interfaceDDMStructureLocalService
- Parameters:
companyId
- the primary key of the structure's companygroupIds
- the primary keys of the groupsclassNameId
-name
- the name keywordsdescription
- the description keywordsstorageType
- the structure's storage type. It can be "xml" or "expando". For more information, seeStorageType
.type
- the structure's type. For more information, seeDDMStructureConstants
.andOperator
- whether every field must match its keywords, or just one field- Returns:
- the number of matching structures
-
updateDDMStructure
Updates the ddm structure in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.Important: Inspect DDMStructureLocalServiceImpl 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:
updateDDMStructure
in interfaceDDMStructureLocalService
- Parameters:
ddmStructure
- the ddm structure- Returns:
- the ddm structure that was updated
-
updateStructure
public DDMStructure updateStructure(long userId, long structureId, DDMForm ddmForm, DDMFormLayout ddmFormLayout, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException - Specified by:
updateStructure
in interfaceDDMStructureLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateStructure
public DDMStructure updateStructure(long userId, long groupId, long parentStructureId, long classNameId, String structureKey, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, DDMForm ddmForm, DDMFormLayout ddmFormLayout, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
updateStructure
in interfaceDDMStructureLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateStructure
public DDMStructure updateStructure(long userId, long structureId, long parentStructureId, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, DDMForm ddmForm, DDMFormLayout ddmFormLayout, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
updateStructure
in interfaceDDMStructureLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
updateStructure
public DDMStructure updateStructure(String externalReferenceCode, long userId, long structureId, long groupId, long parentStructureId, long classNameId, String structureKey, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, String definition, com.liferay.portal.kernel.service.ServiceContext serviceContext) - Specified by:
updateStructure
in interfaceDDMStructureLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getBasePersistence
public com.liferay.portal.kernel.service.persistence.BasePersistence<?> getBasePersistence()- Specified by:
getBasePersistence
in interfacecom.liferay.portal.kernel.service.PersistedModelLocalService
-
getCTPersistence
public com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMStructure> getCTPersistence()- Specified by:
getCTPersistence
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<DDMStructure>
- Specified by:
getCTPersistence
in interfaceDDMStructureLocalService
-
getModelClass
- Specified by:
getModelClass
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<DDMStructure>
- Specified by:
getModelClass
in interfaceDDMStructureLocalService
-
updateWithUnsafeFunction
public <R,E extends Throwable> R updateWithUnsafeFunction(com.liferay.petra.function.UnsafeFunction<com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMStructure>, R, throws EE> updateUnsafeFunction) - Specified by:
updateWithUnsafeFunction
in interfacecom.liferay.portal.kernel.service.change.tracking.CTService<DDMStructure>
- Specified by:
updateWithUnsafeFunction
in interfaceDDMStructureLocalService
- Throws:
E extends Throwable
-
getWrappedService
- Specified by:
getWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<DDMStructureLocalService>
-
setWrappedService
- Specified by:
setWrappedService
in interfacecom.liferay.portal.kernel.service.ServiceWrapper<DDMStructureLocalService>
-