留言板
Get structure id by passing structure name in 6.2
Mayur Patel,修改在7 年前。
Get structure id by passing structure name in 6.2
Expert 帖子: 358 加入日期: 10-11-17 最近的帖子
Hi All,
Do we have any method available to fetch structure id by structure name in Liferay 6.2 version?
Any help would be much appreciated !
Thanks !!
Do we have any method available to fetch structure id by structure name in Liferay 6.2 version?
Any help would be much appreciated !
Thanks !!
Kailash Yadav,修改在7 年前。
RE: Get structure id by passing structure name in 6.2 (答复)
Regular Member 帖子: 211 加入日期: 11-10-18 最近的帖子
No, name column in ddmstructure table is not unique and it store data as xml. You can get list of structure by groupId, name and descriptions:
DDMStructureLocalServiceUtil.getStructure( long groupId, java.lang.String name, java.lang.String description);
Mayur Patel,修改在7 年前。
RE: Get structure id by passing structure name in 6.2
Expert 帖子: 358 加入日期: 10-11-17 最近的帖子
Thanks Kailash !
Right there is no such method where we can get the structure id directly from structure name. so i need to iterate all structures to get the specific structure id.
Thanks !
Right there is no such method where we can get the structure id directly from structure name. so i need to iterate all structures to get the specific structure id.
Thanks !