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.JournalContentSearchPersistenceTest.java

License:Open Source License

@Test
public void testCountByArticleId() throws Exception {
    _persistence.countByArticleId(StringPool.BLANK);

    _persistence.countByArticleId(StringPool.NULL);

    _persistence.countByArticleId((String) null);
}

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

License:Open Source License

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

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

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

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

License:Open Source License

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

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

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

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

License:Open Source License

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

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

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

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

License:Open Source License

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

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

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

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

License:Open Source License

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

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

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

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

License:Open Source License

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

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

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

From source file:com.liferay.marketplace.service.persistence.test.AppPersistenceTest.java

License:Open Source License

@Test
public void testCountByCategory() throws Exception {
    _persistence.countByCategory(StringPool.BLANK);

    _persistence.countByCategory(StringPool.NULL);

    _persistence.countByCategory((String) null);
}

From source file:com.liferay.marketplace.service.persistence.test.ModulePersistenceTest.java

License:Open Source License

@Test
public void testCountByBundleSymbolicName() throws Exception {
    _persistence.countByBundleSymbolicName(StringPool.BLANK);

    _persistence.countByBundleSymbolicName(StringPool.NULL);

    _persistence.countByBundleSymbolicName((String) null);
}

From source file:com.liferay.marketplace.service.persistence.test.ModulePersistenceTest.java

License:Open Source License

@Test
public void testCountByContextName() throws Exception {
    _persistence.countByContextName(StringPool.BLANK);

    _persistence.countByContextName(StringPool.NULL);

    _persistence.countByContextName((String) null);
}