List of usage examples for com.liferay.portal.kernel.util StringPool BLANK
String BLANK
To view the source code for com.liferay.portal.kernel.util StringPool BLANK.
Click Source Link
From source file:at.meduni.liferay.portlet.bbmrieric.model.impl.BioBankModelImpl.java
License:Open Source License
@Override public String getBiobanktype() { if (_biobanktype == null) { return StringPool.BLANK; } else {/*from ww w . ja v a2s .c o m*/ return _biobanktype; } }
From source file:at.meduni.liferay.portlet.bbmrieric.model.impl.BioBankModelImpl.java
License:Open Source License
@Override public String getBiobanksize() { if (_biobanksize == null) { return StringPool.BLANK; } else {//www .j av a 2s . co m return _biobanksize; } }
From source file:at.meduni.liferay.portlet.bbmrieric.model.impl.BioBankModelImpl.java
License:Open Source License
@Override public String getBiobankdescription() { if (_biobankdescription == null) { return StringPool.BLANK; } else {// w w w . java2s. c om return _biobankdescription; } }
From source file:at.meduni.liferay.portlet.bbmrieric.model.impl.BioBankModelImpl.java
License:Open Source License
@Override public String getBiobankjuristicperson() { if (_biobankjuristicperson == null) { return StringPool.BLANK; } else {/*w ww. j a v a2 s. c om*/ return _biobankjuristicperson; } }
From source file:at.meduni.liferay.portlet.bbmrieric.model.impl.BioBankModelImpl.java
License:Open Source License
@Override public String getUUID() { if (_UUID == null) { return StringPool.BLANK; } else {//from ww w. j a v a 2s. com return _UUID; } }
From source file:at.meduni.liferay.portlet.bbmrieric.model.impl.ContactInformationCacheModel.java
License:Open Source License
@Override public ContactInformation toEntityModel() { ContactInformationImpl contactInformationImpl = new ContactInformationImpl(); if (uuid == null) { contactInformationImpl.setUuid(StringPool.BLANK); } else {//from ww w .j ava 2s. c o m contactInformationImpl.setUuid(uuid); } contactInformationImpl.setContactinformationId(contactinformationId); contactInformationImpl.setCompanyId(companyId); contactInformationImpl.setGroupId(groupId); contactInformationImpl.setUserId(userId); if (userName == null) { contactInformationImpl.setUserName(StringPool.BLANK); } else { contactInformationImpl.setUserName(userName); } if (createDate == Long.MIN_VALUE) { contactInformationImpl.setCreateDate(null); } else { contactInformationImpl.setCreateDate(new Date(createDate)); } if (modifiedDate == Long.MIN_VALUE) { contactInformationImpl.setModifiedDate(null); } else { contactInformationImpl.setModifiedDate(new Date(modifiedDate)); } if (updateuuid == null) { contactInformationImpl.setUpdateuuid(StringPool.BLANK); } else { contactInformationImpl.setUpdateuuid(updateuuid); } if (contactID == null) { contactInformationImpl.setContactID(StringPool.BLANK); } else { contactInformationImpl.setContactID(contactID); } if (contactEmail == null) { contactInformationImpl.setContactEmail(StringPool.BLANK); } else { contactInformationImpl.setContactEmail(contactEmail); } if (contactCountry == null) { contactInformationImpl.setContactCountry(StringPool.BLANK); } else { contactInformationImpl.setContactCountry(contactCountry); } if (contactFirstName == null) { contactInformationImpl.setContactFirstName(StringPool.BLANK); } else { contactInformationImpl.setContactFirstName(contactFirstName); } if (contactLastName == null) { contactInformationImpl.setContactLastName(StringPool.BLANK); } else { contactInformationImpl.setContactLastName(contactLastName); } if (contactPhone == null) { contactInformationImpl.setContactPhone(StringPool.BLANK); } else { contactInformationImpl.setContactPhone(contactPhone); } if (contactAddress == null) { contactInformationImpl.setContactAddress(StringPool.BLANK); } else { contactInformationImpl.setContactAddress(contactAddress); } if (contactZIP == null) { contactInformationImpl.setContactZIP(StringPool.BLANK); } else { contactInformationImpl.setContactZIP(contactZIP); } if (contactCity == null) { contactInformationImpl.setContactCity(StringPool.BLANK); } else { contactInformationImpl.setContactCity(contactCity); } contactInformationImpl.resetOriginalValues(); return contactInformationImpl; }
From source file:at.meduni.liferay.portlet.bbmrieric.model.impl.ContactInformationCacheModel.java
License:Open Source License
@Override public void writeExternal(ObjectOutput objectOutput) throws IOException { if (uuid == null) { objectOutput.writeUTF(StringPool.BLANK); } else {// w w w. jav a 2s. c o m objectOutput.writeUTF(uuid); } objectOutput.writeLong(contactinformationId); 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 (contactID == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(contactID); } if (contactEmail == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(contactEmail); } if (contactCountry == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(contactCountry); } if (contactFirstName == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(contactFirstName); } if (contactLastName == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(contactLastName); } if (contactPhone == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(contactPhone); } if (contactAddress == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(contactAddress); } if (contactZIP == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(contactZIP); } if (contactCity == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(contactCity); } }
From source file:at.meduni.liferay.portlet.bbmrieric.model.impl.ContactInformationModelImpl.java
License:Open Source License
@Override public String getUuid() { if (_uuid == null) { return StringPool.BLANK; } else {//from w ww .j av a2 s . c om return _uuid; } }
From source file:at.meduni.liferay.portlet.bbmrieric.model.impl.ContactInformationModelImpl.java
License:Open Source License
@Override public String getUserName() { if (_userName == null) { return StringPool.BLANK; } else {/*from w ww. j a v a2s.c o m*/ return _userName; } }
From source file:at.meduni.liferay.portlet.bbmrieric.model.impl.ContactInformationModelImpl.java
License:Open Source License
@Override public String getUpdateuuid() { if (_updateuuid == null) { return StringPool.BLANK; } else {//from ww w . j ava 2 s . co m return _updateuuid; } }