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.journal.service.persistence.test.JournalArticlePersistenceTest.java

License:Open Source License

@Test
public void testCountByG_NotLArrayable() throws Exception {
    _persistence.countByG_NotL(RandomTestUtil.nextLong(),
            new String[] { RandomTestUtil.randomString(), StringPool.BLANK, StringPool.NULL, null, null });
}

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

License:Open Source License

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

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

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

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

License:Open Source License

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

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

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

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

License:Open Source License

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

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

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

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

License:Open Source License

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

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

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

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

License:Open Source License

@Test
public void testCountByG_A_V() throws Exception {
    _persistence.countByG_A_V(RandomTestUtil.nextLong(), StringPool.BLANK, RandomTestUtil.nextDouble());

    _persistence.countByG_A_V(0L, StringPool.NULL, 0D);

    _persistence.countByG_A_V(0L, (String) null, 0D);
}

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

License:Open Source License

@Test
public void testCountByG_A_ST() throws Exception {
    _persistence.countByG_A_ST(RandomTestUtil.nextLong(), StringPool.BLANK, RandomTestUtil.nextInt());

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

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

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

License:Open Source License

@Test
public void testCountByG_A_NotST() throws Exception {
    _persistence.countByG_A_NotST(RandomTestUtil.nextLong(), StringPool.BLANK, RandomTestUtil.nextInt());

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

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

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

License:Open Source License

@Test
public void testCountByG_UT_ST() throws Exception {
    _persistence.countByG_UT_ST(RandomTestUtil.nextLong(), StringPool.BLANK, RandomTestUtil.nextInt());

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

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

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

License:Open Source License

@Test
public void testCountByPortletId() throws Exception {
    _persistence.countByPortletId(StringPool.BLANK);

    _persistence.countByPortletId(StringPool.NULL);

    _persistence.countByPortletId((String) null);
}