Class DDMStructureLayoutUtil

java.lang.Object
com.liferay.dynamic.data.mapping.service.persistence.DDMStructureLayoutUtil

public class DDMStructureLayoutUtil extends Object
The persistence utility for the ddm structure layout service. This utility wraps com.liferay.dynamic.data.mapping.service.persistence.impl.DDMStructureLayoutPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Details

    • DDMStructureLayoutUtil

      public DDMStructureLayoutUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(DDMStructureLayout ddmStructureLayout)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,DDMStructureLayout> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<DDMStructureLayout> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<DDMStructureLayout> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<DDMStructureLayout> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static DDMStructureLayout update(DDMStructureLayout ddmStructureLayout)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static DDMStructureLayout update(DDMStructureLayout ddmStructureLayout, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByUuid

      public static List<DDMStructureLayout> findByUuid(String uuid)
      Returns all the ddm structure layouts where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching ddm structure layouts
    • findByUuid

      public static List<DDMStructureLayout> findByUuid(String uuid, int start, int end)
      Returns a range of all the ddm structure layouts where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of ddm structure layouts
      end - the upper bound of the range of ddm structure layouts (not inclusive)
      Returns:
      the range of matching ddm structure layouts
    • findByUuid

      public static List<DDMStructureLayout> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
      Returns an ordered range of all the ddm structure layouts where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of ddm structure layouts
      end - the upper bound of the range of ddm structure layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddm structure layouts
    • findByUuid

      public static List<DDMStructureLayout> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm structure layouts where uuid = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of ddm structure layouts
      end - the upper bound of the range of ddm structure layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching ddm structure layouts
    • findByUuid_First

      public static DDMStructureLayout findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
      Returns the first ddm structure layout in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm structure layout
      Throws:
      NoSuchStructureLayoutException - if a matching ddm structure layout could not be found
      NoSuchStructureLayoutException
    • fetchByUuid_First

      public static DDMStructureLayout fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
      Returns the first ddm structure layout in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm structure layout, or null if a matching ddm structure layout could not be found
    • findByUuid_Last

      public static DDMStructureLayout findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
      Returns the last ddm structure layout in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm structure layout
      Throws:
      NoSuchStructureLayoutException - if a matching ddm structure layout could not be found
      NoSuchStructureLayoutException
    • fetchByUuid_Last

      public static DDMStructureLayout fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
      Returns the last ddm structure layout in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm structure layout, or null if a matching ddm structure layout could not be found
    • findByUuid_PrevAndNext

      public static DDMStructureLayout[] findByUuid_PrevAndNext(long structureLayoutId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
      Returns the ddm structure layouts before and after the current ddm structure layout in the ordered set where uuid = ?.
      Parameters:
      structureLayoutId - the primary key of the current ddm structure layout
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddm structure layout
      Throws:
      NoSuchStructureLayoutException - if a ddm structure layout with the primary key could not be found
      NoSuchStructureLayoutException
    • removeByUuid

      public static void removeByUuid(String uuid)
      Removes all the ddm structure layouts where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      public static int countByUuid(String uuid)
      Returns the number of ddm structure layouts where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching ddm structure layouts
    • findByUUID_G

      public static DDMStructureLayout findByUUID_G(String uuid, long groupId) throws NoSuchStructureLayoutException
      Returns the ddm structure layout where uuid = ? and groupId = ? or throws a NoSuchStructureLayoutException if it could not be found.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching ddm structure layout
      Throws:
      NoSuchStructureLayoutException - if a matching ddm structure layout could not be found
      NoSuchStructureLayoutException
    • fetchByUUID_G

      public static DDMStructureLayout fetchByUUID_G(String uuid, long groupId)
      Returns the ddm structure layout where uuid = ? and groupId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the matching ddm structure layout, or null if a matching ddm structure layout could not be found
    • fetchByUUID_G

      public static DDMStructureLayout fetchByUUID_G(String uuid, long groupId, boolean useFinderCache)
      Returns the ddm structure layout where uuid = ? and groupId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching ddm structure layout, or null if a matching ddm structure layout could not be found
    • removeByUUID_G

      public static DDMStructureLayout removeByUUID_G(String uuid, long groupId) throws NoSuchStructureLayoutException
      Removes the ddm structure layout where uuid = ? and groupId = ? from the database.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the ddm structure layout that was removed
      Throws:
      NoSuchStructureLayoutException
    • countByUUID_G

      public static int countByUUID_G(String uuid, long groupId)
      Returns the number of ddm structure layouts where uuid = ? and groupId = ?.
      Parameters:
      uuid - the uuid
      groupId - the group ID
      Returns:
      the number of matching ddm structure layouts
    • findByUuid_C

      public static List<DDMStructureLayout> findByUuid_C(String uuid, long companyId)
      Returns all the ddm structure layouts where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching ddm structure layouts
    • findByUuid_C

      public static List<DDMStructureLayout> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the ddm structure layouts where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of ddm structure layouts
      end - the upper bound of the range of ddm structure layouts (not inclusive)
      Returns:
      the range of matching ddm structure layouts
    • findByUuid_C

      public static List<DDMStructureLayout> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
      Returns an ordered range of all the ddm structure layouts where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of ddm structure layouts
      end - the upper bound of the range of ddm structure layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddm structure layouts
    • findByUuid_C

      public static List<DDMStructureLayout> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm structure layouts where uuid = ? and companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of ddm structure layouts
      end - the upper bound of the range of ddm structure layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching ddm structure layouts
    • findByUuid_C_First

      public static DDMStructureLayout findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
      Returns the first ddm structure layout in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm structure layout
      Throws:
      NoSuchStructureLayoutException - if a matching ddm structure layout could not be found
      NoSuchStructureLayoutException
    • fetchByUuid_C_First

      public static DDMStructureLayout fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
      Returns the first ddm structure layout in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm structure layout, or null if a matching ddm structure layout could not be found
    • findByUuid_C_Last

      public static DDMStructureLayout findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
      Returns the last ddm structure layout in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm structure layout
      Throws:
      NoSuchStructureLayoutException - if a matching ddm structure layout could not be found
      NoSuchStructureLayoutException
    • fetchByUuid_C_Last

      public static DDMStructureLayout fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
      Returns the last ddm structure layout in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm structure layout, or null if a matching ddm structure layout could not be found
    • findByUuid_C_PrevAndNext

      public static DDMStructureLayout[] findByUuid_C_PrevAndNext(long structureLayoutId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
      Returns the ddm structure layouts before and after the current ddm structure layout in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      structureLayoutId - the primary key of the current ddm structure layout
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddm structure layout
      Throws:
      NoSuchStructureLayoutException - if a ddm structure layout with the primary key could not be found
      NoSuchStructureLayoutException
    • removeByUuid_C

      public static void removeByUuid_C(String uuid, long companyId)
      Removes all the ddm structure layouts where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public static int countByUuid_C(String uuid, long companyId)
      Returns the number of ddm structure layouts where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching ddm structure layouts
    • findByGroupId

      public static List<DDMStructureLayout> findByGroupId(long groupId)
      Returns all the ddm structure layouts where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the matching ddm structure layouts
    • findByGroupId

      public static List<DDMStructureLayout> findByGroupId(long groupId, int start, int end)
      Returns a range of all the ddm structure layouts where groupId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of ddm structure layouts
      end - the upper bound of the range of ddm structure layouts (not inclusive)
      Returns:
      the range of matching ddm structure layouts
    • findByGroupId

      public static List<DDMStructureLayout> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
      Returns an ordered range of all the ddm structure layouts where groupId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of ddm structure layouts
      end - the upper bound of the range of ddm structure layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddm structure layouts
    • findByGroupId

      public static List<DDMStructureLayout> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm structure layouts where groupId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl.

      Parameters:
      groupId - the group ID
      start - the lower bound of the range of ddm structure layouts
      end - the upper bound of the range of ddm structure layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching ddm structure layouts
    • findByGroupId_First

      public static DDMStructureLayout findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
      Returns the first ddm structure layout in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm structure layout
      Throws:
      NoSuchStructureLayoutException - if a matching ddm structure layout could not be found
      NoSuchStructureLayoutException
    • fetchByGroupId_First

      public static DDMStructureLayout fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
      Returns the first ddm structure layout in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm structure layout, or null if a matching ddm structure layout could not be found
    • findByGroupId_Last

      public static DDMStructureLayout findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
      Returns the last ddm structure layout in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm structure layout
      Throws:
      NoSuchStructureLayoutException - if a matching ddm structure layout could not be found
      NoSuchStructureLayoutException
    • fetchByGroupId_Last

      public static DDMStructureLayout fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
      Returns the last ddm structure layout in the ordered set where groupId = ?.
      Parameters:
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm structure layout, or null if a matching ddm structure layout could not be found
    • findByGroupId_PrevAndNext

      public static DDMStructureLayout[] findByGroupId_PrevAndNext(long structureLayoutId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
      Returns the ddm structure layouts before and after the current ddm structure layout in the ordered set where groupId = ?.
      Parameters:
      structureLayoutId - the primary key of the current ddm structure layout
      groupId - the group ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddm structure layout
      Throws:
      NoSuchStructureLayoutException - if a ddm structure layout with the primary key could not be found
      NoSuchStructureLayoutException
    • removeByGroupId

      public static void removeByGroupId(long groupId)
      Removes all the ddm structure layouts where groupId = ? from the database.
      Parameters:
      groupId - the group ID
    • countByGroupId

      public static int countByGroupId(long groupId)
      Returns the number of ddm structure layouts where groupId = ?.
      Parameters:
      groupId - the group ID
      Returns:
      the number of matching ddm structure layouts
    • findByStructureLayoutKey

      public static List<DDMStructureLayout> findByStructureLayoutKey(String structureLayoutKey)
      Returns all the ddm structure layouts where structureLayoutKey = ?.
      Parameters:
      structureLayoutKey - the structure layout key
      Returns:
      the matching ddm structure layouts
    • findByStructureLayoutKey

      public static List<DDMStructureLayout> findByStructureLayoutKey(String structureLayoutKey, int start, int end)
      Returns a range of all the ddm structure layouts where structureLayoutKey = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl.

      Parameters:
      structureLayoutKey - the structure layout key
      start - the lower bound of the range of ddm structure layouts
      end - the upper bound of the range of ddm structure layouts (not inclusive)
      Returns:
      the range of matching ddm structure layouts
    • findByStructureLayoutKey

      public static List<DDMStructureLayout> findByStructureLayoutKey(String structureLayoutKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
      Returns an ordered range of all the ddm structure layouts where structureLayoutKey = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl.

      Parameters:
      structureLayoutKey - the structure layout key
      start - the lower bound of the range of ddm structure layouts
      end - the upper bound of the range of ddm structure layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddm structure layouts
    • findByStructureLayoutKey

      public static List<DDMStructureLayout> findByStructureLayoutKey(String structureLayoutKey, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm structure layouts where structureLayoutKey = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl.

      Parameters:
      structureLayoutKey - the structure layout key
      start - the lower bound of the range of ddm structure layouts
      end - the upper bound of the range of ddm structure layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching ddm structure layouts
    • findByStructureLayoutKey_First

      public static DDMStructureLayout findByStructureLayoutKey_First(String structureLayoutKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
      Returns the first ddm structure layout in the ordered set where structureLayoutKey = ?.
      Parameters:
      structureLayoutKey - the structure layout key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm structure layout
      Throws:
      NoSuchStructureLayoutException - if a matching ddm structure layout could not be found
      NoSuchStructureLayoutException
    • fetchByStructureLayoutKey_First

      public static DDMStructureLayout fetchByStructureLayoutKey_First(String structureLayoutKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
      Returns the first ddm structure layout in the ordered set where structureLayoutKey = ?.
      Parameters:
      structureLayoutKey - the structure layout key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm structure layout, or null if a matching ddm structure layout could not be found
    • findByStructureLayoutKey_Last

      public static DDMStructureLayout findByStructureLayoutKey_Last(String structureLayoutKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
      Returns the last ddm structure layout in the ordered set where structureLayoutKey = ?.
      Parameters:
      structureLayoutKey - the structure layout key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm structure layout
      Throws:
      NoSuchStructureLayoutException - if a matching ddm structure layout could not be found
      NoSuchStructureLayoutException
    • fetchByStructureLayoutKey_Last

      public static DDMStructureLayout fetchByStructureLayoutKey_Last(String structureLayoutKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
      Returns the last ddm structure layout in the ordered set where structureLayoutKey = ?.
      Parameters:
      structureLayoutKey - the structure layout key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm structure layout, or null if a matching ddm structure layout could not be found
    • findByStructureLayoutKey_PrevAndNext

      public static DDMStructureLayout[] findByStructureLayoutKey_PrevAndNext(long structureLayoutId, String structureLayoutKey, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
      Returns the ddm structure layouts before and after the current ddm structure layout in the ordered set where structureLayoutKey = ?.
      Parameters:
      structureLayoutId - the primary key of the current ddm structure layout
      structureLayoutKey - the structure layout key
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddm structure layout
      Throws:
      NoSuchStructureLayoutException - if a ddm structure layout with the primary key could not be found
      NoSuchStructureLayoutException
    • removeByStructureLayoutKey

      public static void removeByStructureLayoutKey(String structureLayoutKey)
      Removes all the ddm structure layouts where structureLayoutKey = ? from the database.
      Parameters:
      structureLayoutKey - the structure layout key
    • countByStructureLayoutKey

      public static int countByStructureLayoutKey(String structureLayoutKey)
      Returns the number of ddm structure layouts where structureLayoutKey = ?.
      Parameters:
      structureLayoutKey - the structure layout key
      Returns:
      the number of matching ddm structure layouts
    • findByStructureVersionId

      public static DDMStructureLayout findByStructureVersionId(long structureVersionId) throws NoSuchStructureLayoutException
      Returns the ddm structure layout where structureVersionId = ? or throws a NoSuchStructureLayoutException if it could not be found.
      Parameters:
      structureVersionId - the structure version ID
      Returns:
      the matching ddm structure layout
      Throws:
      NoSuchStructureLayoutException - if a matching ddm structure layout could not be found
      NoSuchStructureLayoutException
    • fetchByStructureVersionId

      public static DDMStructureLayout fetchByStructureVersionId(long structureVersionId)
      Returns the ddm structure layout where structureVersionId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      structureVersionId - the structure version ID
      Returns:
      the matching ddm structure layout, or null if a matching ddm structure layout could not be found
    • fetchByStructureVersionId

      public static DDMStructureLayout fetchByStructureVersionId(long structureVersionId, boolean useFinderCache)
      Returns the ddm structure layout where structureVersionId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      structureVersionId - the structure version ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching ddm structure layout, or null if a matching ddm structure layout could not be found
    • removeByStructureVersionId

      public static DDMStructureLayout removeByStructureVersionId(long structureVersionId) throws NoSuchStructureLayoutException
      Removes the ddm structure layout where structureVersionId = ? from the database.
      Parameters:
      structureVersionId - the structure version ID
      Returns:
      the ddm structure layout that was removed
      Throws:
      NoSuchStructureLayoutException
    • countByStructureVersionId

      public static int countByStructureVersionId(long structureVersionId)
      Returns the number of ddm structure layouts where structureVersionId = ?.
      Parameters:
      structureVersionId - the structure version ID
      Returns:
      the number of matching ddm structure layouts
    • findByG_C

      public static List<DDMStructureLayout> findByG_C(long groupId, long classNameId)
      Returns all the ddm structure layouts where groupId = ? and classNameId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      Returns:
      the matching ddm structure layouts
    • findByG_C

      public static List<DDMStructureLayout> findByG_C(long groupId, long classNameId, int start, int end)
      Returns a range of all the ddm structure layouts where groupId = ? and classNameId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl.

      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      start - the lower bound of the range of ddm structure layouts
      end - the upper bound of the range of ddm structure layouts (not inclusive)
      Returns:
      the range of matching ddm structure layouts
    • findByG_C

      public static List<DDMStructureLayout> findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
      Returns an ordered range of all the ddm structure layouts where groupId = ? and classNameId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl.

      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      start - the lower bound of the range of ddm structure layouts
      end - the upper bound of the range of ddm structure layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddm structure layouts
    • findByG_C

      public static List<DDMStructureLayout> findByG_C(long groupId, long classNameId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm structure layouts where groupId = ? and classNameId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl.

      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      start - the lower bound of the range of ddm structure layouts
      end - the upper bound of the range of ddm structure layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching ddm structure layouts
    • findByG_C_First

      public static DDMStructureLayout findByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
      Returns the first ddm structure layout in the ordered set where groupId = ? and classNameId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm structure layout
      Throws:
      NoSuchStructureLayoutException - if a matching ddm structure layout could not be found
      NoSuchStructureLayoutException
    • fetchByG_C_First

      public static DDMStructureLayout fetchByG_C_First(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
      Returns the first ddm structure layout in the ordered set where groupId = ? and classNameId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm structure layout, or null if a matching ddm structure layout could not be found
    • findByG_C_Last

      public static DDMStructureLayout findByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
      Returns the last ddm structure layout in the ordered set where groupId = ? and classNameId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm structure layout
      Throws:
      NoSuchStructureLayoutException - if a matching ddm structure layout could not be found
      NoSuchStructureLayoutException
    • fetchByG_C_Last

      public static DDMStructureLayout fetchByG_C_Last(long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
      Returns the last ddm structure layout in the ordered set where groupId = ? and classNameId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm structure layout, or null if a matching ddm structure layout could not be found
    • findByG_C_PrevAndNext

      public static DDMStructureLayout[] findByG_C_PrevAndNext(long structureLayoutId, long groupId, long classNameId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
      Returns the ddm structure layouts before and after the current ddm structure layout in the ordered set where groupId = ? and classNameId = ?.
      Parameters:
      structureLayoutId - the primary key of the current ddm structure layout
      groupId - the group ID
      classNameId - the class name ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddm structure layout
      Throws:
      NoSuchStructureLayoutException - if a ddm structure layout with the primary key could not be found
      NoSuchStructureLayoutException
    • removeByG_C

      public static void removeByG_C(long groupId, long classNameId)
      Removes all the ddm structure layouts where groupId = ? and classNameId = ? from the database.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
    • countByG_C

      public static int countByG_C(long groupId, long classNameId)
      Returns the number of ddm structure layouts where groupId = ? and classNameId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      Returns:
      the number of matching ddm structure layouts
    • findByG_C_S

      public static DDMStructureLayout findByG_C_S(long groupId, long classNameId, String structureLayoutKey) throws NoSuchStructureLayoutException
      Returns the ddm structure layout where groupId = ? and classNameId = ? and structureLayoutKey = ? or throws a NoSuchStructureLayoutException if it could not be found.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      structureLayoutKey - the structure layout key
      Returns:
      the matching ddm structure layout
      Throws:
      NoSuchStructureLayoutException - if a matching ddm structure layout could not be found
      NoSuchStructureLayoutException
    • fetchByG_C_S

      public static DDMStructureLayout fetchByG_C_S(long groupId, long classNameId, String structureLayoutKey)
      Returns the ddm structure layout where groupId = ? and classNameId = ? and structureLayoutKey = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      structureLayoutKey - the structure layout key
      Returns:
      the matching ddm structure layout, or null if a matching ddm structure layout could not be found
    • fetchByG_C_S

      public static DDMStructureLayout fetchByG_C_S(long groupId, long classNameId, String structureLayoutKey, boolean useFinderCache)
      Returns the ddm structure layout where groupId = ? and classNameId = ? and structureLayoutKey = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      structureLayoutKey - the structure layout key
      useFinderCache - whether to use the finder cache
      Returns:
      the matching ddm structure layout, or null if a matching ddm structure layout could not be found
    • removeByG_C_S

      public static DDMStructureLayout removeByG_C_S(long groupId, long classNameId, String structureLayoutKey) throws NoSuchStructureLayoutException
      Removes the ddm structure layout where groupId = ? and classNameId = ? and structureLayoutKey = ? from the database.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      structureLayoutKey - the structure layout key
      Returns:
      the ddm structure layout that was removed
      Throws:
      NoSuchStructureLayoutException
    • countByG_C_S

      public static int countByG_C_S(long groupId, long classNameId, String structureLayoutKey)
      Returns the number of ddm structure layouts where groupId = ? and classNameId = ? and structureLayoutKey = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      structureLayoutKey - the structure layout key
      Returns:
      the number of matching ddm structure layouts
    • findByG_C_SV

      public static List<DDMStructureLayout> findByG_C_SV(long groupId, long classNameId, long structureVersionId)
      Returns all the ddm structure layouts where groupId = ? and classNameId = ? and structureVersionId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      structureVersionId - the structure version ID
      Returns:
      the matching ddm structure layouts
    • findByG_C_SV

      public static List<DDMStructureLayout> findByG_C_SV(long groupId, long classNameId, long structureVersionId, int start, int end)
      Returns a range of all the ddm structure layouts where groupId = ? and classNameId = ? and structureVersionId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl.

      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      structureVersionId - the structure version ID
      start - the lower bound of the range of ddm structure layouts
      end - the upper bound of the range of ddm structure layouts (not inclusive)
      Returns:
      the range of matching ddm structure layouts
    • findByG_C_SV

      public static List<DDMStructureLayout> findByG_C_SV(long groupId, long classNameId, long structureVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
      Returns an ordered range of all the ddm structure layouts where groupId = ? and classNameId = ? and structureVersionId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl.

      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      structureVersionId - the structure version ID
      start - the lower bound of the range of ddm structure layouts
      end - the upper bound of the range of ddm structure layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddm structure layouts
    • findByG_C_SV

      public static List<DDMStructureLayout> findByG_C_SV(long groupId, long classNameId, long structureVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm structure layouts where groupId = ? and classNameId = ? and structureVersionId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl.

      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      structureVersionId - the structure version ID
      start - the lower bound of the range of ddm structure layouts
      end - the upper bound of the range of ddm structure layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching ddm structure layouts
    • findByG_C_SV_First

      public static DDMStructureLayout findByG_C_SV_First(long groupId, long classNameId, long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
      Returns the first ddm structure layout in the ordered set where groupId = ? and classNameId = ? and structureVersionId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      structureVersionId - the structure version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm structure layout
      Throws:
      NoSuchStructureLayoutException - if a matching ddm structure layout could not be found
      NoSuchStructureLayoutException
    • fetchByG_C_SV_First

      public static DDMStructureLayout fetchByG_C_SV_First(long groupId, long classNameId, long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
      Returns the first ddm structure layout in the ordered set where groupId = ? and classNameId = ? and structureVersionId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      structureVersionId - the structure version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm structure layout, or null if a matching ddm structure layout could not be found
    • findByG_C_SV_Last

      public static DDMStructureLayout findByG_C_SV_Last(long groupId, long classNameId, long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
      Returns the last ddm structure layout in the ordered set where groupId = ? and classNameId = ? and structureVersionId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      structureVersionId - the structure version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm structure layout
      Throws:
      NoSuchStructureLayoutException - if a matching ddm structure layout could not be found
      NoSuchStructureLayoutException
    • fetchByG_C_SV_Last

      public static DDMStructureLayout fetchByG_C_SV_Last(long groupId, long classNameId, long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
      Returns the last ddm structure layout in the ordered set where groupId = ? and classNameId = ? and structureVersionId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      structureVersionId - the structure version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm structure layout, or null if a matching ddm structure layout could not be found
    • findByG_C_SV_PrevAndNext

      public static DDMStructureLayout[] findByG_C_SV_PrevAndNext(long structureLayoutId, long groupId, long classNameId, long structureVersionId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator) throws NoSuchStructureLayoutException
      Returns the ddm structure layouts before and after the current ddm structure layout in the ordered set where groupId = ? and classNameId = ? and structureVersionId = ?.
      Parameters:
      structureLayoutId - the primary key of the current ddm structure layout
      groupId - the group ID
      classNameId - the class name ID
      structureVersionId - the structure version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddm structure layout
      Throws:
      NoSuchStructureLayoutException - if a ddm structure layout with the primary key could not be found
      NoSuchStructureLayoutException
    • removeByG_C_SV

      public static void removeByG_C_SV(long groupId, long classNameId, long structureVersionId)
      Removes all the ddm structure layouts where groupId = ? and classNameId = ? and structureVersionId = ? from the database.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      structureVersionId - the structure version ID
    • countByG_C_SV

      public static int countByG_C_SV(long groupId, long classNameId, long structureVersionId)
      Returns the number of ddm structure layouts where groupId = ? and classNameId = ? and structureVersionId = ?.
      Parameters:
      groupId - the group ID
      classNameId - the class name ID
      structureVersionId - the structure version ID
      Returns:
      the number of matching ddm structure layouts
    • cacheResult

      public static void cacheResult(DDMStructureLayout ddmStructureLayout)
      Caches the ddm structure layout in the entity cache if it is enabled.
      Parameters:
      ddmStructureLayout - the ddm structure layout
    • cacheResult

      public static void cacheResult(List<DDMStructureLayout> ddmStructureLayouts)
      Caches the ddm structure layouts in the entity cache if it is enabled.
      Parameters:
      ddmStructureLayouts - the ddm structure layouts
    • create

      public static DDMStructureLayout create(long structureLayoutId)
      Creates a new ddm structure layout with the primary key. Does not add the ddm structure layout to the database.
      Parameters:
      structureLayoutId - the primary key for the new ddm structure layout
      Returns:
      the new ddm structure layout
    • remove

      public static DDMStructureLayout remove(long structureLayoutId) throws NoSuchStructureLayoutException
      Removes the ddm structure layout with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      structureLayoutId - the primary key of the ddm structure layout
      Returns:
      the ddm structure layout that was removed
      Throws:
      NoSuchStructureLayoutException - if a ddm structure layout with the primary key could not be found
      NoSuchStructureLayoutException
    • updateImpl

      public static DDMStructureLayout updateImpl(DDMStructureLayout ddmStructureLayout)
    • findByPrimaryKey

      public static DDMStructureLayout findByPrimaryKey(long structureLayoutId) throws NoSuchStructureLayoutException
      Returns the ddm structure layout with the primary key or throws a NoSuchStructureLayoutException if it could not be found.
      Parameters:
      structureLayoutId - the primary key of the ddm structure layout
      Returns:
      the ddm structure layout
      Throws:
      NoSuchStructureLayoutException - if a ddm structure layout with the primary key could not be found
      NoSuchStructureLayoutException
    • fetchByPrimaryKey

      public static DDMStructureLayout fetchByPrimaryKey(long structureLayoutId)
      Returns the ddm structure layout with the primary key or returns null if it could not be found.
      Parameters:
      structureLayoutId - the primary key of the ddm structure layout
      Returns:
      the ddm structure layout, or null if a ddm structure layout with the primary key could not be found
    • findAll

      public static List<DDMStructureLayout> findAll()
      Returns all the ddm structure layouts.
      Returns:
      the ddm structure layouts
    • findAll

      public static List<DDMStructureLayout> findAll(int start, int end)
      Returns a range of all the ddm structure layouts.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl.

      Parameters:
      start - the lower bound of the range of ddm structure layouts
      end - the upper bound of the range of ddm structure layouts (not inclusive)
      Returns:
      the range of ddm structure layouts
    • findAll

      public static List<DDMStructureLayout> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator)
      Returns an ordered range of all the ddm structure layouts.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl.

      Parameters:
      start - the lower bound of the range of ddm structure layouts
      end - the upper bound of the range of ddm structure layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of ddm structure layouts
    • findAll

      public static List<DDMStructureLayout> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureLayout> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm structure layouts.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from DDMStructureLayoutModelImpl.

      Parameters:
      start - the lower bound of the range of ddm structure layouts
      end - the upper bound of the range of ddm structure layouts (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of ddm structure layouts
    • removeAll

      public static void removeAll()
      Removes all the ddm structure layouts from the database.
    • countAll

      public static int countAll()
      Returns the number of ddm structure layouts.
      Returns:
      the number of ddm structure layouts
    • getPersistence

      public static DDMStructureLayoutPersistence getPersistence()
    • setPersistence

      public static void setPersistence(DDMStructureLayoutPersistence persistence)