protected RequestStatus deleteResourcesAuthorized(Predicate predicate)
throws SystemException, UnsupportedPropertyException,
NoSuchResourceException, NoSuchParentResourceException {
throw new SystemException("Cannot delete Version Definitions");
}
<BUG>private void checkForParent(XmlHolder holder, RepositoryVersionEntity entity) throws AmbariException {
if (entity.getType() != RepositoryType.PATCH) {</BUG>
return;
}
List<RepositoryVersionEntity> entities = s_repoVersionDAO.findByStack(entity.getStackId());

protected RequestStatus deleteResourcesAuthorized(Predicate predicate)
throws SystemException, UnsupportedPropertyException,
NoSuchResourceException, NoSuchParentResourceException {
throw new SystemException("Cannot delete Version Definitions");
}
private void checkForParent(XmlHolder holder) throws AmbariException {
RepositoryVersionEntity entity = holder.entity;
if (entity.getType() != RepositoryType.PATCH) {
return;
}
List<RepositoryVersionEntity> entities = s_repoVersionDAO.findByStack(entity.getStackId());
