liferay resourcepermission数据写入问题
有哪个大神能帮帮忙,感激不尽,呵呵,对portletReference和resourcepermission这两张表的数据写入,在liferay的框架源码中哪块有这个实现功能,我们这边原来的代码是通过这样的地址写法:String link2 = themeDisplay.getPortalURL() + "/user/" +themeDisplay.getUser().getScreenName()+"/home?p_p_id=studenthousehonder_WAR_yxxsmainportlet&p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view&p_p_col_id=column-1&p_p_col_pos=3&p_p_col_count=6&_studenthousehonder_WAR_yxxsmainportlet_jspPage=%2Fpages%2Fstudenthousehonder%2FaddChildren.jsp&isShowFlag=false&_studenthousehonder_WAR_yxxsmainportlet_redirect=";访问时,再插入权限允许的数据,从而得到权限,我想知道是怎么的机制去调用到对那两张表的写入数据操作