use of com.liferay.blade.workflow.basic.model.Baz in project liferay-blade-samples by liferay.
the class BazPersistenceImpl method findByUuid_C_First.
/**
* Returns the first baz in the ordered set where uuid = ? and companyId = ?.
*
* @param uuid the uuid
* @param companyId the company ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching baz
* @throws NoSuchBazException if a matching baz could not be found
*/
@Override
public Baz findByUuid_C_First(String uuid, long companyId, OrderByComparator<Baz> orderByComparator) throws NoSuchBazException {
Baz baz = fetchByUuid_C_First(uuid, companyId, orderByComparator);
if (baz != null) {
return baz;
}
StringBundler msg = new StringBundler(6);
msg.append(_NO_SUCH_ENTITY_WITH_KEY);
msg.append("uuid=");
msg.append(uuid);
msg.append(", companyId=");
msg.append(companyId);
msg.append("}");
throw new NoSuchBazException(msg.toString());
}
use of com.liferay.blade.workflow.basic.model.Baz in project liferay-blade-samples by liferay.
the class BazPersistenceImpl method findByUuid_Last.
/**
* Returns the last baz in the ordered set where uuid = ?.
*
* @param uuid the uuid
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching baz
* @throws NoSuchBazException if a matching baz could not be found
*/
@Override
public Baz findByUuid_Last(String uuid, OrderByComparator<Baz> orderByComparator) throws NoSuchBazException {
Baz baz = fetchByUuid_Last(uuid, orderByComparator);
if (baz != null) {
return baz;
}
StringBundler msg = new StringBundler(4);
msg.append(_NO_SUCH_ENTITY_WITH_KEY);
msg.append("uuid=");
msg.append(uuid);
msg.append("}");
throw new NoSuchBazException(msg.toString());
}
use of com.liferay.blade.workflow.basic.model.Baz in project liferay-blade-samples by liferay.
the class BazPersistenceImpl method clearCache.
@Override
public void clearCache(List<Baz> bazs) {
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
for (Baz baz : bazs) {
entityCache.removeResult(entityCacheEnabled, BazImpl.class, baz.getPrimaryKey());
clearUniqueFindersCache((BazModelImpl) baz, true);
}
}
use of com.liferay.blade.workflow.basic.model.Baz in project liferay-blade-samples by liferay.
the class BazPersistenceImpl method findByUUID_G.
/**
* Returns the baz where uuid = ? and groupId = ? or throws a <code>NoSuchBazException</code> if it could not be found.
*
* @param uuid the uuid
* @param groupId the group ID
* @return the matching baz
* @throws NoSuchBazException if a matching baz could not be found
*/
@Override
public Baz findByUUID_G(String uuid, long groupId) throws NoSuchBazException {
Baz baz = fetchByUUID_G(uuid, groupId);
if (baz == null) {
StringBundler msg = new StringBundler(6);
msg.append(_NO_SUCH_ENTITY_WITH_KEY);
msg.append("uuid=");
msg.append(uuid);
msg.append(", groupId=");
msg.append(groupId);
msg.append("}");
if (_log.isDebugEnabled()) {
_log.debug(msg.toString());
}
throw new NoSuchBazException(msg.toString());
}
return baz;
}
use of com.liferay.blade.workflow.basic.model.Baz in project liferay-blade-samples by liferay.
the class BazPersistenceImpl method findByUuid_First.
/**
* Returns the first baz in the ordered set where uuid = ?.
*
* @param uuid the uuid
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching baz
* @throws NoSuchBazException if a matching baz could not be found
*/
@Override
public Baz findByUuid_First(String uuid, OrderByComparator<Baz> orderByComparator) throws NoSuchBazException {
Baz baz = fetchByUuid_First(uuid, orderByComparator);
if (baz != null) {
return baz;
}
StringBundler msg = new StringBundler(4);
msg.append(_NO_SUCH_ENTITY_WITH_KEY);
msg.append("uuid=");
msg.append(uuid);
msg.append("}");
throw new NoSuchBazException(msg.toString());
}
Aggregations