I hereby claim:
- I am martinlau on github.
- I am msl (https://keybase.io/msl) on keybase.
- I have a public key whose fingerprint is 7682 47A7 93C4 0F6C 3BCC 7816 E4D1 D636 209A D697
To claim this, I am signing this object:
public class SiteCreator { | |
public static void createGroup() throws Exception { | |
// Don't do this! | |
long groupId = CounterLocalServiceUtil.increment(Group.class.getName()); | |
Group group = GroupLocalServiceUtil.createGroup(groupId); | |
group.setName("Test Site"); |
/** | |
* Adds a group. | |
* | |
* @param userId the primary key of the group's creator/owner | |
* @param parentGroupId the primary key of the parent group | |
* @param className the entity's class name | |
* @param classPK the primary key of the entity's instance | |
* @param liveGroupId the primary key of the live group | |
* @param name the entity's name | |
* @param description the group's description (optionally |
I hereby claim:
To claim this, I am signing this object: