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:blade.servicebuilder.service.persistence.test.FooPersistenceTest.java

License:Open Source License

@Test
public void testCountByUuid() throws Exception {
    _persistence.countByUuid(StringPool.BLANK);

    _persistence.countByUuid(StringPool.NULL);

    _persistence.countByUuid((String) null);
}

From source file:blade.servicebuilder.service.persistence.test.FooPersistenceTest.java

License:Open Source License

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

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

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

From source file:blade.servicebuilder.service.persistence.test.FooPersistenceTest.java

License:Open Source License

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

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

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

From source file:com.bemis.portal.customer.service.persistence.test.CustomerLocationPersistenceTest.java

License:Open Source License

@Test
public void testCountByBemisCustomerId() throws Exception {
    _persistence.countByBemisCustomerId(StringPool.BLANK);

    _persistence.countByBemisCustomerId(StringPool.NULL);

    _persistence.countByBemisCustomerId((String) null);
}

From source file:com.bemis.portal.customer.service.persistence.test.CustomerLocationPersistenceTest.java

License:Open Source License

@Test
public void testCountByBemisParentId() throws Exception {
    _persistence.countByBemisParentId(StringPool.BLANK);

    _persistence.countByBemisParentId(StringPool.NULL);

    _persistence.countByBemisParentId((String) null);
}

From source file:com.bemis.portal.customer.service.persistence.test.CustomerLocationPersistenceTest.java

License:Open Source License

@Test
public void testCountByCustomerActiveStatusCde() throws Exception {
    _persistence.countByCustomerActiveStatusCde(StringPool.BLANK);

    _persistence.countByCustomerActiveStatusCde(StringPool.NULL);

    _persistence.countByCustomerActiveStatusCde((String) null);
}

From source file:com.bemis.portal.customer.service.persistence.test.CustomerLocationPersistenceTest.java

License:Open Source License

@Test
public void testCountByCustomerName_CustomerCity() throws Exception {
    _persistence.countByCustomerName_CustomerCity(StringPool.BLANK, StringPool.BLANK);

    _persistence.countByCustomerName_CustomerCity(StringPool.NULL, StringPool.NULL);

    _persistence.countByCustomerName_CustomerCity((String) null, (String) null);
}

From source file:com.bemis.portal.order.service.persistence.test.OrderPersistenceTest.java

License:Open Source License

@Test
public void testCountByBemisCustId() throws Exception {
    _persistence.countByBemisCustId(StringPool.BLANK);

    _persistence.countByBemisCustId(StringPool.NULL);

    _persistence.countByBemisCustId((String) null);
}

From source file:com.bemis.portal.order.service.persistence.test.OrderPersistenceTest.java

License:Open Source License

@Test
public void testCountByItemNo() throws Exception {
    _persistence.countByItemNo(StringPool.BLANK);

    _persistence.countByItemNo(StringPool.NULL);

    _persistence.countByItemNo((String) null);
}

From source file:com.bemis.portal.order.service.persistence.test.OrderPersistenceTest.java

License:Open Source License

@Test
public void testCountByProductId() throws Exception {
    _persistence.countByProductId(StringPool.BLANK);

    _persistence.countByProductId(StringPool.NULL);

    _persistence.countByProductId((String) null);
}