@ProviderType
public class LayoutSetBranchPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
implements com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
Caching information and settings can be found in portal.properties
LayoutSetBranchPersistence
,
LayoutSetBranchUtil
Modifier and Type | Field and Description |
---|---|
protected com.liferay.portal.kernel.service.persistence.CompanyProvider |
companyProvider |
static java.lang.String |
FINDER_CLASS_NAME_ENTITY |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_P_M |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_G_P_N |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_G_P_N |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_M |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_M |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
Constructor and Description |
---|
LayoutSetBranchPersistenceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Initializes the layout set branch persistence.
|
void |
cacheResult(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch)
Caches the layout set branch in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> layoutSetBranchs)
Caches the layout set branchs in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(LayoutSetBranchModelImpl layoutSetBranchModelImpl) |
void |
clearCache()
Clears the cache for all layout set branchs.
|
void |
clearCache(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch)
Clears the cache for the layout set branch.
|
void |
clearCache(java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> layoutSetBranchs) |
protected void |
clearUniqueFindersCache(LayoutSetBranchModelImpl layoutSetBranchModelImpl,
boolean clearCurrent) |
int |
countAll()
Returns the number of layout set branchs.
|
int |
countByG_P_M(long groupId,
boolean privateLayout,
boolean master)
Returns the number of layout set branchs where groupId = ? and privateLayout = ? and master = ?.
|
int |
countByG_P_N(long groupId,
boolean privateLayout,
java.lang.String name)
Returns the number of layout set branchs where groupId = ? and privateLayout = ? and name = ?.
|
int |
countByG_P(long groupId,
boolean privateLayout)
Returns the number of layout set branchs where groupId = ? and privateLayout = ?.
|
int |
countByGroupId(long groupId)
Returns the number of layout set branchs where groupId = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
create(long layoutSetBranchId)
Creates a new layout set branch with the primary key.
|
void |
destroy() |
com.liferay.portal.kernel.model.LayoutSetBranch |
fetchByG_P_First(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the first layout set branch in the ordered set where groupId = ? and privateLayout = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
fetchByG_P_Last(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the last layout set branch in the ordered set where groupId = ? and privateLayout = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
fetchByG_P_M_First(long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the first layout set branch in the ordered set where groupId = ? and privateLayout = ? and master = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
fetchByG_P_M_Last(long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the last layout set branch in the ordered set where groupId = ? and privateLayout = ? and master = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
fetchByG_P_N(long groupId,
boolean privateLayout,
java.lang.String name)
Returns the layout set branch where groupId = ? and privateLayout = ? and name = ? or returns
null if it could not be found. |
com.liferay.portal.kernel.model.LayoutSetBranch |
fetchByG_P_N(long groupId,
boolean privateLayout,
java.lang.String name,
boolean retrieveFromCache)
Returns the layout set branch where groupId = ? and privateLayout = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.kernel.model.LayoutSetBranch |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the first layout set branch in the ordered set where groupId = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the last layout set branch in the ordered set where groupId = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
fetchByPrimaryKey(long layoutSetBranchId)
Returns the layout set branch with the primary key or returns
null if it could not be found. |
com.liferay.portal.kernel.model.LayoutSetBranch |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the layout set branch with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,com.liferay.portal.kernel.model.LayoutSetBranch> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
int |
filterCountByG_P_M(long groupId,
boolean privateLayout,
boolean master)
Returns the number of layout set branchs that the user has permission to view where groupId = ? and privateLayout = ? and master = ?.
|
int |
filterCountByG_P(long groupId,
boolean privateLayout)
Returns the number of layout set branchs that the user has permission to view where groupId = ? and privateLayout = ?.
|
int |
filterCountByGroupId(long groupId)
Returns the number of layout set branchs that the user has permission to view where groupId = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch[] |
filterFindByG_P_M_PrevAndNext(long layoutSetBranchId,
long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the layout set branchs before and after the current layout set branch in the ordered set of layout set branchs that the user has permission to view where groupId = ? and privateLayout = ? and master = ?.
|
java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> |
filterFindByG_P_M(long groupId,
boolean privateLayout,
boolean master)
Returns all the layout set branchs that the user has permission to view where groupId = ? and privateLayout = ? and master = ?.
|
java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> |
filterFindByG_P_M(long groupId,
boolean privateLayout,
boolean master,
int start,
int end)
Returns a range of all the layout set branchs that the user has permission to view where groupId = ? and privateLayout = ? and master = ?.
|
java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> |
filterFindByG_P_M(long groupId,
boolean privateLayout,
boolean master,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns an ordered range of all the layout set branchs that the user has permissions to view where groupId = ? and privateLayout = ? and master = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch[] |
filterFindByG_P_PrevAndNext(long layoutSetBranchId,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the layout set branchs before and after the current layout set branch in the ordered set of layout set branchs that the user has permission to view where groupId = ? and privateLayout = ?.
|
java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> |
filterFindByG_P(long groupId,
boolean privateLayout)
Returns all the layout set branchs that the user has permission to view where groupId = ? and privateLayout = ?.
|
java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> |
filterFindByG_P(long groupId,
boolean privateLayout,
int start,
int end)
Returns a range of all the layout set branchs that the user has permission to view where groupId = ? and privateLayout = ?.
|
java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> |
filterFindByG_P(long groupId,
boolean privateLayout,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns an ordered range of all the layout set branchs that the user has permissions to view where groupId = ? and privateLayout = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch[] |
filterFindByGroupId_PrevAndNext(long layoutSetBranchId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the layout set branchs before and after the current layout set branch in the ordered set of layout set branchs that the user has permission to view where groupId = ?.
|
java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> |
filterFindByGroupId(long groupId)
Returns all the layout set branchs that the user has permission to view where groupId = ?.
|
java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> |
filterFindByGroupId(long groupId,
int start,
int end)
Returns a range of all the layout set branchs that the user has permission to view where groupId = ?.
|
java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> |
filterFindByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns an ordered range of all the layout set branchs that the user has permissions to view where groupId = ?.
|
protected com.liferay.portal.kernel.model.LayoutSetBranch |
filterGetByG_P_M_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch,
long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.LayoutSetBranch |
filterGetByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.LayoutSetBranch |
filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean previous) |
java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findAll()
Returns all the layout set branchs.
|
java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findAll(int start,
int end)
Returns a range of all the layout set branchs.
|
java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns an ordered range of all the layout set branchs.
|
java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout set branchs.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
findByG_P_First(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the first layout set branch in the ordered set where groupId = ? and privateLayout = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
findByG_P_Last(long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the last layout set branch in the ordered set where groupId = ? and privateLayout = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
findByG_P_M_First(long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the first layout set branch in the ordered set where groupId = ? and privateLayout = ? and master = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
findByG_P_M_Last(long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the last layout set branch in the ordered set where groupId = ? and privateLayout = ? and master = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch[] |
findByG_P_M_PrevAndNext(long layoutSetBranchId,
long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the layout set branchs before and after the current layout set branch in the ordered set where groupId = ? and privateLayout = ? and master = ?.
|
java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findByG_P_M(long groupId,
boolean privateLayout,
boolean master)
Returns all the layout set branchs where groupId = ? and privateLayout = ? and master = ?.
|
java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findByG_P_M(long groupId,
boolean privateLayout,
boolean master,
int start,
int end)
Returns a range of all the layout set branchs where groupId = ? and privateLayout = ? and master = ?.
|
java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findByG_P_M(long groupId,
boolean privateLayout,
boolean master,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns an ordered range of all the layout set branchs where groupId = ? and privateLayout = ? and master = ?.
|
java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findByG_P_M(long groupId,
boolean privateLayout,
boolean master,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout set branchs where groupId = ? and privateLayout = ? and master = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
findByG_P_N(long groupId,
boolean privateLayout,
java.lang.String name)
Returns the layout set branch where groupId = ? and privateLayout = ? and name = ? or throws a
NoSuchLayoutSetBranchException if it could not be found. |
com.liferay.portal.kernel.model.LayoutSetBranch[] |
findByG_P_PrevAndNext(long layoutSetBranchId,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the layout set branchs before and after the current layout set branch in the ordered set where groupId = ? and privateLayout = ?.
|
java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findByG_P(long groupId,
boolean privateLayout)
Returns all the layout set branchs where groupId = ? and privateLayout = ?.
|
java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end)
Returns a range of all the layout set branchs where groupId = ? and privateLayout = ?.
|
java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns an ordered range of all the layout set branchs where groupId = ? and privateLayout = ?.
|
java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findByG_P(long groupId,
boolean privateLayout,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout set branchs where groupId = ? and privateLayout = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the first layout set branch in the ordered set where groupId = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the last layout set branch in the ordered set where groupId = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch[] |
findByGroupId_PrevAndNext(long layoutSetBranchId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns the layout set branchs before and after the current layout set branch in the ordered set where groupId = ?.
|
java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findByGroupId(long groupId)
Returns all the layout set branchs where groupId = ?.
|
java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the layout set branchs where groupId = ?.
|
java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Returns an ordered range of all the layout set branchs where groupId = ?.
|
java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the layout set branchs where groupId = ?.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
findByPrimaryKey(long layoutSetBranchId)
Returns the layout set branch with the primary key or throws a
NoSuchLayoutSetBranchException if it could not be found. |
com.liferay.portal.kernel.model.LayoutSetBranch |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the layout set branch with the primary key or throws a
NoSuchModelException if it could not be found. |
java.util.Set<java.lang.String> |
getBadColumnNames() |
protected com.liferay.portal.kernel.model.LayoutSetBranch |
getByG_P_M_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch,
long groupId,
boolean privateLayout,
boolean master,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.LayoutSetBranch |
getByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch,
long groupId,
boolean privateLayout,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean previous) |
protected com.liferay.portal.kernel.model.LayoutSetBranch |
getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator,
boolean previous) |
protected java.util.Map<java.lang.String,java.lang.Integer> |
getTableColumnsMap() |
com.liferay.portal.kernel.model.LayoutSetBranch |
remove(long layoutSetBranchId)
Removes the layout set branch with the primary key from the database.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
remove(java.io.Serializable primaryKey)
Removes the layout set branch with the primary key from the database.
|
void |
removeAll()
Removes all the layout set branchs from the database.
|
void |
removeByG_P_M(long groupId,
boolean privateLayout,
boolean master)
Removes all the layout set branchs where groupId = ? and privateLayout = ? and master = ? from the database.
|
com.liferay.portal.kernel.model.LayoutSetBranch |
removeByG_P_N(long groupId,
boolean privateLayout,
java.lang.String name)
Removes the layout set branch where groupId = ? and privateLayout = ? and name = ? from the database.
|
void |
removeByG_P(long groupId,
boolean privateLayout)
Removes all the layout set branchs where groupId = ? and privateLayout = ? from the database.
|
void |
removeByGroupId(long groupId)
Removes all the layout set branchs where groupId = ? from the database.
|
protected com.liferay.portal.kernel.model.LayoutSetBranch |
removeImpl(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch) |
com.liferay.portal.kernel.model.LayoutSetBranch |
updateImpl(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch) |
appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
public static final java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_GROUPID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_P
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_G_P_N
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_P_N
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_G_P_M
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_G_P_M
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_G_P_M
@BeanReference(type=com.liferay.portal.kernel.service.persistence.CompanyProviderWrapper.class) protected com.liferay.portal.kernel.service.persistence.CompanyProvider companyProvider
public java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> findByGroupId(long groupId)
findByGroupId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDpublic java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> findByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDstart
- the lower bound of the range of layout set branchsend
- the upper bound of the range of layout set branchs (not inclusive)public java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDstart
- the lower bound of the range of layout set branchsend
- the upper bound of the range of layout set branchs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByGroupId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDstart
- the lower bound of the range of layout set branchsend
- the upper bound of the range of layout set branchs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.portal.kernel.model.LayoutSetBranch findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
findByGroupId_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
- if a matching layout set branch could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
fetchByGroupId_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set branch could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
findByGroupId_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
- if a matching layout set branch could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
fetchByGroupId_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set branch could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch[] findByGroupId_PrevAndNext(long layoutSetBranchId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
findByGroupId_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
layoutSetBranchId
- the primary key of the current layout set branchgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
- if a layout set branch with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetBranch getByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator, boolean previous)
public java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> filterFindByGroupId(long groupId)
filterFindByGroupId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDpublic java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> filterFindByGroupId(long groupId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByGroupId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDstart
- the lower bound of the range of layout set branchsend
- the upper bound of the range of layout set branchs (not inclusive)public java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> filterFindByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByGroupId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDstart
- the lower bound of the range of layout set branchsend
- the upper bound of the range of layout set branchs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public com.liferay.portal.kernel.model.LayoutSetBranch[] filterFindByGroupId_PrevAndNext(long layoutSetBranchId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
filterFindByGroupId_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
layoutSetBranchId
- the primary key of the current layout set branchgroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
- if a layout set branch with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetBranch filterGetByGroupId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch, long groupId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator, boolean previous)
public void removeByGroupId(long groupId)
removeByGroupId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDpublic int countByGroupId(long groupId)
countByGroupId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDpublic int filterCountByGroupId(long groupId)
filterCountByGroupId
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDpublic java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> findByG_P(long groupId, boolean privateLayout)
findByG_P
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutpublic java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> findByG_P(long groupId, boolean privateLayout, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_P
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutstart
- the lower bound of the range of layout set branchsend
- the upper bound of the range of layout set branchs (not inclusive)public java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> findByG_P(long groupId, boolean privateLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_P
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutstart
- the lower bound of the range of layout set branchsend
- the upper bound of the range of layout set branchs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> findByG_P(long groupId, boolean privateLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_P
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutstart
- the lower bound of the range of layout set branchsend
- the upper bound of the range of layout set branchs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.portal.kernel.model.LayoutSetBranch findByG_P_First(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
findByG_P_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
- if a matching layout set branch could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch fetchByG_P_First(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
fetchByG_P_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set branch could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch findByG_P_Last(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
findByG_P_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
- if a matching layout set branch could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch fetchByG_P_Last(long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
fetchByG_P_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set branch could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch[] findByG_P_PrevAndNext(long layoutSetBranchId, long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
findByG_P_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
layoutSetBranchId
- the primary key of the current layout set branchgroupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
- if a layout set branch with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetBranch getByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch, long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator, boolean previous)
public java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> filterFindByG_P(long groupId, boolean privateLayout)
filterFindByG_P
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutpublic java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> filterFindByG_P(long groupId, boolean privateLayout, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_P
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutstart
- the lower bound of the range of layout set branchsend
- the upper bound of the range of layout set branchs (not inclusive)public java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> filterFindByG_P(long groupId, boolean privateLayout, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_P
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutstart
- the lower bound of the range of layout set branchsend
- the upper bound of the range of layout set branchs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public com.liferay.portal.kernel.model.LayoutSetBranch[] filterFindByG_P_PrevAndNext(long layoutSetBranchId, long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
filterFindByG_P_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
layoutSetBranchId
- the primary key of the current layout set branchgroupId
- the group IDprivateLayout
- the private layoutorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
- if a layout set branch with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetBranch filterGetByG_P_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch, long groupId, boolean privateLayout, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator, boolean previous)
public void removeByG_P(long groupId, boolean privateLayout)
removeByG_P
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutpublic int countByG_P(long groupId, boolean privateLayout)
countByG_P
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutpublic int filterCountByG_P(long groupId, boolean privateLayout)
filterCountByG_P
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutpublic com.liferay.portal.kernel.model.LayoutSetBranch findByG_P_N(long groupId, boolean privateLayout, java.lang.String name) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
NoSuchLayoutSetBranchException
if it could not be found.findByG_P_N
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutname
- the namecom.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
- if a matching layout set branch could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch fetchByG_P_N(long groupId, boolean privateLayout, java.lang.String name)
null
if it could not be found. Uses the finder cache.fetchByG_P_N
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutname
- the namenull
if a matching layout set branch could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch fetchByG_P_N(long groupId, boolean privateLayout, java.lang.String name, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.fetchByG_P_N
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutname
- the nameretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching layout set branch could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch removeByG_P_N(long groupId, boolean privateLayout, java.lang.String name) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
removeByG_P_N
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutname
- the namecom.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
public int countByG_P_N(long groupId, boolean privateLayout, java.lang.String name)
countByG_P_N
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutname
- the namepublic java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> findByG_P_M(long groupId, boolean privateLayout, boolean master)
findByG_P_M
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutmaster
- the masterpublic java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> findByG_P_M(long groupId, boolean privateLayout, boolean master, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_P_M
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutmaster
- the masterstart
- the lower bound of the range of layout set branchsend
- the upper bound of the range of layout set branchs (not inclusive)public java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> findByG_P_M(long groupId, boolean privateLayout, boolean master, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_P_M
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutmaster
- the masterstart
- the lower bound of the range of layout set branchsend
- the upper bound of the range of layout set branchs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> findByG_P_M(long groupId, boolean privateLayout, boolean master, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByG_P_M
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutmaster
- the masterstart
- the lower bound of the range of layout set branchsend
- the upper bound of the range of layout set branchs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic com.liferay.portal.kernel.model.LayoutSetBranch findByG_P_M_First(long groupId, boolean privateLayout, boolean master, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
findByG_P_M_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutmaster
- the masterorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
- if a matching layout set branch could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch fetchByG_P_M_First(long groupId, boolean privateLayout, boolean master, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
fetchByG_P_M_First
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutmaster
- the masterorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set branch could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch findByG_P_M_Last(long groupId, boolean privateLayout, boolean master, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
findByG_P_M_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutmaster
- the masterorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
- if a matching layout set branch could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch fetchByG_P_M_Last(long groupId, boolean privateLayout, boolean master, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
fetchByG_P_M_Last
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutmaster
- the masterorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching layout set branch could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch[] findByG_P_M_PrevAndNext(long layoutSetBranchId, long groupId, boolean privateLayout, boolean master, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
findByG_P_M_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
layoutSetBranchId
- the primary key of the current layout set branchgroupId
- the group IDprivateLayout
- the private layoutmaster
- the masterorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
- if a layout set branch with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetBranch getByG_P_M_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch, long groupId, boolean privateLayout, boolean master, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator, boolean previous)
public java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> filterFindByG_P_M(long groupId, boolean privateLayout, boolean master)
filterFindByG_P_M
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutmaster
- the masterpublic java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> filterFindByG_P_M(long groupId, boolean privateLayout, boolean master, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_P_M
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutmaster
- the masterstart
- the lower bound of the range of layout set branchsend
- the upper bound of the range of layout set branchs (not inclusive)public java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> filterFindByG_P_M(long groupId, boolean privateLayout, boolean master, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
filterFindByG_P_M
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutmaster
- the masterstart
- the lower bound of the range of layout set branchsend
- the upper bound of the range of layout set branchs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public com.liferay.portal.kernel.model.LayoutSetBranch[] filterFindByG_P_M_PrevAndNext(long layoutSetBranchId, long groupId, boolean privateLayout, boolean master, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
filterFindByG_P_M_PrevAndNext
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
layoutSetBranchId
- the primary key of the current layout set branchgroupId
- the group IDprivateLayout
- the private layoutmaster
- the masterorderByComparator
- the comparator to order the set by (optionally null
)com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
- if a layout set branch with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetBranch filterGetByG_P_M_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch, long groupId, boolean privateLayout, boolean master, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator, boolean previous)
public void removeByG_P_M(long groupId, boolean privateLayout, boolean master)
removeByG_P_M
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutmaster
- the masterpublic int countByG_P_M(long groupId, boolean privateLayout, boolean master)
countByG_P_M
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutmaster
- the masterpublic int filterCountByG_P_M(long groupId, boolean privateLayout, boolean master)
filterCountByG_P_M
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
groupId
- the group IDprivateLayout
- the private layoutmaster
- the masterpublic void cacheResult(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch)
cacheResult
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
layoutSetBranch
- the layout set branchpublic void cacheResult(java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> layoutSetBranchs)
cacheResult
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
layoutSetBranchs
- the layout set branchspublic void clearCache()
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
public void clearCache(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch)
The EntityCache
and FinderCache
are both cleared by this method.
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
public void clearCache(java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> layoutSetBranchs)
clearCache
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>
clearCache
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
protected void cacheUniqueFindersCache(LayoutSetBranchModelImpl layoutSetBranchModelImpl)
protected void clearUniqueFindersCache(LayoutSetBranchModelImpl layoutSetBranchModelImpl, boolean clearCurrent)
public com.liferay.portal.kernel.model.LayoutSetBranch create(long layoutSetBranchId)
create
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
layoutSetBranchId
- the primary key for the new layout set branchpublic com.liferay.portal.kernel.model.LayoutSetBranch remove(long layoutSetBranchId) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
remove
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
layoutSetBranchId
- the primary key of the layout set branchcom.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
- if a layout set branch with the primary key could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch remove(java.io.Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
remove
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>
remove
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
primaryKey
- the primary key of the layout set branchcom.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
- if a layout set branch with the primary key could not be foundprotected com.liferay.portal.kernel.model.LayoutSetBranch removeImpl(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch)
removeImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
public com.liferay.portal.kernel.model.LayoutSetBranch updateImpl(com.liferay.portal.kernel.model.LayoutSetBranch layoutSetBranch)
updateImpl
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
updateImpl
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
public com.liferay.portal.kernel.model.LayoutSetBranch findByPrimaryKey(java.io.Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
NoSuchModelException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>
findByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
primaryKey
- the primary key of the layout set branchcom.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
- if a layout set branch with the primary key could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch findByPrimaryKey(long layoutSetBranchId) throws com.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
NoSuchLayoutSetBranchException
if it could not be found.findByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
layoutSetBranchId
- the primary key of the layout set branchcom.liferay.portal.kernel.exception.NoSuchLayoutSetBranchException
- if a layout set branch with the primary key could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch fetchByPrimaryKey(java.io.Serializable primaryKey)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>
fetchByPrimaryKey
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
primaryKey
- the primary key of the layout set branchnull
if a layout set branch with the primary key could not be foundpublic com.liferay.portal.kernel.model.LayoutSetBranch fetchByPrimaryKey(long layoutSetBranchId)
null
if it could not be found.fetchByPrimaryKey
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
layoutSetBranchId
- the primary key of the layout set branchnull
if a layout set branch with the primary key could not be foundpublic java.util.Map<java.io.Serializable,com.liferay.portal.kernel.model.LayoutSetBranch> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
fetchByPrimaryKeys
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
public java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> findAll()
findAll
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
public java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
start
- the lower bound of the range of layout set branchsend
- the upper bound of the range of layout set branchs (not inclusive)public java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
start
- the lower bound of the range of layout set branchsend
- the upper bound of the range of layout set branchs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public java.util.List<com.liferay.portal.kernel.model.LayoutSetBranch> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.LayoutSetBranch> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil.ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil.ALL_POS
), then the query will include the default ORDER BY logic from LayoutSetBranchModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
start
- the lower bound of the range of layout set branchsend
- the upper bound of the range of layout set branchs (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic void removeAll()
removeAll
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
public int countAll()
countAll
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
public java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.LayoutSetBranch>
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.LayoutSetBranchPersistence
getBadColumnNames
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
protected java.util.Map<java.lang.String,java.lang.Integer> getTableColumnsMap()
getTableColumnsMap
in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.LayoutSetBranch>
public void afterPropertiesSet()
public void destroy()