留言板
AssetEntryLocalServiceUtil.getAssetTagAssetEntries(tagId)
Rajeev K,修改在8 年前。
AssetEntryLocalServiceUtil.getAssetTagAssetEntries(tagId)
Regular Member 帖子: 214 加入日期: 09-6-19 最近的帖子
Using 6.1.1 CE
How do I get this in 6.1.1?
This is available in 6.1.2 though.
AssetEntryLocalServiceUtil.getAssetTagAssetEntries(tagId)
How do I get the query, that it is using behind the scenes?
How do I get this in 6.1.1?
This is available in 6.1.2 though.
AssetEntryLocalServiceUtil.getAssetTagAssetEntries(tagId)
How do I get the query, that it is using behind the scenes?
Sushil Patidar,修改在8 年前。
RE: AssetEntryLocalServiceUtil.getAssetTagAssetEntries(tagId)
Expert 帖子: 467 加入日期: 11-10-31 最近的帖子
Hi,
Do you mean you need to see the query formed?
Regards
Do you mean you need to see the query formed?
Regards
Rajeev K,修改在8 年前。
RE: AssetEntryLocalServiceUtil.getAssetTagAssetEntries(tagId) (答复)
Regular Member 帖子: 214 加入日期: 09-6-19 最近的帖子Sushil Patidar:
Hi,
Do you mean you need to see the query formed?
Regards
Yes I got it via
AssetTag assetTag = AssetTagLocalServiceUtil.getTag(scopeGroupId, requestedTagName);
long assetTagId[] = {assetTag.getTagId()};
AssetEntryQuery query = new AssetEntryQuery();
query.setAnyTagIds(assetTagId);
List<AssetEntry> results = AssetEntryLocalServiceUtil.getEntries(query);