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.hmmc.liferay.portlet.puch.model.impl.ParameterConfigurationModelImpl.java

License:Open Source License

@Override
public String getEditscript() {
    if (_editscript == null) {
        return StringPool.BLANK;
    } else {//from  w w w .jav  a 2  s  . com
        return _editscript;
    }
}

From source file:at.graz.hmmc.liferay.portlet.puch.model.impl.ParameterConfigurationModelImpl.java

License:Open Source License

@Override
public String getEdittip() {
    if (_edittip == null) {
        return StringPool.BLANK;
    } else {//from w  w  w. ja v a2 s  . com
        return _edittip;
    }
}

From source file:at.graz.hmmc.liferay.portlet.puch.model.impl.ParameterConfigurationModelImpl.java

License:Open Source License

@Override
public String getEdittitlecss() {
    if (_edittitlecss == null) {
        return StringPool.BLANK;
    } else {/*from  w  ww . jav a2  s . c  o  m*/
        return _edittitlecss;
    }
}

From source file:at.graz.hmmc.liferay.portlet.puch.model.impl.ParameterConfigurationModelImpl.java

License:Open Source License

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

From source file:at.graz.hmmc.liferay.portlet.puch.model.impl.ParameterConfigurationModelImpl.java

License:Open Source License

@Override
public String getEditcss() {
    if (_editcss == null) {
        return StringPool.BLANK;
    } else {/*from   w  w w .j  a v  a 2s.  com*/
        return _editcss;
    }
}

From source file:at.graz.hmmc.liferay.portlet.puch.model.impl.ParameterOptionsConfigurationCacheModel.java

License:Open Source License

@Override
public ParameterOptionsConfiguration toEntityModel() {
    ParameterOptionsConfigurationImpl parameterOptionsConfigurationImpl = new ParameterOptionsConfigurationImpl();

    parameterOptionsConfigurationImpl.setParameteroptionsconfigurationId(parameteroptionsconfigurationId);
    parameterOptionsConfigurationImpl.setParameterconfigurationId(parameterconfigurationId);

    if (optionkey == null) {
        parameterOptionsConfigurationImpl.setOptionkey(StringPool.BLANK);
    } else {//from  w  ww  .jav a2s .c o m
        parameterOptionsConfigurationImpl.setOptionkey(optionkey);
    }

    if (optionvalue == null) {
        parameterOptionsConfigurationImpl.setOptionvalue(StringPool.BLANK);
    } else {
        parameterOptionsConfigurationImpl.setOptionvalue(optionvalue);
    }

    parameterOptionsConfigurationImpl.resetOriginalValues();

    return parameterOptionsConfigurationImpl;
}

From source file:at.graz.hmmc.liferay.portlet.puch.model.impl.ParameterOptionsConfigurationCacheModel.java

License:Open Source License

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

    if (optionkey == null) {
        objectOutput.writeUTF(StringPool.BLANK);
    } else {/*from   w ww. j a v a2  s  .c  o m*/
        objectOutput.writeUTF(optionkey);
    }

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

From source file:at.graz.hmmc.liferay.portlet.puch.model.impl.PersonCacheModel.java

License:Open Source License

@Override
public Person toEntityModel() {
    PersonImpl personImpl = new PersonImpl();

    personImpl.setPersonId(personId);// www.  ja v  a 2  s  .c  o  m
    personImpl.setCreaterUserId(createrUserId);

    if (createDate == Long.MIN_VALUE) {
        personImpl.setCreateDate(null);
    } else {
        personImpl.setCreateDate(new Date(createDate));
    }

    personImpl.setModifiedUserId(modifiedUserId);

    if (modifiedDate == Long.MIN_VALUE) {
        personImpl.setModifiedDate(null);
    } else {
        personImpl.setModifiedDate(new Date(modifiedDate));
    }

    if (vorname == null) {
        personImpl.setVorname(StringPool.BLANK);
    } else {
        personImpl.setVorname(vorname);
    }

    personImpl.resetOriginalValues();

    return personImpl;
}

From source file:at.graz.hmmc.liferay.portlet.puch.model.impl.PersonCacheModel.java

License:Open Source License

@Override
public void writeExternal(ObjectOutput objectOutput) throws IOException {
    objectOutput.writeLong(personId);/*from  www. ja v  a 2  s  .  c  o  m*/
    objectOutput.writeLong(createrUserId);
    objectOutput.writeLong(createDate);
    objectOutput.writeLong(modifiedUserId);
    objectOutput.writeLong(modifiedDate);

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

From source file:at.graz.hmmc.liferay.portlet.puch.model.impl.PersonModelImpl.java

License:Open Source License

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