List of usage examples for com.liferay.portal.kernel.util StringPool CLOSE_CURLY_BRACE
String CLOSE_CURLY_BRACE
To view the source code for com.liferay.portal.kernel.util StringPool CLOSE_CURLY_BRACE.
Click Source Link
From source file:at.bibbox.reactjsservice.service.persistence.ToolInformationPersistenceImpl.java
License:Open Source License
/** * Returns the first tool information in the ordered set where category = ?. * * @param category the category// w w w . j ava 2s .c o m * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching tool information * @throws at.bibbox.reactjsservice.NoSuchToolInformationException if a matching tool information could not be found * @throws SystemException if a system exception occurred */ @Override public ToolInformation findByCategory_First(String category, OrderByComparator orderByComparator) throws NoSuchToolInformationException, SystemException { ToolInformation toolInformation = fetchByCategory_First(category, orderByComparator); if (toolInformation != null) { return toolInformation; } StringBundler msg = new StringBundler(4); msg.append(_NO_SUCH_ENTITY_WITH_KEY); msg.append("category="); msg.append(category); msg.append(StringPool.CLOSE_CURLY_BRACE); throw new NoSuchToolInformationException(msg.toString()); }
From source file:at.bibbox.reactjsservice.service.persistence.ToolInformationPersistenceImpl.java
License:Open Source License
/** * Returns the last tool information in the ordered set where category = ?. * * @param category the category//from w w w. jav a 2s . com * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching tool information * @throws at.bibbox.reactjsservice.NoSuchToolInformationException if a matching tool information could not be found * @throws SystemException if a system exception occurred */ @Override public ToolInformation findByCategory_Last(String category, OrderByComparator orderByComparator) throws NoSuchToolInformationException, SystemException { ToolInformation toolInformation = fetchByCategory_Last(category, orderByComparator); if (toolInformation != null) { return toolInformation; } StringBundler msg = new StringBundler(4); msg.append(_NO_SUCH_ENTITY_WITH_KEY); msg.append("category="); msg.append(category); msg.append(StringPool.CLOSE_CURLY_BRACE); throw new NoSuchToolInformationException(msg.toString()); }
From source file:at.graz.hmmc.liferay.portlet.puch.service.persistence.ConfigurationPersistenceImpl.java
License:Open Source License
/** * Returns the configuration where scope = ? and optionkey = ? or throws a {@link at.graz.hmmc.liferay.portlet.puch.NoSuchConfigurationException} if it could not be found. * * @param scope the scope/*from w w w . j a va 2s . com*/ * @param optionkey the optionkey * @return the matching configuration * @throws at.graz.hmmc.liferay.portlet.puch.NoSuchConfigurationException if a matching configuration could not be found * @throws SystemException if a system exception occurred */ @Override public Configuration findByoptionFinder(String scope, String optionkey) throws NoSuchConfigurationException, SystemException { Configuration configuration = fetchByoptionFinder(scope, optionkey); if (configuration == null) { StringBundler msg = new StringBundler(6); msg.append(_NO_SUCH_ENTITY_WITH_KEY); msg.append("scope="); msg.append(scope); msg.append(", optionkey="); msg.append(optionkey); msg.append(StringPool.CLOSE_CURLY_BRACE); if (_log.isWarnEnabled()) { _log.warn(msg.toString()); } throw new NoSuchConfigurationException(msg.toString()); } return configuration; }
From source file:at.graz.hmmc.liferay.portlet.puch.service.persistence.ConfigurationPersistenceImpl.java
License:Open Source License
/** * Returns the configuration where scope = ? and optionvalue = ? or throws a {@link at.graz.hmmc.liferay.portlet.puch.NoSuchConfigurationException} if it could not be found. * * @param scope the scope//from w w w .ja v a 2 s. c o m * @param optionvalue the optionvalue * @return the matching configuration * @throws at.graz.hmmc.liferay.portlet.puch.NoSuchConfigurationException if a matching configuration could not be found * @throws SystemException if a system exception occurred */ @Override public Configuration findByoptionsFinderValue(String scope, String optionvalue) throws NoSuchConfigurationException, SystemException { Configuration configuration = fetchByoptionsFinderValue(scope, optionvalue); if (configuration == null) { StringBundler msg = new StringBundler(6); msg.append(_NO_SUCH_ENTITY_WITH_KEY); msg.append("scope="); msg.append(scope); msg.append(", optionvalue="); msg.append(optionvalue); msg.append(StringPool.CLOSE_CURLY_BRACE); if (_log.isWarnEnabled()) { _log.warn(msg.toString()); } throw new NoSuchConfigurationException(msg.toString()); } return configuration; }
From source file:at.graz.hmmc.liferay.portlet.puch.service.persistence.ConfigurationPersistenceImpl.java
License:Open Source License
/** * Returns the first configuration in the ordered set where scope = ? and optionkey = ?. * * @param scope the scope/*from w w w . j a v a2s .com*/ * @param optionkey the optionkey * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching configuration * @throws at.graz.hmmc.liferay.portlet.puch.NoSuchConfigurationException if a matching configuration could not be found * @throws SystemException if a system exception occurred */ @Override public Configuration findByoptionsFinderKey_First(String scope, String optionkey, OrderByComparator orderByComparator) throws NoSuchConfigurationException, SystemException { Configuration configuration = fetchByoptionsFinderKey_First(scope, optionkey, orderByComparator); if (configuration != null) { return configuration; } StringBundler msg = new StringBundler(6); msg.append(_NO_SUCH_ENTITY_WITH_KEY); msg.append("scope="); msg.append(scope); msg.append(", optionkey="); msg.append(optionkey); msg.append(StringPool.CLOSE_CURLY_BRACE); throw new NoSuchConfigurationException(msg.toString()); }
From source file:at.graz.hmmc.liferay.portlet.puch.service.persistence.ConfigurationPersistenceImpl.java
License:Open Source License
/** * Returns the last configuration in the ordered set where scope = ? and optionkey = ?. * * @param scope the scope//from ww w . ja va2s .c om * @param optionkey the optionkey * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching configuration * @throws at.graz.hmmc.liferay.portlet.puch.NoSuchConfigurationException if a matching configuration could not be found * @throws SystemException if a system exception occurred */ @Override public Configuration findByoptionsFinderKey_Last(String scope, String optionkey, OrderByComparator orderByComparator) throws NoSuchConfigurationException, SystemException { Configuration configuration = fetchByoptionsFinderKey_Last(scope, optionkey, orderByComparator); if (configuration != null) { return configuration; } StringBundler msg = new StringBundler(6); msg.append(_NO_SUCH_ENTITY_WITH_KEY); msg.append("scope="); msg.append(scope); msg.append(", optionkey="); msg.append(optionkey); msg.append(StringPool.CLOSE_CURLY_BRACE); throw new NoSuchConfigurationException(msg.toString()); }
From source file:at.graz.hmmc.liferay.portlet.puch.service.persistence.ConfigurationPersistenceImpl.java
License:Open Source License
/** * Returns the first configuration in the ordered set where scope = ?. * * @param scope the scope// www . j a v a2 s. c o m * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching configuration * @throws at.graz.hmmc.liferay.portlet.puch.NoSuchConfigurationException if a matching configuration could not be found * @throws SystemException if a system exception occurred */ @Override public Configuration findByoptionsFinder_First(String scope, OrderByComparator orderByComparator) throws NoSuchConfigurationException, SystemException { Configuration configuration = fetchByoptionsFinder_First(scope, orderByComparator); if (configuration != null) { return configuration; } StringBundler msg = new StringBundler(4); msg.append(_NO_SUCH_ENTITY_WITH_KEY); msg.append("scope="); msg.append(scope); msg.append(StringPool.CLOSE_CURLY_BRACE); throw new NoSuchConfigurationException(msg.toString()); }
From source file:at.graz.hmmc.liferay.portlet.puch.service.persistence.ConfigurationPersistenceImpl.java
License:Open Source License
/** * Returns the last configuration in the ordered set where scope = ?. * * @param scope the scope/*from w w w.j a v a 2 s .c om*/ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching configuration * @throws at.graz.hmmc.liferay.portlet.puch.NoSuchConfigurationException if a matching configuration could not be found * @throws SystemException if a system exception occurred */ @Override public Configuration findByoptionsFinder_Last(String scope, OrderByComparator orderByComparator) throws NoSuchConfigurationException, SystemException { Configuration configuration = fetchByoptionsFinder_Last(scope, orderByComparator); if (configuration != null) { return configuration; } StringBundler msg = new StringBundler(4); msg.append(_NO_SUCH_ENTITY_WITH_KEY); msg.append("scope="); msg.append(scope); msg.append(StringPool.CLOSE_CURLY_BRACE); throw new NoSuchConfigurationException(msg.toString()); }
From source file:at.graz.hmmc.liferay.portlet.puch.service.persistence.ConfigurationPersistenceImpl.java
License:Open Source License
/** * Returns the first configuration in the ordered set where optionkey = ?. * * @param optionkey the optionkey//from w ww . j av a 2 s. c o m * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the first matching configuration * @throws at.graz.hmmc.liferay.portlet.puch.NoSuchConfigurationException if a matching configuration could not be found * @throws SystemException if a system exception occurred */ @Override public Configuration findByOptionsFinderForKey_First(String optionkey, OrderByComparator orderByComparator) throws NoSuchConfigurationException, SystemException { Configuration configuration = fetchByOptionsFinderForKey_First(optionkey, orderByComparator); if (configuration != null) { return configuration; } StringBundler msg = new StringBundler(4); msg.append(_NO_SUCH_ENTITY_WITH_KEY); msg.append("optionkey="); msg.append(optionkey); msg.append(StringPool.CLOSE_CURLY_BRACE); throw new NoSuchConfigurationException(msg.toString()); }
From source file:at.graz.hmmc.liferay.portlet.puch.service.persistence.ConfigurationPersistenceImpl.java
License:Open Source License
/** * Returns the last configuration in the ordered set where optionkey = ?. * * @param optionkey the optionkey/*from w w w. j a va2s . c o m*/ * @param orderByComparator the comparator to order the set by (optionally <code>null</code>) * @return the last matching configuration * @throws at.graz.hmmc.liferay.portlet.puch.NoSuchConfigurationException if a matching configuration could not be found * @throws SystemException if a system exception occurred */ @Override public Configuration findByOptionsFinderForKey_Last(String optionkey, OrderByComparator orderByComparator) throws NoSuchConfigurationException, SystemException { Configuration configuration = fetchByOptionsFinderForKey_Last(optionkey, orderByComparator); if (configuration != null) { return configuration; } StringBundler msg = new StringBundler(4); msg.append(_NO_SUCH_ENTITY_WITH_KEY); msg.append("optionkey="); msg.append(optionkey); msg.append(StringPool.CLOSE_CURLY_BRACE); throw new NoSuchConfigurationException(msg.toString()); }