Example usage for com.liferay.portal.kernel.util StringPool NULL

List of usage examples for com.liferay.portal.kernel.util StringPool NULL

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.util StringPool NULL.

Prototype

String NULL

To view the source code for com.liferay.portal.kernel.util StringPool NULL.

Click Source Link

Usage

From source file:com.liferay.bootcamp.service.persistence.test.BookPersistenceTest.java

License:Open Source License

@Test
public void testCountBybookAuthorName() throws Exception {
    _persistence.countBybookAuthorName(StringPool.BLANK);

    _persistence.countBybookAuthorName(StringPool.NULL);

    _persistence.countBybookAuthorName((String) null);
}

From source file:com.liferay.calendar.service.persistence.test.CalendarBookingPersistenceTest.java

License:Open Source License

@Test
public void testCountByC_V() throws Exception {
    _persistence.countByC_V(RandomTestUtil.nextLong(), StringPool.BLANK);

    _persistence.countByC_V(0L, StringPool.NULL);

    _persistence.countByC_V(0L, (String) null);
}

From source file:com.liferay.calendar.service.persistence.test.CalendarNotificationTemplatePersistenceTest.java

License:Open Source License

@Test
public void testCountByC_NT_NTT() throws Exception {
    _persistence.countByC_NT_NTT(RandomTestUtil.nextLong(), StringPool.BLANK, StringPool.BLANK);

    _persistence.countByC_NT_NTT(0L, StringPool.NULL, StringPool.NULL);

    _persistence.countByC_NT_NTT(0L, (String) null, (String) null);
}

From source file:com.liferay.calendar.service.persistence.test.CalendarResourcePersistenceTest.java

License:Open Source License

@Test
public void testCountByG_C() throws Exception {
    _persistence.countByG_C(RandomTestUtil.nextLong(), StringPool.BLANK);

    _persistence.countByG_C(0L, StringPool.NULL);

    _persistence.countByG_C(0L, (String) null);
}

From source file:com.liferay.calendar.service.persistence.test.CalendarResourcePersistenceTest.java

License:Open Source License

@Test
public void testCountByC_C_A() throws Exception {
    _persistence.countByC_C_A(RandomTestUtil.nextLong(), StringPool.BLANK, RandomTestUtil.randomBoolean());

    _persistence.countByC_C_A(0L, StringPool.NULL, RandomTestUtil.randomBoolean());

    _persistence.countByC_C_A(0L, (String) null, RandomTestUtil.randomBoolean());
}

From source file:com.liferay.dynamic.data.lists.service.persistence.test.DDLRecordSetPersistenceTest.java

License:Open Source License

@Test
public void testCountByG_R() throws Exception {
    _persistence.countByG_R(RandomTestUtil.nextLong(), StringPool.BLANK);

    _persistence.countByG_R(0L, StringPool.NULL);

    _persistence.countByG_R(0L, (String) null);
}

From source file:com.liferay.dynamic.data.lists.service.persistence.test.DDLRecordSetVersionPersistenceTest.java

License:Open Source License

@Test
public void testCountByRS_V() throws Exception {
    _persistence.countByRS_V(RandomTestUtil.nextLong(), StringPool.BLANK);

    _persistence.countByRS_V(0L, StringPool.NULL);

    _persistence.countByRS_V(0L, (String) null);
}

From source file:com.liferay.dynamic.data.lists.service.persistence.test.DDLRecordVersionPersistenceTest.java

License:Open Source License

@Test
public void testCountByR_V() throws Exception {
    _persistence.countByR_V(RandomTestUtil.nextLong(), StringPool.BLANK);

    _persistence.countByR_V(0L, StringPool.NULL);

    _persistence.countByR_V(0L, (String) null);
}

From source file:com.liferay.invitation.invite.members.service.persistence.test.MemberRequestPersistenceTest.java

License:Open Source License

@Test
public void testCountByKey() throws Exception {
    _persistence.countByKey(StringPool.BLANK);

    _persistence.countByKey(StringPool.NULL);

    _persistence.countByKey((String) null);
}

From source file:com.liferay.journal.service.persistence.test.JournalArticleLocalizationPersistenceTest.java

License:Open Source License

@Test
public void testCountByA_L() throws Exception {
    _persistence.countByA_L(RandomTestUtil.nextLong(), StringPool.BLANK);

    _persistence.countByA_L(0L, StringPool.NULL);

    _persistence.countByA_L(0L, (String) null);
}