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

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

Introduction

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

Prototype

String BLANK

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

Click Source Link

Usage

From source file:at.meduni.liferay.portlet.bbmrieric.model.impl.D2BiobankCacheModel.java

License:Open Source License

@Override
public void writeExternal(ObjectOutput objectOutput) throws IOException {
    if (uuid == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {//from ww w .j  ava2  s . c o m
        objectOutput.writeUTF(uuid);
    }

    objectOutput.writeLong(biobankId);
    objectOutput.writeInt(status);
    objectOutput.writeLong(statusByUserId);

    if (statusByUserName == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {
        objectOutput.writeUTF(statusByUserName);
    }

    objectOutput.writeLong(statusDate);
    objectOutput.writeLong(companyId);
    objectOutput.writeLong(groupId);
    objectOutput.writeLong(userId);

    if (userName == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {
        objectOutput.writeUTF(userName);
    }

    objectOutput.writeLong(createDate);
    objectOutput.writeLong(modifiedDate);

    if (updateuuid == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {
        objectOutput.writeUTF(updateuuid);
    }

    if (contactIDRef == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {
        objectOutput.writeUTF(contactIDRef);
    }

    objectOutput.writeLong(contactPriority);

    if (bbmribiobankID == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {
        objectOutput.writeUTF(bbmribiobankID);
    }

    if (biobankName == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {
        objectOutput.writeUTF(biobankName);
    }

    if (biobankJurisdicalPerson == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {
        objectOutput.writeUTF(biobankJurisdicalPerson);
    }

    if (biobankCountry == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {
        objectOutput.writeUTF(biobankCountry);
    }

    objectOutput.writeBoolean(biobankPartnerCharterSigned);

    if (bioresourceReference == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {
        objectOutput.writeUTF(bioresourceReference);
    }

    if (biobankNetworkIDRef == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {
        objectOutput.writeUTF(biobankNetworkIDRef);
    }

    if (geoLatitude == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {
        objectOutput.writeUTF(geoLatitude);
    }

    if (geoLongitude == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {
        objectOutput.writeUTF(geoLongitude);
    }

    objectOutput.writeBoolean(collaborationPartnersCommercial);
    objectOutput.writeBoolean(collaborationPartnersNonforprofit);
    objectOutput.writeBoolean(biobankITSupportAvailable);
    objectOutput.writeLong(biobankITStaffSize);
    objectOutput.writeBoolean(biobankISAvailable);
    objectOutput.writeBoolean(biobankHISAvailable);

    if (biobankAcronym == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {
        objectOutput.writeUTF(biobankAcronym);
    }

    if (biobankDescription == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {
        objectOutput.writeUTF(biobankDescription);
    }

    if (biobankURL == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {
        objectOutput.writeUTF(biobankURL);
    }

    if (biobankHeadFirstName == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {
        objectOutput.writeUTF(biobankHeadFirstName);
    }

    if (biobankHeadLastName == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {
        objectOutput.writeUTF(biobankHeadLastName);
    }

    if (biobankHeadRole == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {
        objectOutput.writeUTF(biobankHeadRole);
    }

    objectOutput.writeBoolean(biobankClinical);
    objectOutput.writeBoolean(biobankPopulation);
    objectOutput.writeBoolean(biobankResearchStudy);
    objectOutput.writeBoolean(biobankNonHuman);
    objectOutput.writeBoolean(biobankCollection);

    if (biobankType == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {
        objectOutput.writeUTF(biobankType);
    }
}

From source file:at.meduni.liferay.portlet.bbmrieric.model.impl.D2BiobankModelImpl.java

License:Open Source License

@JSON
@Override// w ww  .  j  av a2s  . c o m
public String getUuid() {
    if (_uuid == null) {
        return StringPool.BLANK;
    } else {
        return _uuid;
    }
}

From source file:at.meduni.liferay.portlet.bbmrieric.model.impl.D2BiobankModelImpl.java

License:Open Source License

@JSON
@Override//from   www.ja  v a2 s.  c  o  m
public String getStatusByUserName() {
    if (_statusByUserName == null) {
        return StringPool.BLANK;
    } else {
        return _statusByUserName;
    }
}

From source file:at.meduni.liferay.portlet.bbmrieric.model.impl.D2BiobankModelImpl.java

License:Open Source License

@JSON
@Override//from w  w  w .ja v  a2s  . c o m
public String getUpdateuuid() {
    if (_updateuuid == null) {
        return StringPool.BLANK;
    } else {
        return _updateuuid;
    }
}

From source file:at.meduni.liferay.portlet.bbmrieric.model.impl.D2BiobankModelImpl.java

License:Open Source License

@JSON
@Override/*  w  w  w. j a va2  s .  c  o m*/
public String getContactIDRef() {
    if (_contactIDRef == null) {
        return StringPool.BLANK;
    } else {
        return _contactIDRef;
    }
}

From source file:at.meduni.liferay.portlet.bbmrieric.model.impl.D2BiobankModelImpl.java

License:Open Source License

@JSON
@Override/*from ww w . ja  v a  2 s. com*/
public String getBbmribiobankID() {
    if (_bbmribiobankID == null) {
        return StringPool.BLANK;
    } else {
        return _bbmribiobankID;
    }
}

From source file:at.meduni.liferay.portlet.bbmrieric.model.impl.D2BiobankModelImpl.java

License:Open Source License

@JSON
@Override/*from   w ww.jav a  2  s  .  c om*/
public String getBiobankName() {
    if (_biobankName == null) {
        return StringPool.BLANK;
    } else {
        return _biobankName;
    }
}

From source file:at.meduni.liferay.portlet.bbmrieric.model.impl.D2BiobankModelImpl.java

License:Open Source License

@JSON
@Override/*w  w  w . j  a  v  a 2 s  .  c o m*/
public String getBiobankJurisdicalPerson() {
    if (_biobankJurisdicalPerson == null) {
        return StringPool.BLANK;
    } else {
        return _biobankJurisdicalPerson;
    }
}

From source file:at.meduni.liferay.portlet.bbmrieric.model.impl.D2BiobankModelImpl.java

License:Open Source License

@JSON
@Override//from ww  w .  j a  v  a  2 s. c  o m
public String getBiobankCountry() {
    if (_biobankCountry == null) {
        return StringPool.BLANK;
    } else {
        return _biobankCountry;
    }
}

From source file:at.meduni.liferay.portlet.bbmrieric.model.impl.D2BiobankModelImpl.java

License:Open Source License

@JSON
@Override//from  w w w.  j av  a 2  s.  c om
public String getBioresourceReference() {
    if (_bioresourceReference == null) {
        return StringPool.BLANK;
    } else {
        return _bioresourceReference;
    }
}