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.GeneReferenceCacheModel.java
License:Open Source License
@Override public GeneReference toEntityModel() { GeneReferenceImpl geneReferenceImpl = new GeneReferenceImpl(); geneReferenceImpl.setGenereferenceId(genereferenceId); geneReferenceImpl.setGeneId(geneId); if (source == null) { geneReferenceImpl.setSource(StringPool.BLANK); } else {// ww w . j ava 2s .c o m geneReferenceImpl.setSource(source); } if (reference == null) { geneReferenceImpl.setReference(StringPool.BLANK); } else { geneReferenceImpl.setReference(reference); } geneReferenceImpl.resetOriginalValues(); return geneReferenceImpl; }
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.GeneReferenceCacheModel.java
License:Open Source License
@Override public void writeExternal(ObjectOutput objectOutput) throws IOException { objectOutput.writeLong(genereferenceId); objectOutput.writeLong(geneId);//w w w . j a v a 2 s. c om if (source == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(source); } if (reference == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(reference); } }
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.GeneReferenceModelImpl.java
License:Open Source License
@JSON @Override/*w ww . ja v a 2s . co m*/ public String getSource() { if (_source == null) { return StringPool.BLANK; } else { return _source; } }
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.GeneReferenceModelImpl.java
License:Open Source License
@JSON @Override/*from ww w.j a va 2 s.c o m*/ public String getReference() { if (_reference == null) { return StringPool.BLANK; } else { return _reference; } }
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.GeneSynonymCacheModel.java
License:Open Source License
@Override public GeneSynonym toEntityModel() { GeneSynonymImpl geneSynonymImpl = new GeneSynonymImpl(); geneSynonymImpl.setGenesynonymId(genesynonymId); geneSynonymImpl.setGeneId(geneId);/*from ww w . ja va2 s . c om*/ if (synonym == null) { geneSynonymImpl.setSynonym(StringPool.BLANK); } else { geneSynonymImpl.setSynonym(synonym); } geneSynonymImpl.resetOriginalValues(); return geneSynonymImpl; }
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.GeneSynonymCacheModel.java
License:Open Source License
@Override public void writeExternal(ObjectOutput objectOutput) throws IOException { objectOutput.writeLong(genesynonymId); objectOutput.writeLong(geneId);//from w w w. j av a 2 s . c o m if (synonym == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(synonym); } }
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.IconConfigurationCacheModel.java
License:Open Source License
@Override public IconConfiguration toEntityModel() { IconConfigurationImpl iconConfigurationImpl = new IconConfigurationImpl(); iconConfigurationImpl.setIconconfigurationId(iconconfigurationId); iconConfigurationImpl.setSymbolconfigurationId(symbolconfigurationId); if (position == null) { iconConfigurationImpl.setPosition(StringPool.BLANK); } else {/*from w w w. j a v a 2s. co m*/ iconConfigurationImpl.setPosition(position); } if (key == null) { iconConfigurationImpl.setKey(StringPool.BLANK); } else { iconConfigurationImpl.setKey(key); } iconConfigurationImpl.setIconsId(iconsId); if (elementcolor == null) { iconConfigurationImpl.setElementcolor(StringPool.BLANK); } else { iconConfigurationImpl.setElementcolor(elementcolor); } if (width == null) { iconConfigurationImpl.setWidth(StringPool.BLANK); } else { iconConfigurationImpl.setWidth(width); } if (height == null) { iconConfigurationImpl.setHeight(StringPool.BLANK); } else { iconConfigurationImpl.setHeight(height); } iconConfigurationImpl.resetOriginalValues(); return iconConfigurationImpl; }
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.IconConfigurationCacheModel.java
License:Open Source License
@Override public void writeExternal(ObjectOutput objectOutput) throws IOException { objectOutput.writeLong(iconconfigurationId); objectOutput.writeLong(symbolconfigurationId); if (position == null) { objectOutput.writeUTF(StringPool.BLANK); } else {/*from w w w. j a va2s .com*/ objectOutput.writeUTF(position); } if (key == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(key); } objectOutput.writeLong(iconsId); if (elementcolor == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(elementcolor); } if (width == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(width); } if (height == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(height); } }
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.IconConfigurationModelImpl.java
License:Open Source License
@JSON @Override/*from ww w . j a v a 2 s . c o m*/ public String getPosition() { if (_position == null) { return StringPool.BLANK; } else { return _position; } }
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.IconConfigurationModelImpl.java
License:Open Source License
@JSON @Override/*ww w.j a v a 2s . com*/ public String getKey() { if (_key == null) { return StringPool.BLANK; } else { return _key; } }