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.bibbox.liferay.portlet.model.impl.ApplicationInstanceContainerCacheModel.java

License:Open Source License

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

    objectOutput.writeLong(groupId);/* ww w  .  j  ava2  s .co m*/

    objectOutput.writeLong(companyId);

    objectOutput.writeLong(userId);

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

    objectOutput.writeLong(createDate);
    objectOutput.writeLong(modifiedDate);

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

    objectOutput.writeBoolean(needrunning);

    objectOutput.writeBoolean(running);

    objectOutput.writeLong(applicationInstanceId);
}

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

License:Open Source License

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

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

License:Open Source License

@JSON
@Override/*from w  w  w.  j a  va  2 s. c o m*/
public String getContainerName() {
    if (_containerName == null) {
        return StringPool.BLANK;
    } else {
        return _containerName;
    }
}

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

License:Open Source License

@JSON
@Override//from   www .j  av  a 2s . c  o m
public String getInstanceId() {
    if (_instanceId == null) {
        return StringPool.BLANK;
    } else {
        return _instanceId;
    }
}

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

License:Open Source License

@JSON
@Override//ww  w  . j ava  2 s .com
public String getShortName() {
    if (_shortName == null) {
        return StringPool.BLANK;
    } else {
        return _shortName;
    }
}

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

License:Open Source License

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

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

License:Open Source License

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

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

License:Open Source License

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

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

License:Open Source License

@JSON
@Override//from  w w  w.j a v  a  2  s.  co m
public String getStatus() {
    if (_status == null) {
        return StringPool.BLANK;
    } else {
        return _status;
    }
}

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

License:Open Source License

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