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.graz.meduni.liferay.portlet.bibbox.model.impl.OrganizationSearchIndexModelImpl.java
License:Open Source License
@Override public String getSearchvalue() { if (_searchvalue == null) { return StringPool.BLANK; } else {/*w ww .ja v a 2 s .co m*/ return _searchvalue; } }
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.OrphanetDisorderCacheModel.java
License:Open Source License
@Override public OrphanetDisorder toEntityModel() { OrphanetDisorderImpl orphanetDisorderImpl = new OrphanetDisorderImpl(); orphanetDisorderImpl.setOrphanetdisorderId(orphanetdisorderId); orphanetDisorderImpl.setOrphanumber(orphanumber); if (orpahnetlink == null) { orphanetDisorderImpl.setOrpahnetlink(StringPool.BLANK); } else {//ww w . jav a 2 s .c o m orphanetDisorderImpl.setOrpahnetlink(orpahnetlink); } if (diseasename == null) { orphanetDisorderImpl.setDiseasename(StringPool.BLANK); } else { orphanetDisorderImpl.setDiseasename(diseasename); } orphanetDisorderImpl.resetOriginalValues(); return orphanetDisorderImpl; }
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.OrphanetDisorderCacheModel.java
License:Open Source License
@Override public void writeExternal(ObjectOutput objectOutput) throws IOException { objectOutput.writeLong(orphanetdisorderId); objectOutput.writeLong(orphanumber); if (orpahnetlink == null) { objectOutput.writeUTF(StringPool.BLANK); } else {//from w ww .ja v a2 s .c o m objectOutput.writeUTF(orpahnetlink); } if (diseasename == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(diseasename); } }
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.OrphanetDisorderModelImpl.java
License:Open Source License
@JSON @Override// w ww . j av a 2 s . c om public String getOrpahnetlink() { if (_orpahnetlink == null) { return StringPool.BLANK; } else { return _orpahnetlink; } }
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.OrphanetDisorderModelImpl.java
License:Open Source License
@JSON @Override/*from w w w. j a v a 2 s.com*/ public String getDiseasename() { if (_diseasename == null) { return StringPool.BLANK; } else { return _diseasename; } }
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.OrphanetReferenceCacheModel.java
License:Open Source License
@Override public OrphanetReference toEntityModel() { OrphanetReferenceImpl orphanetReferenceImpl = new OrphanetReferenceImpl(); orphanetReferenceImpl.setOrphanetreferenceId(orphanetreferenceId); orphanetReferenceImpl.setOrphanetdisorderId(orphanetdisorderId); if (source == null) { orphanetReferenceImpl.setSource(StringPool.BLANK); } else {/* w w w .j a v a 2s. co m*/ orphanetReferenceImpl.setSource(source); } if (reference == null) { orphanetReferenceImpl.setReference(StringPool.BLANK); } else { orphanetReferenceImpl.setReference(reference); } orphanetReferenceImpl.setDisordermappingrelation(disordermappingrelation); orphanetReferenceImpl.setDisordermappingrelationorphanumber(disordermappingrelationorphanumber); if (disordermappingrelationname == null) { orphanetReferenceImpl.setDisordermappingrelationname(StringPool.BLANK); } else { orphanetReferenceImpl.setDisordermappingrelationname(disordermappingrelationname); } orphanetReferenceImpl.setDisordermappingicdrelation(disordermappingicdrelation); orphanetReferenceImpl.setDisordermappingicdrelationorphanumber(disordermappingicdrelationorphanumber); if (disordermappingicdrelationname == null) { orphanetReferenceImpl.setDisordermappingicdrelationname(StringPool.BLANK); } else { orphanetReferenceImpl.setDisordermappingicdrelationname(disordermappingicdrelationname); } orphanetReferenceImpl.setDisordermappingvalidationstatus(disordermappingvalidationstatus); orphanetReferenceImpl .setDisordermappingvalidationstatusorphanumber(disordermappingvalidationstatusorphanumber); if (disordermappingvalidationstatusname == null) { orphanetReferenceImpl.setDisordermappingvalidationstatusname(StringPool.BLANK); } else { orphanetReferenceImpl.setDisordermappingvalidationstatusname(disordermappingvalidationstatusname); } orphanetReferenceImpl.resetOriginalValues(); return orphanetReferenceImpl; }
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.OrphanetReferenceCacheModel.java
License:Open Source License
@Override public void writeExternal(ObjectOutput objectOutput) throws IOException { objectOutput.writeLong(orphanetreferenceId); objectOutput.writeLong(orphanetdisorderId); if (source == null) { objectOutput.writeUTF(StringPool.BLANK); } else {/*from w w w.j a v a2 s .c o m*/ objectOutput.writeUTF(source); } if (reference == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(reference); } objectOutput.writeLong(disordermappingrelation); objectOutput.writeLong(disordermappingrelationorphanumber); if (disordermappingrelationname == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(disordermappingrelationname); } objectOutput.writeLong(disordermappingicdrelation); objectOutput.writeLong(disordermappingicdrelationorphanumber); if (disordermappingicdrelationname == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(disordermappingicdrelationname); } objectOutput.writeLong(disordermappingvalidationstatus); objectOutput.writeLong(disordermappingvalidationstatusorphanumber); if (disordermappingvalidationstatusname == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(disordermappingvalidationstatusname); } }
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.OrphanetReferenceModelImpl.java
License:Open Source License
@JSON @Override//from w ww.j a v a 2 s . c o m public String getDisordermappingrelationname() { if (_disordermappingrelationname == null) { return StringPool.BLANK; } else { return _disordermappingrelationname; } }
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.OrphanetReferenceModelImpl.java
License:Open Source License
@JSON @Override//from w w w. j a v a 2 s. c o m public String getDisordermappingicdrelationname() { if (_disordermappingicdrelationname == null) { return StringPool.BLANK; } else { return _disordermappingicdrelationname; } }
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.OrphanetReferenceModelImpl.java
License:Open Source License
@JSON @Override// www . j a v a 2 s .com public String getDisordermappingvalidationstatusname() { if (_disordermappingvalidationstatusname == null) { return StringPool.BLANK; } else { return _disordermappingvalidationstatusname; } }