Example usage for com.liferay.portal.kernel.search IndexableType REINDEX

List of usage examples for com.liferay.portal.kernel.search IndexableType REINDEX

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.search IndexableType REINDEX.

Prototype

IndexableType REINDEX

To view the source code for com.liferay.portal.kernel.search IndexableType REINDEX.

Click Source Link

Usage

From source file:at.bibbox.reactjsservice.service.base.ToolInformationLocalServiceBaseImpl.java

License:Open Source License

/**
 * Adds the tool information to the database. Also notifies the appropriate model listeners.
 *
 * @param toolInformation the tool information
 * @return the tool information that was added
 * @throws SystemException if a system exception occurred
 */// w w  w. j av  a2  s .com
@Indexable(type = IndexableType.REINDEX)
@Override
public ToolInformation addToolInformation(ToolInformation toolInformation) throws SystemException {
    toolInformation.setNew(true);

    return toolInformationPersistence.update(toolInformation);
}

From source file:at.bibbox.reactjsservice.service.base.ToolInformationLocalServiceBaseImpl.java

License:Open Source License

/**
 * Updates the tool information in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
 *
 * @param toolInformation the tool information
 * @return the tool information that was updated
 * @throws SystemException if a system exception occurred
 */// ww w .ja  va 2 s . com
@Indexable(type = IndexableType.REINDEX)
@Override
public ToolInformation updateToolInformation(ToolInformation toolInformation) throws SystemException {
    return toolInformationPersistence.update(toolInformation);
}

From source file:at.graz.hmmc.liferay.portlet.puch.service.base.ConfigurationLocalServiceBaseImpl.java

License:Open Source License

/**
 * Adds the configuration to the database. Also notifies the appropriate model listeners.
 *
 * @param configuration the configuration
 * @return the configuration that was added
 * @throws SystemException if a system exception occurred
 *///from  www. ja v  a  2 s. c  om
@Indexable(type = IndexableType.REINDEX)
@Override
public Configuration addConfiguration(Configuration configuration) throws SystemException {
    configuration.setNew(true);

    return configurationPersistence.update(configuration);
}

From source file:at.graz.hmmc.liferay.portlet.puch.service.base.ConfigurationLocalServiceBaseImpl.java

License:Open Source License

/**
 * Updates the configuration in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
 *
 * @param configuration the configuration
 * @return the configuration that was updated
 * @throws SystemException if a system exception occurred
 *///from w  ww.j a  v  a2s  . c om
@Indexable(type = IndexableType.REINDEX)
@Override
public Configuration updateConfiguration(Configuration configuration) throws SystemException {
    return configurationPersistence.update(configuration);
}

From source file:at.graz.hmmc.liferay.portlet.puch.service.base.FahrzeugLocalServiceBaseImpl.java

License:Open Source License

/**
 * Adds the fahrzeug to the database. Also notifies the appropriate model listeners.
 *
 * @param fahrzeug the fahrzeug//  ww w  . j  a  va  2  s. com
 * @return the fahrzeug that was added
 * @throws SystemException if a system exception occurred
 */
@Indexable(type = IndexableType.REINDEX)
@Override
public Fahrzeug addFahrzeug(Fahrzeug fahrzeug) throws SystemException {
    fahrzeug.setNew(true);

    return fahrzeugPersistence.update(fahrzeug);
}

From source file:at.graz.hmmc.liferay.portlet.puch.service.base.FahrzeugLocalServiceBaseImpl.java

License:Open Source License

/**
 * Updates the fahrzeug in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
 *
 * @param fahrzeug the fahrzeug//from  w  w w  .j  a v a2s . c  o  m
 * @return the fahrzeug that was updated
 * @throws SystemException if a system exception occurred
 */
@Indexable(type = IndexableType.REINDEX)
@Override
public Fahrzeug updateFahrzeug(Fahrzeug fahrzeug) throws SystemException {
    return fahrzeugPersistence.update(fahrzeug);
}

From source file:at.graz.hmmc.liferay.portlet.puch.service.base.ObjectDataLocalServiceBaseImpl.java

License:Open Source License

/**
 * Adds the object data to the database. Also notifies the appropriate model listeners.
 *
 * @param objectData the object data/*  w  ww  .  ja v  a 2  s .c  om*/
 * @return the object data that was added
 * @throws SystemException if a system exception occurred
 */
@Indexable(type = IndexableType.REINDEX)
@Override
public ObjectData addObjectData(ObjectData objectData) throws SystemException {
    objectData.setNew(true);

    return objectDataPersistence.update(objectData);
}

From source file:at.graz.hmmc.liferay.portlet.puch.service.base.ObjectDataLocalServiceBaseImpl.java

License:Open Source License

/**
 * Updates the object data in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
 *
 * @param objectData the object data//from w  w  w .  jav  a2 s.co  m
 * @return the object data that was updated
 * @throws SystemException if a system exception occurred
 */
@Indexable(type = IndexableType.REINDEX)
@Override
public ObjectData updateObjectData(ObjectData objectData) throws SystemException {
    return objectDataPersistence.update(objectData);
}

From source file:at.graz.hmmc.liferay.portlet.puch.service.base.ObjectImageLocalServiceBaseImpl.java

License:Open Source License

/**
 * Adds the object image to the database. Also notifies the appropriate model listeners.
 *
 * @param objectImage the object image/*w  w w .  ja  va  2 s  . c  o m*/
 * @return the object image that was added
 * @throws SystemException if a system exception occurred
 */
@Indexable(type = IndexableType.REINDEX)
@Override
public ObjectImage addObjectImage(ObjectImage objectImage) throws SystemException {
    objectImage.setNew(true);

    return objectImagePersistence.update(objectImage);
}

From source file:at.graz.hmmc.liferay.portlet.puch.service.base.ObjectImageLocalServiceBaseImpl.java

License:Open Source License

/**
 * Updates the object image in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
 *
 * @param objectImage the object image/*from w  w  w.  j a  v a 2  s  .  c  o  m*/
 * @return the object image that was updated
 * @throws SystemException if a system exception occurred
 */
@Indexable(type = IndexableType.REINDEX)
@Override
public ObjectImage updateObjectImage(ObjectImage objectImage) throws SystemException {
    return objectImagePersistence.update(objectImage);
}