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.graz.meduni.liferay.portlet.bibbox.service.model.impl.GeneralInformationModelImpl.java

License:Open Source License

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

From source file:at.graz.meduni.liferay.portlet.bibbox.service.model.impl.GeneralInformationModelImpl.java

License:Open Source License

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

From source file:at.graz.meduni.liferay.portlet.bibbox.service.model.impl.GeneralInformationModelImpl.java

License:Open Source License

@Override
public String getTheregistrybiobanksislistedinotherinventoriesnetworks() {
    if (_theregistrybiobanksislistedinotherinventoriesnetworks == null) {
        return StringPool.BLANK;
    } else {/*from ww w  . j  ava  2  s  .  co m*/
        return _theregistrybiobanksislistedinotherinventoriesnetworks;
    }
}

From source file:at.graz.meduni.liferay.portlet.bibbox.service.model.impl.idcardCacheModel.java

License:Open Source License

@Override
public idcard toEntityModel() {
    idcardImpl idcardImpl = new idcardImpl();

    idcardImpl.setIdcardId(idcardId);/*from ww  w.j ava 2s.  c o  m*/
    idcardImpl.setUserId(userId);

    if (userip == null) {
        idcardImpl.setUserip(StringPool.BLANK);
    } else {
        idcardImpl.setUserip(userip);
    }

    if (logmsg == null) {
        idcardImpl.setLogmsg(StringPool.BLANK);
    } else {
        idcardImpl.setLogmsg(logmsg);
    }

    if (date == Long.MIN_VALUE) {
        idcardImpl.setDate(null);
    } else {
        idcardImpl.setDate(new Date(date));
    }

    idcardImpl.resetOriginalValues();

    return idcardImpl;
}

From source file:at.graz.meduni.liferay.portlet.bibbox.service.model.impl.idcardCacheModel.java

License:Open Source License

@Override
public void writeExternal(ObjectOutput objectOutput) throws IOException {
    objectOutput.writeLong(idcardId);//  w  w  w  .  ja  v a2  s . com
    objectOutput.writeLong(userId);

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

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

    objectOutput.writeLong(date);
}

From source file:at.graz.meduni.liferay.portlet.bibbox.service.model.impl.idcardModelImpl.java

License:Open Source License

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

From source file:at.graz.meduni.liferay.portlet.bibbox.service.model.impl.idcardModelImpl.java

License:Open Source License

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

From source file:at.graz.meduni.liferay.portlet.bibbox.service.model.impl.ImporterConfigCacheModel.java

License:Open Source License

@Override
public ImporterConfig toEntityModel() {
    ImporterConfigImpl importerConfigImpl = new ImporterConfigImpl();

    importerConfigImpl.setImporterconfigId(importerconfigId);

    if (scope == null) {
        importerConfigImpl.setScope(StringPool.BLANK);
    } else {/*from   w  w w .j  ava2 s  .c  o  m*/
        importerConfigImpl.setScope(scope);
    }

    if (elementId == null) {
        importerConfigImpl.setElementId(StringPool.BLANK);
    } else {
        importerConfigImpl.setElementId(elementId);
    }

    if (elementvalue == null) {
        importerConfigImpl.setElementvalue(StringPool.BLANK);
    } else {
        importerConfigImpl.setElementvalue(elementvalue);
    }

    importerConfigImpl.resetOriginalValues();

    return importerConfigImpl;
}

From source file:at.graz.meduni.liferay.portlet.bibbox.service.model.impl.ImporterConfigCacheModel.java

License:Open Source License

@Override
public void writeExternal(ObjectOutput objectOutput) throws IOException {
    objectOutput.writeLong(importerconfigId);

    if (scope == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {/*from   ww w.j  a  va2  s . com*/
        objectOutput.writeUTF(scope);
    }

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

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

From source file:at.graz.meduni.liferay.portlet.bibbox.service.model.impl.ImporterConfigModelImpl.java

License:Open Source License

@JSON
@Override/*from w  ww .j a va  2  s .  co m*/
public String getElementId() {
    if (_elementId == null) {
        return StringPool.BLANK;
    } else {
        return _elementId;
    }
}