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.SymbolTypeConfigurationModelImpl.java
License:Open Source License
@JSON @Override/*from w w w .j a v a2 s. c om*/ public String getTemplate() { if (_template == null) { return StringPool.BLANK; } else { return _template; } }
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.SymbolTypeConfigurationModelImpl.java
License:Open Source License
@JSON @Override//from w w w .j av a 2 s . c o m public String getSymboliconconfiguration() { if (_symboliconconfiguration == null) { return StringPool.BLANK; } else { return _symboliconconfiguration; } }
From source file:at.graz.meduni.liferay.portlet.bibbox.model.impl.SymbolTypeConfigurationModelImpl.java
License:Open Source License
@JSON @Override//from w w w. j av a2 s .co m public String getSymboldiscription() { if (_symboldiscription == null) { return StringPool.BLANK; } else { return _symboldiscription; } }
From source file:at.graz.meduni.liferay.portlet.bibbox.rdconnect.service.model.impl.RDConnectEventCacheModel.java
License:Open Source License
@Override public RDConnectEvent toEntityModel() { RDConnectEventImpl rdConnectEventImpl = new RDConnectEventImpl(); rdConnectEventImpl.setEventId(eventId); if (eventdate == Long.MIN_VALUE) { rdConnectEventImpl.setEventdate(null); } else {//ww w.j a va 2s . c o m rdConnectEventImpl.setEventdate(new Date(eventdate)); } if (eventtype == null) { rdConnectEventImpl.setEventtype(StringPool.BLANK); } else { rdConnectEventImpl.setEventtype(eventtype); } rdConnectEventImpl.setOrganizationId(organizationId); rdConnectEventImpl.setUserId(userId); if (shorttext == null) { rdConnectEventImpl.setShorttext(StringPool.BLANK); } else { rdConnectEventImpl.setShorttext(shorttext); } if (longtext == null) { rdConnectEventImpl.setLongtext(StringPool.BLANK); } else { rdConnectEventImpl.setLongtext(longtext); } if (link == null) { rdConnectEventImpl.setLink(StringPool.BLANK); } else { rdConnectEventImpl.setLink(link); } if (restricted == null) { rdConnectEventImpl.setRestricted(StringPool.BLANK); } else { rdConnectEventImpl.setRestricted(restricted); } rdConnectEventImpl.setNotificationsend(notificationsend); rdConnectEventImpl.resetOriginalValues(); return rdConnectEventImpl; }
From source file:at.graz.meduni.liferay.portlet.bibbox.rdconnect.service.model.impl.RDConnectEventCacheModel.java
License:Open Source License
@Override public void writeExternal(ObjectOutput objectOutput) throws IOException { objectOutput.writeLong(eventId);/* w ww. j a v a 2 s . c om*/ objectOutput.writeLong(eventdate); if (eventtype == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(eventtype); } objectOutput.writeLong(organizationId); objectOutput.writeLong(userId); if (shorttext == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(shorttext); } if (longtext == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(longtext); } if (link == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(link); } if (restricted == null) { objectOutput.writeUTF(StringPool.BLANK); } else { objectOutput.writeUTF(restricted); } objectOutput.writeBoolean(notificationsend); }
From source file:at.graz.meduni.liferay.portlet.bibbox.rdconnect.service.model.impl.RDConnectEventModelImpl.java
License:Open Source License
@Override public String getShorttext() { if (_shorttext == null) { return StringPool.BLANK; } else {// w ww .j av a 2s. co m return _shorttext; } }
From source file:at.graz.meduni.liferay.portlet.bibbox.rdconnect.service.model.impl.RDConnectEventModelImpl.java
License:Open Source License
@Override public String getLongtext() { if (_longtext == null) { return StringPool.BLANK; } else {//w ww. ja v a2 s.c o m return _longtext; } }
From source file:at.graz.meduni.liferay.portlet.bibbox.rdconnect.service.model.impl.RDConnectEventModelImpl.java
License:Open Source License
@Override public String getLink() { if (_link == null) { return StringPool.BLANK; } else {/*from ww w.j ava 2 s. co m*/ return _link; } }
From source file:at.graz.meduni.liferay.portlet.bibbox.rdconnect.service.model.impl.RDConnectEventModelImpl.java
License:Open Source License
@Override public String getRestricted() { if (_restricted == null) { return StringPool.BLANK; } else {// w ww . j a va 2 s.c o m return _restricted; } }
From source file:at.graz.meduni.liferay.portlet.bibbox.rdconnect.service.model.impl.RDConnectEventNotificationCacheModel.java
License:Open Source License
@Override public RDConnectEventNotification toEntityModel() { RDConnectEventNotificationImpl rdConnectEventNotificationImpl = new RDConnectEventNotificationImpl(); rdConnectEventNotificationImpl.setEventnotificationId(eventnotificationId); if (notificationtype == null) { rdConnectEventNotificationImpl.setNotificationtype(StringPool.BLANK); } else {/* w ww. j a v a 2s.c om*/ rdConnectEventNotificationImpl.setNotificationtype(notificationtype); } rdConnectEventNotificationImpl.setUserId(userId); rdConnectEventNotificationImpl.setNotificationselected(notificationselected); rdConnectEventNotificationImpl.resetOriginalValues(); return rdConnectEventNotificationImpl; }