public Entity createGroupRole( UUID id, String role, int inactivity ) throws Exception { return em.createGroupRole( id, role, inactivity ); }
UUID groupId = headEntity.getUuid(); String roleName = ( String ) properties.get( PROPERTY_NAME ); return em.createGroupRole( groupId, roleName, ( Long ) properties.get( PROPERTY_INACTIVITY ) );
em.createGroupRole( group.getUuid(), "admin", 0 ); em.createGroupRole( group.getUuid(), "author", 100000 );