@@ -42,6 +42,51 @@ public interface TagDataPersistence extends BasePersistence<TagData> {
* Never modify or reference this interface directly. Always use {@link TagDataUtil} to access the tag data persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
*/
/**
* Returns the tag data where Tag = ? or throws a {@link NoSuchTagDataException} if it could not be found.
*
* @param Tag the tag
* @return the matching tag data
* @throws NoSuchTagDataException if a matching tag data could not be found
*/
publicTagDatafindByTagName(java.lang.StringTag)
throwsNoSuchTagDataException;
/**
* Returns the tag data where Tag = ? or returns <code>null</code> if it could not be found. Uses the finder cache.
*
* @param Tag the tag
* @return the matching tag data, or <code>null</code> if a matching tag data could not be found
*/
publicTagDatafetchByTagName(java.lang.StringTag);
/**
* Returns the tag data where Tag = ? or returns <code>null</code> if it could not be found, optionally using the finder cache.
*
* @param Tag the tag
* @param retrieveFromCache whether to retrieve from the finder cache
* @return the matching tag data, or <code>null</code> if a matching tag data could not be found
*/
publicTagDatafetchByTagName(java.lang.StringTag,
booleanretrieveFromCache);
/**
* Removes the tag data where Tag = ? from the database.
*
* @param Tag the tag
* @return the tag data that was removed
*/
publicTagDataremoveByTagName(java.lang.StringTag)
throwsNoSuchTagDataException;
/**
* Returns the number of tag datas where Tag = ?.
*
* @param Tag the tag
* @return the number of matching tag datas
*/
publicintcountByTagName(java.lang.StringTag);
/**
* Caches the tag data in the entity cache if it is enabled.
"TagDataPersistenceImpl.fetchByTagName(String, boolean) with parameters ("+
StringUtil.merge(finderArgs)+
") yields a result set with more than 1 result. This violates the logical unique restriction. There is no order guarantee on which result is returned by this finder.");