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 testCountByDDMStructureKey() throws Exception {
    _persistence.countByDDMStructureKey(StringPool.BLANK);

    _persistence.countByDDMStructureKey(StringPool.NULL);

    _persistence.countByDDMStructureKey((String) null);
}

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

License:Open Source License

@Test
public void testCountByDDMStructureKeyArrayable() throws Exception {
    _persistence.countByDDMStructureKey(
            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 testCountByDDMTemplateKey() throws Exception {
    _persistence.countByDDMTemplateKey(StringPool.BLANK);

    _persistence.countByDDMTemplateKey(StringPool.NULL);

    _persistence.countByDDMTemplateKey((String) null);
}

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

License:Open Source License

@Test
public void testCountByLayoutUuid() throws Exception {
    _persistence.countByLayoutUuid(StringPool.BLANK);

    _persistence.countByLayoutUuid(StringPool.NULL);

    _persistence.countByLayoutUuid((String) null);
}

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

License:Open Source License

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

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

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

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

License:Open Source License

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

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

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

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

License:Open Source License

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

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

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

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

License:Open Source License

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

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

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

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

License:Open Source License

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

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

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

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

License:Open Source License

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

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

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