本文整理汇总了Java中com.liferay.portal.kernel.util.StringBundler类的典型用法代码示例。如果您正苦于以下问题:Java StringBundler类的具体用法?Java StringBundler怎么用?Java StringBundler使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
StringBundler类属于com.liferay.portal.kernel.util包,在下文中一共展示了StringBundler类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: findByUuid_First
import com.liferay.portal.kernel.util.StringBundler; //导入依赖的package包/类
/**
* Returns the first dict collection 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 dict collection
* @throws NoSuchDictCollectionException if a matching dict collection could not be found
*/
@Override
public DictCollection findByUuid_First(String uuid,
OrderByComparator<DictCollection> orderByComparator)
throws NoSuchDictCollectionException {
DictCollection dictCollection = fetchByUuid_First(uuid,
orderByComparator);
if (dictCollection != null) {
return dictCollection;
}
StringBundler msg = new StringBundler(4);
msg.append(_NO_SUCH_ENTITY_WITH_KEY);
msg.append("uuid=");
msg.append(uuid);
msg.append(StringPool.CLOSE_CURLY_BRACE);
throw new NoSuchDictCollectionException(msg.toString());
}
示例2: findByUuid_Last
import com.liferay.portal.kernel.util.StringBundler; //导入依赖的package包/类
/**
* Returns the last dict collection 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 dict collection
* @throws NoSuchDictCollectionException if a matching dict collection could not be found
*/
@Override
public DictCollection findByUuid_Last(String uuid,
OrderByComparator<DictCollection> orderByComparator)
throws NoSuchDictCollectionException {
DictCollection dictCollection = fetchByUuid_Last(uuid, orderByComparator);
if (dictCollection != null) {
return dictCollection;
}
StringBundler msg = new StringBundler(4);
msg.append(_NO_SUCH_ENTITY_WITH_KEY);
msg.append("uuid=");
msg.append(uuid);
msg.append(StringPool.CLOSE_CURLY_BRACE);
throw new NoSuchDictCollectionException(msg.toString());
}
示例3: findByUuid_C_First
import com.liferay.portal.kernel.util.StringBundler; //导入依赖的package包/类
/**
* Returns the first dict collection 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 dict collection
* @throws NoSuchDictCollectionException if a matching dict collection could not be found
*/
@Override
public DictCollection findByUuid_C_First(String uuid, long companyId,
OrderByComparator<DictCollection> orderByComparator)
throws NoSuchDictCollectionException {
DictCollection dictCollection = fetchByUuid_C_First(uuid, companyId,
orderByComparator);
if (dictCollection != null) {
return dictCollection;
}
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(StringPool.CLOSE_CURLY_BRACE);
throw new NoSuchDictCollectionException(msg.toString());
}
示例4: findByUuid_C_Last
import com.liferay.portal.kernel.util.StringBundler; //导入依赖的package包/类
/**
* Returns the last dict collection 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 last matching dict collection
* @throws NoSuchDictCollectionException if a matching dict collection could not be found
*/
@Override
public DictCollection findByUuid_C_Last(String uuid, long companyId,
OrderByComparator<DictCollection> orderByComparator)
throws NoSuchDictCollectionException {
DictCollection dictCollection = fetchByUuid_C_Last(uuid, companyId,
orderByComparator);
if (dictCollection != null) {
return dictCollection;
}
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(StringPool.CLOSE_CURLY_BRACE);
throw new NoSuchDictCollectionException(msg.toString());
}
示例5: findByF_dictCollectionByGroup_First
import com.liferay.portal.kernel.util.StringBundler; //导入依赖的package包/类
/**
* Returns the first dict collection in the ordered set where groupId = ?.
*
* @param groupId the group ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching dict collection
* @throws NoSuchDictCollectionException if a matching dict collection could not be found
*/
@Override
public DictCollection findByF_dictCollectionByGroup_First(long groupId,
OrderByComparator<DictCollection> orderByComparator)
throws NoSuchDictCollectionException {
DictCollection dictCollection = fetchByF_dictCollectionByGroup_First(groupId,
orderByComparator);
if (dictCollection != null) {
return dictCollection;
}
StringBundler msg = new StringBundler(4);
msg.append(_NO_SUCH_ENTITY_WITH_KEY);
msg.append("groupId=");
msg.append(groupId);
msg.append(StringPool.CLOSE_CURLY_BRACE);
throw new NoSuchDictCollectionException(msg.toString());
}
示例6: findByF_groupId_First
import com.liferay.portal.kernel.util.StringBundler; //导入依赖的package包/类
/**
* Returns the first comment in the ordered set where groupId = ?.
*
* @param groupId the group ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching comment
* @throws NoSuchCommentException if a matching comment could not be found
*/
@Override
public Comment findByF_groupId_First(long groupId,
OrderByComparator<Comment> orderByComparator)
throws NoSuchCommentException {
Comment comment = fetchByF_groupId_First(groupId, orderByComparator);
if (comment != null) {
return comment;
}
StringBundler msg = new StringBundler(4);
msg.append(_NO_SUCH_ENTITY_WITH_KEY);
msg.append("groupId=");
msg.append(groupId);
msg.append(StringPool.CLOSE_CURLY_BRACE);
throw new NoSuchCommentException(msg.toString());
}
示例7: findByUuid_First
import com.liferay.portal.kernel.util.StringBundler; //导入依赖的package包/类
/**
* Returns the first voting 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 voting
* @throws NoSuchVotingException if a matching voting could not be found
*/
@Override
public Voting findByUuid_First(String uuid,
OrderByComparator<Voting> orderByComparator)
throws NoSuchVotingException {
Voting voting = fetchByUuid_First(uuid, orderByComparator);
if (voting != null) {
return voting;
}
StringBundler msg = new StringBundler(4);
msg.append(_NO_SUCH_ENTITY_WITH_KEY);
msg.append("uuid=");
msg.append(uuid);
msg.append(StringPool.CLOSE_CURLY_BRACE);
throw new NoSuchVotingException(msg.toString());
}
示例8: findByUuid_C_First
import com.liferay.portal.kernel.util.StringBundler; //导入依赖的package包/类
/**
* Returns the first voting 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 voting
* @throws NoSuchVotingException if a matching voting could not be found
*/
@Override
public Voting findByUuid_C_First(String uuid, long companyId,
OrderByComparator<Voting> orderByComparator)
throws NoSuchVotingException {
Voting voting = fetchByUuid_C_First(uuid, companyId, orderByComparator);
if (voting != null) {
return voting;
}
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(StringPool.CLOSE_CURLY_BRACE);
throw new NoSuchVotingException(msg.toString());
}
示例9: findByUuid_C_Last
import com.liferay.portal.kernel.util.StringBundler; //导入依赖的package包/类
/**
* Returns the last voting 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 last matching voting
* @throws NoSuchVotingException if a matching voting could not be found
*/
@Override
public Voting findByUuid_C_Last(String uuid, long companyId,
OrderByComparator<Voting> orderByComparator)
throws NoSuchVotingException {
Voting voting = fetchByUuid_C_Last(uuid, companyId, orderByComparator);
if (voting != null) {
return voting;
}
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(StringPool.CLOSE_CURLY_BRACE);
throw new NoSuchVotingException(msg.toString());
}
示例10: findByUuid_C_First
import com.liferay.portal.kernel.util.StringBundler; //导入依赖的package包/类
/**
* Returns the first voting result 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 voting result
* @throws NoSuchVotingResultException if a matching voting result could not be found
*/
@Override
public VotingResult findByUuid_C_First(String uuid, long companyId,
OrderByComparator<VotingResult> orderByComparator)
throws NoSuchVotingResultException {
VotingResult votingResult = fetchByUuid_C_First(uuid, companyId,
orderByComparator);
if (votingResult != null) {
return votingResult;
}
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(StringPool.CLOSE_CURLY_BRACE);
throw new NoSuchVotingResultException(msg.toString());
}
示例11: findByUuid_Last
import com.liferay.portal.kernel.util.StringBundler; //导入依赖的package包/类
/**
* Returns the last dict item 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 dict item
* @throws NoSuchDictItemException if a matching dict item could not be found
*/
@Override
public DictItem findByUuid_Last(String uuid,
OrderByComparator<DictItem> orderByComparator)
throws NoSuchDictItemException {
DictItem dictItem = fetchByUuid_Last(uuid, orderByComparator);
if (dictItem != null) {
return dictItem;
}
StringBundler msg = new StringBundler(4);
msg.append(_NO_SUCH_ENTITY_WITH_KEY);
msg.append("uuid=");
msg.append(uuid);
msg.append(StringPool.CLOSE_CURLY_BRACE);
throw new NoSuchDictItemException(msg.toString());
}
示例12: findByF_groupId_Last
import com.liferay.portal.kernel.util.StringBundler; //导入依赖的package包/类
/**
* Returns the last comment in the ordered set where groupId = ?.
*
* @param groupId the group ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching comment
* @throws NoSuchCommentException if a matching comment could not be found
*/
@Override
public Comment findByF_groupId_Last(long groupId,
OrderByComparator<Comment> orderByComparator)
throws NoSuchCommentException {
Comment comment = fetchByF_groupId_Last(groupId, orderByComparator);
if (comment != null) {
return comment;
}
StringBundler msg = new StringBundler(4);
msg.append(_NO_SUCH_ENTITY_WITH_KEY);
msg.append("groupId=");
msg.append(groupId);
msg.append(StringPool.CLOSE_CURLY_BRACE);
throw new NoSuchCommentException(msg.toString());
}
示例13: findByUuid_C_Last
import com.liferay.portal.kernel.util.StringBundler; //导入依赖的package包/类
/**
* Returns the last dict item 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 last matching dict item
* @throws NoSuchDictItemException if a matching dict item could not be found
*/
@Override
public DictItem findByUuid_C_Last(String uuid, long companyId,
OrderByComparator<DictItem> orderByComparator)
throws NoSuchDictItemException {
DictItem dictItem = fetchByUuid_C_Last(uuid, companyId,
orderByComparator);
if (dictItem != null) {
return dictItem;
}
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(StringPool.CLOSE_CURLY_BRACE);
throw new NoSuchDictItemException(msg.toString());
}
示例14: findByF_dictCollectionId_Last
import com.liferay.portal.kernel.util.StringBundler; //导入依赖的package包/类
/**
* Returns the last dict item in the ordered set where dictCollectionId = ?.
*
* @param dictCollectionId the dict collection ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the last matching dict item
* @throws NoSuchDictItemException if a matching dict item could not be found
*/
@Override
public DictItem findByF_dictCollectionId_Last(long dictCollectionId,
OrderByComparator<DictItem> orderByComparator)
throws NoSuchDictItemException {
DictItem dictItem = fetchByF_dictCollectionId_Last(dictCollectionId,
orderByComparator);
if (dictItem != null) {
return dictItem;
}
StringBundler msg = new StringBundler(4);
msg.append(_NO_SUCH_ENTITY_WITH_KEY);
msg.append("dictCollectionId=");
msg.append(dictCollectionId);
msg.append(StringPool.CLOSE_CURLY_BRACE);
throw new NoSuchDictItemException(msg.toString());
}
示例15: findByF_dictItemByGroup_First
import com.liferay.portal.kernel.util.StringBundler; //导入依赖的package包/类
/**
* Returns the first dict item in the ordered set where dictCollectionId = ? and groupId = ?.
*
* @param dictCollectionId the dict collection ID
* @param groupId the group ID
* @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
* @return the first matching dict item
* @throws NoSuchDictItemException if a matching dict item could not be found
*/
@Override
public DictItem findByF_dictItemByGroup_First(long dictCollectionId,
long groupId, OrderByComparator<DictItem> orderByComparator)
throws NoSuchDictItemException {
DictItem dictItem = fetchByF_dictItemByGroup_First(dictCollectionId,
groupId, orderByComparator);
if (dictItem != null) {
return dictItem;
}
StringBundler msg = new StringBundler(6);
msg.append(_NO_SUCH_ENTITY_WITH_KEY);
msg.append("dictCollectionId=");
msg.append(dictCollectionId);
msg.append(", groupId=");
msg.append(groupId);
msg.append(StringPool.CLOSE_CURLY_BRACE);
throw new NoSuchDictItemException(msg.toString());
}