[开发] liferay 控制portlet 下每一个button,该怎么做

nhy338 2012-08-27
portlet下,有三个button,用户一看到button1,用户二看到button2,以此类推,该怎么做,我现在调用
ResourceLocalServiceUtil.addResources(long companyId, long groupId,
long userId,
java.lang.String name,
long primKey,
boolean portletActions,
boolean addCommunityPermissions, boolean addGuestPermissions),添加资源,资源再分给权限,不知道思路对不,可是参数都什么意思,怎么调啊,求大牛详解,
Global site tag (gtag.js) - Google Analytics